commit | 71bfd8eeb2c77504fb944b9867217453fb17229c | [log] [tgz] |
---|---|---|
author | Fady Samuel <fsamuel@chromium.org> | Wed Feb 28 02:20:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 28 02:20:21 2018 |
tree | 55c13c9651548a13294610172a81472efe5f00d0 | |
parent | 837639b937d3d1a084c246258ad1f460e4f0f68e [diff] |
Surface synchronization: Improve guttering SurfaceManager::GetLatestInFlightSurface enforced overly strict ownership in order to embed a newer surface. It waited until a surface was assigned an owner before it deemed it safe to embed that surface at aggregation time. After a brief discussion with security, it seems like maybe we don't need a new nonce and we don't need to validate ownership with every surface creation. Thus, we can avoid waiting for assigning ownership and can embed a surface at aggregation time as a fallback sooner. This results in less gutter. Bug: 672962 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I3bdfd4656ee2ce61e361f7c62539ef049d261382 Reviewed-on: https://chromium-review.googlesource.com/938645 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#539660}
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 .