commit | e7893d6e5d30eb750a7205ba199ec1fe83f8eb12 | [log] [tgz] |
---|---|---|
author | Michael Tang <tangm@microsoft.com> | Fri May 31 16:41:36 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 31 16:41:36 2024 |
tree | c994712d866faabd80004ada1cec6d19eb437149 | |
parent | 5c6162e2b1f6e538d6a5f25a222213205380b398 [diff] |
viz: Remove DirectRenderer::current_viewport_size_ Once we remove current_viewport_size_, InitializeViewport ends up just calculating the target_to_device_transform (which is a mapping from render pass to buffer space). We can move this out of UseRenderPass to make UseRenderPass responsible for just render pass backing allocation. We pass the viewport size to BeginDrawingRenderPass to allow implementations to continue to skip the scissor test. Change-Id: Ib784b8d29aa2cf48c49e60ace24ba5d7c798f013 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5584674 Commit-Queue: Michael Tang <tangm@microsoft.com> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1308708}
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.