WebGL: Direct uploading path for texImage2D with video frame on Windows
Current fast path for webgl uploading video frame is to render YUV planars to a RGBA8 intermediate gl texture, then do gpu to gpu copy to update the dst webgl texture. It is possible to optimize the uploading path by drawing YUV planars to SkSurface backed by dst webgl texture directly. This will save the extra gpu-gpu texture copy. BUG=1108154 Change-Id: I81598aa864337bc6ce944b09e26542c22ec073eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2384337Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Cr-Commit-Position: refs/heads/master@{#805231}
Showing
Please register or sign in to comment