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

Unified Diff: cc/tiles/tile_manager.h

Issue 2537683002: cc: Add image decode queue functionality to image manager. (Closed)
Patch Set: test fix Created 3 years, 11 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/tiles/software_image_decode_cache.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 91ae0a8b4eb2d70ed4004f7119a34c5e52795424..ea71587b60dd361b140c4d5099080faebd733e31 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -21,6 +21,7 @@
#include "cc/raster/raster_buffer_provider.h"
#include "cc/resources/memory_history.h"
#include "cc/resources/resource_pool.h"
+#include "cc/tiles/decoded_image_tracker.h"
#include "cc/tiles/eviction_tile_priority_queue.h"
#include "cc/tiles/image_controller.h"
#include "cc/tiles/raster_tile_priority_queue.h"
@@ -98,7 +99,8 @@ RasterTaskCompletionStatsAsValue(const RasterTaskCompletionStats& stats);
class CC_EXPORT TileManager {
public:
TileManager(TileManagerClient* client,
- base::SequencedTaskRunner* task_runner,
+ base::SequencedTaskRunner* origin_task_runner,
+ scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner,
size_t scheduled_raster_task_limit,
bool use_partial_raster,
bool check_tile_priority_inversion);
@@ -206,6 +208,8 @@ class CC_EXPORT TileManager {
Resource* resource,
bool was_canceled);
+ void SetDecodedImageTracker(DecodedImageTracker* decoded_image_tracker);
+
protected:
friend class Tile;
// Must be called by tile during destruction.
« no previous file with comments | « cc/tiles/software_image_decode_cache.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698