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

Unified Diff: cc/resources/picture.h

Issue 422233008: Re-raster during scale animations for GPU-rasterized layers without text (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 6 years, 4 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 | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 78833d17e9144c0721ec888d216af7e94577d2cb..824288cb124cfb334873a58f8d8887c356ba99b3 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -75,6 +75,8 @@ class CC_EXPORT Picture
bool IsSuitableForGpuRasterization() const;
+ bool HasText() const;
+
// Apply this scale and raster the negated region into the canvas.
// |negated_content_region| specifies the region to be clipped out of the
// raster operation, i.e., the parts of the canvas which will not get drawn
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698