diff options
author | wm4 <wm4@nowhere> | 2017-11-03 15:11:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-03 15:11:56 +0100 |
commit | 5261d1b099edf16712582790085f4d369438dfe5 (patch) | |
tree | bed69f41692667b41514cd60615e05d6fa74b296 /waftools/features.py | |
parent | 4fca1856e15e5294fb127ffd9d9a434ec4a2c2df (diff) | |
download | mpv-5261d1b099edf16712582790085f4d369438dfe5.tar.bz2 mpv-5261d1b099edf16712582790085f4d369438dfe5.tar.xz |
vo_gpu: don't re-render hwdec frames when repeating frames
Repeating frames (for display-sync) is not supposed to render the entire
frame again. When using hardware decoding, it unfortunately did: the
renderer uses the frame ID to check whether the frame data changed, and
unmapping the hwdec frame clears it.
Essentially reverts commit 761eeacf5407cab07. Back then I probably
thought it would be a good idea to release the hwdec image quickly in
order to return it to the decoder, but they're referenced anyway.
This should increase the performance and reduce GPU work.
Diffstat (limited to 'waftools/features.py')
0 files changed, 0 insertions, 0 deletions