commit | 1f37f037fcc5590aa325558aa96d6a6a0b358d92 | [log] [tgz] |
---|---|---|
author | Saifuddin Hitawala <hitawala@chromium.org> | Mon Mar 31 16:58:49 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 31 16:58:49 2025 |
tree | fbb9016cfea5441c18e4f5180ce52f204715fd00 | |
parent | fa6164d25ac64203339d84547db69313388bd875 [diff] |
[viz] Fix fallback texture creation and deletion for Graphite This change fixes fallback textures for Graphite by: - adding RenderAttachment usage needed for wrapping backend textures in an SkSurface as graphite expects it to be renderable - snap and insert recording as some work is now done by the gpu main recorder that must be tracked - setting fallback_context_state needed for deleting fallback textures on destruction - also, in case of multiplanar fallback, move clear to a separate loop in case first plane creation work but second plane creation fails and we destroy textures but first plane had been cleared Also, move FailedYcbcrMismatch condition under graphite block as it is graphite specific. Bug: 383528569 Change-Id: I0659758c71309833304eb1f33965b402fad8347b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6405198 Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Cr-Commit-Position: refs/heads/main@{#1440354}
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.