summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vdpau.c
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2016-06-08 11:39:31 +0200
committerwm4 <wm4@nowhere>2016-06-08 22:11:38 +0200
commitff37d7efeca2a53819104039348dfbe39c4aca98 (patch)
tree148e64f210ca031cd0194d7c435cd5b8da1f0336 /video/out/opengl/hwdec_vdpau.c
parent54c48bd80120a3085e6d23f7cf6124b0657436e7 (diff)
downloadmpv-ff37d7efeca2a53819104039348dfbe39c4aca98.tar.bz2
mpv-ff37d7efeca2a53819104039348dfbe39c4aca98.tar.xz
vo_opengl: refactor performance data properties
Instead of having 9 different properties, requiring 18 different VOCTRLs to read them all, they are now exposed as a single property. This is not only cleaner (since they're all together) but also allows querying all 9 of them with only a single VOCTRL (by using mp.get_property_native). (The extra factor of 2 was due to an extra query being needed to get the type, which is now also unnecessary) This makes it much easier to access performance metrics from within a lua script, and also makes it easier to just show a readable, formatted version via show-text.
Diffstat (limited to 'video/out/opengl/hwdec_vdpau.c')
0 files changed, 0 insertions, 0 deletions