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

Unified Diff: cc/layers/render_surface_impl.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Calculate damage of |force_render_surface|. Created 3 years, 7 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 f02f3b74e2733d82b55cb7f4d083781812386e86..567ae2efd5bc4e9f5b58f3fa29f86d19b1487646 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 ForceRenderSurface() const;
+
void ResetPropertyChangedFlags();
bool SurfacePropertyChanged() const;
bool SurfacePropertyChangedOnlyFromDescendant() const;
bool AncestorPropertyChanged() const;
void NoteAncestorPropertyChanged();
+ bool ContributingRenderSurfacePropertyChanged() const;
DamageTracker* damage_tracker() const { return damage_tracker_.get(); }
gfx::Rect GetDamageRect() const;

Powered by Google App Engine
This is Rietveld 408576698