commit | f28e108c5c36cb2903fdb6e555e93100a24a802c | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@google.com> | Thu Apr 25 16:58:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 25 16:58:26 2019 |
tree | 89501d1522c45e69a63ed358550d0479c314cfa3 | |
parent | 24f2746adad71ac54e0f5e4f2795b3d5cd580e45 [diff] |
Fix VideoResourceUpdater to pass correct TransferableResource.format Previously VideoResourceUpdater was setting TransferableResource.format to RGBA_8888 for R_8 and RG_88 textures used for NV12 video frames. This was breaking asserts in Skia when rendering these frames using Vulkan backend. Updated ExternalResourceTypeForHardwarePlanes() to return correct buffer formats for each texture. Bug: 942370 Change-Id: I72c092c8ee0d630b5ebbf2e4920e2e31140c6bdd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582834 Reviewed-by: Frank Liberato <liberato@chromium.org> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#654069}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .