DescriptionSeparate client surface reference tracking from FrameGenerator.
The logic to track surface references for surface embeddings was built
as part of FrameGenerator. Generalize the logic and remove from
FrameGenerator, creating the class EmbeddedSurfaceTracker.
EmbeddedSurfaceTracker keeps track of surface references from one client
surface to many embedded surfaces. It also handles generating new
references when the client surface changes. Includes unit tests.
This simplifies FrameGenerator and should make it easier to use surface
references in other clients.
BUG=659227
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2610063007
Cr-Commit-Position: refs/heads/master@{#442997}
Committed: https://chromium.googlesource.com/chromium/src/+/d358fb4f2ad43329a2109fde0f84e9ffe4f1feae
Patch Set 1 #Patch Set 2 : Cleanup / rename. #Patch Set 3 : Cleanup tests. #
Total comments: 4
Patch Set 4 : Fixes for comments + update. #
Total comments: 2
Patch Set 5 : Rebase. #
Messages
Total messages: 29 (17 generated)
|