summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/gl_utils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-08-05 18:59:28 +0200
committerNiklas Haas <git@haasn.xyz>2017-08-06 00:10:20 +0200
commite5748e891f36a740faf39d7f9af799123d0e4388 (patch)
tree76bfd1102400fc199d21c220fc0ef5ff3e81ce7b /video/out/opengl/gl_utils.h
parentf2298f394ec1688e9a02483b15902de24bda403e (diff)
downloadmpv-e5748e891f36a740faf39d7f9af799123d0e4388.tar.bz2
mpv-e5748e891f36a740faf39d7f9af799123d0e4388.tar.xz
vo_opengl: measure pass_draw_osd as a whole
In the past, this always measured the per-shader execution times of the individual OSD parts, which was thrown off because the shader was reused anyway. (And apparently recording the OSD shader execution times was removed completely, probably because of them being so unrealiably anyway) Since ra_timer no longer has the restriction of not allowing timers to run concurrently, we can just wrap the entire OSD block inside a single osd_timer now, and record that. (Technically, this can still be off when using --blend-subtitles=video/yes and showing a full-screen OSD at the same time. Maybe this can be done better?)
Diffstat (limited to 'video/out/opengl/gl_utils.h')
0 files changed, 0 insertions, 0 deletions