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

Unified Diff: cc/layers/render_surface_impl.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Fix for comments in patch 4. Created 3 years, 6 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
Index: cc/layers/render_surface_impl.h
diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h
index 39e1d58295d4158d32a2f3fb89f0fe4a66bc597b..1387df9f669b70b31b78531f52c7105588dc8e25 100644
--- a/cc/layers/render_surface_impl.h
+++ b/cc/layers/render_surface_impl.h
@@ -153,11 +153,14 @@ class CC_EXPORT RenderSurfaceImpl {
bool HasCopyRequest() const;
+ bool CacheRenderSurface() const;
+
void ResetPropertyChangedFlags();
bool SurfacePropertyChanged() const;
bool SurfacePropertyChangedOnlyFromDescendant() const;
bool AncestorPropertyChanged() const;
void NoteAncestorPropertyChanged();
+ bool HasDamageFromeContributingContent() const;
DamageTracker* damage_tracker() const { return damage_tracker_.get(); }
gfx::Rect GetDamageRect() const;

Powered by Google App Engine
This is Rietveld 408576698