commit | b6d0e4eb43481c191e0189025820bea8f87c7049 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Thu Aug 27 01:44:57 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 27 01:44:57 2020 |
tree | 5662ec773133efc5c1928cb42d045625440a69d8 | |
parent | 84ba11143b3252111ce1f6da07e84cd8bd2b7180 [diff] |
gpu: Do not use D3D event query if only video is presented in overlay If only video is being presented in an overlay swap chain, then root surface damage is empty. However, we still enqueue an event query for presentation feedback. This keeps the 3D engine active and consumes power. This CL moves the vsync and presentation feedback logic to the root surface (DirectCompositionChildSurfaceWin) and only enqueues the event query if the root surface damage is non-empty. Bug: 1117214 Change-Id: I7fa205e44010558bd08fe6a0681c783529cd8c0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360323 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#802065}
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.
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.