diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-05 18:20:45 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-08-06 00:10:20 +0200 |
commit | f2298f394ec1688e9a02483b15902de24bda403e (patch) | |
tree | 9a0c4594a5edab8d8cb5c7f4a8d4d8d5f3aa8999 /video/out/opengl/gl_headers.h | |
parent | a680c643ebb124195fb30619a7e37246660fac7e (diff) | |
download | mpv-f2298f394ec1688e9a02483b15902de24bda403e.tar.bz2 mpv-f2298f394ec1688e9a02483b15902de24bda403e.tar.xz |
vo_opengl: move timers to struct ra
In order to prevent code duplication and keep the ra abstraction as
small as possible, `ra` only implements the actual timer queries,
it does not do pooling/averaging of the results. This is instead moved
to a ra-neutral struct timer_pool in utils.c.
Diffstat (limited to 'video/out/opengl/gl_headers.h')
-rw-r--r-- | video/out/opengl/gl_headers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/gl_headers.h b/video/out/opengl/gl_headers.h index 9b9d1a506a..9f479dd42f 100644 --- a/video/out/opengl/gl_headers.h +++ b/video/out/opengl/gl_headers.h @@ -61,9 +61,10 @@ #define GL_TEXTURE_RECTANGLE 0x84F5 -// --- GL 3.3 +// --- GL 3.3 or GL_ARB_timer_query #define GL_TIME_ELAPSED 0x88BF +#define GL_TIMESTAMP 0x8E28 // --- GL 4.3 or GL_ARB_debug_output |