Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: ui/compositor/layer.h

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: First cut propagating LocalSurfaceId when WindowTreeHost requests resize Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index ac7a176477724fa5f758c299bd15fcd074a67e8d..4d417f46a5ae5a87f8c7d4bbffa0ca859b7476a0 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -299,6 +299,12 @@ class COMPOSITOR_EXPORT Layer
const cc::SurfaceInfo& surface_info,
scoped_refptr<cc::SurfaceReferenceFactory> surface_ref);
+ // In the event that the primary surface is not yet available in the
+ // display compositor, the fallback surface will be used.
+ void SetFallbackSurface(
+ const cc::SurfaceInfo& surface_info,
+ scoped_refptr<cc::SurfaceReferenceFactory> surface_ref);
+
bool has_external_content() {
return texture_layer_.get() || surface_layer_.get();
}
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698