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

Unified Diff: cc/layers/render_surface_impl.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Improve with comment in patch 18. Created 3 years, 5 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 00a40fc052a7fbd07c49c468f33fb66ae20abdd6..308a0f762f18176942e866de34149cd827e43a93 100644
--- a/cc/layers/render_surface_impl.h
+++ b/cc/layers/render_surface_impl.h
@@ -154,11 +154,14 @@ class CC_EXPORT RenderSurfaceImpl {
bool HasCopyRequest() const;
+ bool ShouldCacheRenderSurface() 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