DescriptionUse fast path of mailbox generation in RGVAF::CreateTextures.
This reduces the latency of CreateTextures (8 textures) from around
1000ms to 1ms for HW decode WebRTC on Chromebook Daisy.
GLES2Implementation doesn't currently have the right hook to make
mailbox generation fast, though WebGraphicsContext3DCommandBufferImpl
does. The fast path for mailbox generation only exists in content,
that GLES2Implementation, in gpu, can't directly access. So
GLES2Implementation has to go through command buffers, which is bad
for round-trips.
BUG=170345
TEST=Run http://apprtc.appspot.com/?debug=loopback on Chromebook Daisy.
Play local hardware-accelerated videos on Daisy.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221285
Patch Set 1 : #Patch Set 2 : add comment #Messages
Total messages: 6 (0 generated)
|