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

Unified Diff: services/gfx/compositor/renderer_state.h

Issue 1775143004: Mozart: Directly associate the renderer with the view tree. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-1
Patch Set: Created 4 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 | « services/gfx/compositor/renderer_impl.cc ('k') | services/gfx/compositor/renderer_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/renderer_state.h
diff --git a/services/gfx/compositor/renderer_state.h b/services/gfx/compositor/renderer_state.h
index 54e688bcbc058988ecbe408a3c415e6206d9123a..d0ca990d6455876bb37e4a4e57114f09434f57f1 100644
--- a/services/gfx/compositor/renderer_state.h
+++ b/services/gfx/compositor/renderer_state.h
@@ -53,6 +53,10 @@ class RendererState {
uint32_t version,
const mojo::Rect& viewport);
+ // Resets the root scene and clears the current frame and cached dependencies.
+ // If different, invalidates the snapshot and returns true.
+ bool ResetRootScene();
+
// The currently composited frame, may be null if none.
const std::shared_ptr<RenderFrame>& frame() { return frame_; }
« no previous file with comments | « services/gfx/compositor/renderer_impl.cc ('k') | services/gfx/compositor/renderer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698