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

Unified Diff: cc/tile_manager.h

Issue 12210081: Paint low-res tiles without expensive filters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 005c42f79a2d6530da91fb8f70a3cd3d4c724358..d744cb0cbb0fd4c58ef6a4e1d23d6671ebe996a3 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -168,6 +168,7 @@ class CC_EXPORT TileManager {
const gfx::Rect& rect,
float contents_scale,
bool use_cheapness_estimator,
+ bool simplify_paint,
PicturePileImpl* picture_pile,
RenderingStats* stats);
static void RunImageDecodeTask(skia::LazyPixelRef* pixel_ref,
@@ -176,6 +177,8 @@ class CC_EXPORT TileManager {
static void RecordCheapnessPredictorResults(bool is_predicted_cheap,
bool is_actually_cheap);
+ bool ShouldSimplifyPaint(Tile* tile);
+
TileManagerClient* client_;
scoped_ptr<ResourcePool> resource_pool_;
scoped_ptr<RasterWorkerPool> raster_worker_pool_;
« no previous file with comments | « no previous file | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698