commit | ce4576b1574c88f65248ec337067bb92208114a1 | [log] [tgz] |
---|---|---|
author | Saifuddin Hitawala <hitawala@chromium.org> | Thu Dec 01 02:06:29 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 01 02:06:29 2022 |
tree | 2d19060cc03b8542adc7aa4c0e672a67d735d037 | |
parent | d8dc9835e6aeea63b9026139406e7bfe1c37b8a1 [diff] |
Multiplanar: Add external sampler support to SkiaGLImageRep Currently when creating shared images with legacy multiplanar formats eg. ResourceFormat::YUV_420_BIPLANAR, the planes are passed individually as BufferPlane::Y, UV in which cases there is a shared image per plane. Clients can also pass BufferPlane::DEFAULT in which there is one shared image and it is assumed that client wants to use external sampler for reads. With multiplanar SharedImageFormats, we keep the check for external sampler and accordingly create a single texture for the format. This change adds the missing external sampler support while creating promise textures for SkiaGLImageRepresentation. Bug: 1366481 Change-Id: I054d52cb0691aadafdaca5b2f084836017e7d933 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4062758 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1077764}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.