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

Unified Diff: cc/layers/picture_layer.h

Issue 181063022: cc: Trigger GPU rasterization based on a per-layer hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index d986a9bfbbc1097461c5f3323c9615dd69d5e183..72233860b32e3b02406705ea412ba3d1524ab625 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -34,6 +34,7 @@ class CC_EXPORT PictureLayer : public Layer {
ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) OVERRIDE;
virtual void SetIsMask(bool is_mask) OVERRIDE;
+ virtual void SetHasGpuRasterizationHint(bool has_hint) OVERRIDE;
virtual bool SupportsLCDText() const OVERRIDE;
virtual skia::RefPtr<SkPicture> GetPicture() const OVERRIDE;
@@ -56,6 +57,7 @@ class CC_EXPORT PictureLayer : public Layer {
Region pile_invalidation_;
gfx::Rect last_updated_visible_content_rect_;
bool is_mask_;
+ bool has_gpu_rasterization_hint_;
int update_source_frame_number_;

Powered by Google App Engine
This is Rietveld 408576698