commit | 52ce558f84a5e427172def1047059f134d93be63 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Tue Nov 29 09:08:04 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 29 09:08:04 2022 |
tree | f1813c43b56c1ca45068a559324b7812b3300e9d | |
parent | 82867e462e00ed69c0495eb7ddde28c2558e4713 [diff] |
[GPU] Change GLES2 cmd decoder tests to call BindImage() as in prod gles2_cmd_decoder_unittest.cc invokes GLES2CommandDecoder::BindImage(), passing both true and false for the value of the |can_bind_to_sampler|. In production, |false| is always passed on Mac/Win and |true| is always passed on other platforms. I am currently in the process of hardening this invariant in the code, as it aids in analysis of these codepaths and ensures that we know exactly where the flows that can result in decoders doing lazy binding are occurring. This CL changes gles2_cmd_decoder_unittest.cc to invoke BindImage() as is done in prod on each platform and makes necessary adjustments to test expectations. Note that it looks like parameterization can now be removed entirely from this test file. We leave that as a followup to avoid introducing noise into this CL. Bug: 1323341 Change-Id: I3e06af006153876f39fb2be5e319aedc7fc49566 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4061726 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1076727}
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.