Chromium Code Reviews
DescriptionBuffer returned textures from render to VDA
This is CrOS ARM only hot fix for tearing/out of order frames caused
by render/decode synchronization issues until we understand the
underlying problem (presumably in the driver) better.
The main effect of this change is to add an extra delay of 2 frames
between draw and decode to clearly separate both. We had a similar
hack in Flash when synchronization was broken (then in particular
> 2 was used to achieve sufficient delay). We have a total of 8
PictureBuffers in flight but only need about 4 for smooth playback.
(With this change we are down to 6 which is still sufficient.)
BUG=chromium:225563
TEST=Ran on Daisy with different problematic videos and did not notice problems.
NOTRY=true
Patch Set 1 #Patch Set 2 : Update description as suggested #Patch Set 3 : Increase buffered frames to 2 #Messages
Total messages: 10 (0 generated)
|