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

Unified Diff: cc/resources/tile_manager.h

Issue 13859012: cc: Remove cheapness estimator usage from tile manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still need static_cast to print size_t Created 7 years, 8 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/resources/raster_worker_pool.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 944b54de5e9f11f5b1b7c5248a5f5efae2fe4d81..2a3f1ce9902dd4717178cde45a77615fec5363c3 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -65,7 +65,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
TileManager(TileManagerClient* client,
ResourceProvider *resource_provider,
size_t num_raster_threads,
- bool use_cheapess_estimator,
bool use_color_estimator,
bool prediction_benchmarking,
RenderingStatsInstrumentation* rendering_stats_instrumentation);
@@ -80,7 +79,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
void CheckForCompletedTileUploads();
void AbortPendingTileUploads();
void ForceTileUploadToComplete(Tile* tile);
- void SetAnticipatedDrawTime(base::TimeTicks time);
scoped_ptr<base::Value> BasicStateAsValue() const;
scoped_ptr<base::Value> AllTilesAsValue() const;
@@ -131,7 +129,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
client_->ScheduleManageTiles();
manage_tiles_pending_ = true;
}
- void UpdateCheapTasksTimeLimit();
void AnalyzeTile(Tile* tile);
void GatherPixelRefsForTile(Tile* tile);
void DispatchImageDecodeTasksForTile(Tile* tile);
@@ -164,8 +161,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
skia::LazyPixelRef* pixel_ref,
RenderingStatsInstrumentation* stats_instrumentation);
- static void RecordCheapnessPredictorResults(bool is_predicted_cheap,
- bool is_actually_cheap);
static void RecordSolidColorPredictorResults(const SkColor* actual_colors,
size_t color_count,
bool is_predicted_solid,
@@ -198,7 +193,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
RenderingStatsInstrumentation* rendering_stats_instrumentation_;
- bool use_cheapness_estimator_;
bool use_color_estimator_;
bool prediction_benchmarking_;
bool did_initialize_visible_tile_;
@@ -206,8 +200,6 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
size_t pending_tasks_;
size_t max_pending_tasks_;
- base::TimeTicks anticipated_draw_time_;
-
DISALLOW_COPY_AND_ASSIGN(TileManager);
};
« no previous file with comments | « cc/resources/raster_worker_pool.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698