commit | 0e277669877398a7afabdd14a779158e944d7779 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Fri May 17 15:41:54 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 17 15:41:54 2024 |
tree | fa75141c13fb8252acb15743cecdfdd19d53e264 | |
parent | 8cfdbdd734d1b7c23a77f398c8a686125219e696 [diff] |
[//gpu] Remove Android CHECK from ToDawnTextureViewFormat() There is currently an Android-specific CHECK() in ToDawnTextureViewFormat() that the format passed in is a true single-planar format. However, this CHECK is neither needed nor valid. On Android in Chromium there are two kinds of "multiplanar sampling": * YCbCr sampling. In this case this function shouldn't be used as the WGPU format to use will always be EXTERNAL. However, the SIF passed in will be RGBA, so the CHECK here doesn't serve to catch this function incorrectly being used in that case. * Software video decode. In this case the SharedImages will be true multiplanar SIs using per-plane sampling, and they are handled on Android the same as on all other platforms. Bug: 40269645, 325863844 Change-Id: I5c8b47db03900c021212d4de8231e642993bce7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5547978 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1302607}
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.