Chromium Code Reviews
DescriptionOptimize webgl texImage2D from YUV video textures.
The current path does a conversion from YUV to an RGBA SkImage, then
paints that to another Skia canvas and does a CopyTexImageCHROMIUM to
the WebGL texture.
We can optimize this by removing the paint to the canvas and doing a
copy directly from the SkImage to the WebGL texture.
BUG=625900
Review-Url: https://codereview.chromium.org/2127053004
Cr-Commit-Position: refs/heads/master@{#406735}
(cherry picked from commit 581d041c9971bb533e2cbd5c57014ee026fb50e6)
Committed: https://chromium.googlesource.com/chromium/src/+/9453c3f083a2f9d777412cf67cbd5feacfc3b87d
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||