commit | 68124658492e220cee1b0ab219ced90ac16ea0d8 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Wed Sep 29 15:10:02 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 29 15:10:02 2021 |
tree | 46d5132b1aea1615b2f5bfaed37a3f8f95d897f9 | |
parent | 92455aa3205b9a17faa6c0f97825c93010cc3538 [diff] |
cc: Reduce the number of occlusion checks in tiling iterators. This patch caches tiling occlusion checks early and passes the boolean around instead of recomputing the occlusion. From cc_perftest's TileManagerPerfTest.RasterTileQueueConstructAndIterate this improves the performance between 5% to 11% (depending on the subtest) This similarly improves the eviction queue tests. Note that inlining the IsTileOccluded seems necessary since otherwise the occlusion construction is actually slower, since the call is done from outside of the tiling class now. R=pdr@chromium.org Change-Id: I3190e7d28c21a9fa486529069cd6c965ada594c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3183026 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#926263}
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.