Descriptioncc: Allow DeferredInitialize to use DelegatingRenderer
Currently DeferredInitialize assumes OutputSurface never has
delegated_rendering capability. With this change, remove this
assumption by always first creating SoftwareRenderer for
OutputSurface with deferred_gl_initialization. Then create
either DelegatingRenderer or GLRenderer depending on
delegated_rendering capability in DeferredInitialize.
With support for DelegatingRenderer and DeferredInititalize,
have to ensure that all GL resources are returned to child
before ReleasGL is called, because ContextProvider is going
away after ReleaseGL. Add a DCHECK for this in
ResourceProvider::CleanUpGLIfNeeded.
New path covered by LayerTreeHostTestDeferredInitialize.
BUG=344087
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272070
Patch Set 1 #
Total comments: 4
Patch Set 2 : DCHECK #
Total comments: 2
Patch Set 3 : no force software #
Total comments: 2
Patch Set 4 : rebase #Patch Set 5 : revert CreateAndSetRenderer changes #Patch Set 6 : Fix test #Patch Set 7 : bring back force_software_renderer #
Total comments: 1
Patch Set 8 : OutputSurface::ReleaseContextProvider #
Total comments: 6
Patch Set 9 : comments #Patch Set 10 : No call to self constructor in initializer #
Total comments: 1
Messages
Total messages: 26 (0 generated)
|