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

Unified Diff: cc/tiles/image_decode_controller.h

Issue 1279843004: cc: Plumb more details about pixel refs to tile manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/playback/recording_source_unittest.cc ('k') | cc/tiles/image_decode_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/image_decode_controller.h
diff --git a/cc/tiles/image_decode_controller.h b/cc/tiles/image_decode_controller.h
index 902927f4a77efa1779dcb3aaa39bcc8e31c55db2..a9f423e95097304f966a0f57310e54b8f37e1037 100644
--- a/cc/tiles/image_decode_controller.h
+++ b/cc/tiles/image_decode_controller.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "cc/base/cc_export.h"
#include "cc/raster/tile_task_runner.h"
+#include "skia/ext/pixel_ref_utils.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkPixelRef.h"
@@ -19,9 +20,10 @@ class ImageDecodeController {
ImageDecodeController();
~ImageDecodeController();
- scoped_refptr<ImageDecodeTask> GetTaskForPixelRef(SkPixelRef* pixel_ref,
- int layer_id,
- uint64_t prepare_tiles_id);
+ scoped_refptr<ImageDecodeTask> GetTaskForPixelRef(
+ const skia::PositionPixelRef& pixel_ref,
+ int layer_id,
+ uint64_t prepare_tiles_id);
// Note that this function has to remain thread safe.
void DecodePixelRef(SkPixelRef* pixel_ref);
« no previous file with comments | « cc/playback/recording_source_unittest.cc ('k') | cc/tiles/image_decode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698