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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 409afaeb9ca61d369bf70cdec6ef038c7202f08a..8fe0d65107ccfa323e4e8c48eab4ac2d6e43b504 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -52,6 +52,7 @@ class CC_EXPORT PictureLayerImpl
void RecreateResources() override;
skia::RefPtr<SkPicture> GetPicture() override;
Region GetInvalidationRegion() override;
+ gfx::Rect GetEnclosingRectInTargetSpace() const override;
ericrk 2015/10/02 20:15:14 Moved this up from below - was in the wrong sectio
// PictureLayerTilingClient overrides.
ScopedTilePtr CreateTile(const Tile::CreateInfo& info) override;
@@ -61,7 +62,7 @@ class CC_EXPORT PictureLayerImpl
const PictureLayerTiling* tiling) const override;
bool HasValidTilePriorities() const override;
bool RequiresHighResToDraw() const override;
- gfx::Rect GetEnclosingRectInTargetSpace() const override;
+ bool EnablePartialRaster() const override;
void set_gpu_raster_max_texture_size(gfx::Size gpu_raster_max_texture_size) {
gpu_raster_max_texture_size_ = gpu_raster_max_texture_size;

Powered by Google App Engine
This is Rietveld 408576698