Chromium Code Reviews
Descriptioncc: De-special-case SurfaceLayer code
Currently, there's a bunch of special casing for surface synchronization
in cc::SurfaceLayer. This makes the code hard to read and reason about.
This CL fixes the issue by unifying the two code paths.
A Surface ID referenced as a fallback is always placed in |referenced_surfaces|,
and a surface ID referenced as a primary surface is added to
|activation_dependencies| if the fallback is valid and does not match the
primary.
This CL allows a single code path by setting both primary and fallback
SurfaceInfos in all callsites.
BUG=672962
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2919373002
Cr-Commit-Position: refs/heads/master@{#477166}
Committed: https://chromium.googlesource.com/chromium/src/+/cc854aa517e80dbb782f0e2a01563103533cb6be
Patch Set 1 #Patch Set 2 : Fix cloning. Simplify references #Patch Set 3 : Fix cc_unittests #
Messages
Total messages: 29 (21 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||