Chromium Code Reviews
Descriptioncc: Register namespace hierarchy after ui::Compositor's SurfaceFactory available
In the future, we'd like to merge Surface client ID registration and
SurfaceFactory creation. SurfaceFactory is tied to an OutputSurface. Thus, we
cannot register a namespace hierarchy relationship until after we create an
OutputSurface for the ui::Compositor. However, we create a new OutputSurface
every time the GPU process is restarted. Thus, we need a mechanism to store
these relationships between clients across GPU restarts.
This is particularly important if the display compositor lives in the same
process GPU and these relationships would be lost. This CL stores the
relationship between DelegatedFrameHost and ui::Compositor in ui::Compositor.
Note that depending on the final shape of the display compositor host API,
we may wish to centralize all hierarchy relationship registration including
OOPIF.
BUG=629940
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel
Committed: https://crrev.com/d03176d916bea43a30b051d826fc4efd011ab866
Cr-Commit-Position: refs/heads/master@{#407770}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Added unit test and addressed comments #
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||