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

Unified Diff: cc/playback/raster_source.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/pixel_ref_map_unittest.cc ('k') | cc/playback/recording_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.h
diff --git a/cc/playback/raster_source.h b/cc/playback/raster_source.h
index 8d0356fae3807ecf5abb2331cd3a33d1b7a95284..869ad93900ea664f9f1b1b737315b368fbafbe16 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "cc/base/cc_export.h"
#include "cc/debug/traced_value.h"
+#include "skia/ext/pixel_ref_utils.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkPixelRef.h"
@@ -71,9 +72,10 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// Populate the given list with all SkPixelRefs that may overlap the given
// rect at given scale.
- virtual void GatherPixelRefs(const gfx::Rect& content_rect,
- float contents_scale,
- std::vector<SkPixelRef*>* pixel_refs) const = 0;
+ virtual void GatherPixelRefs(
+ const gfx::Rect& content_rect,
+ float contents_scale,
+ std::vector<skia::PositionPixelRef>* pixel_refs) const = 0;
// Return true iff this raster source can raster the given rect at given
// scale.
« no previous file with comments | « cc/playback/pixel_ref_map_unittest.cc ('k') | cc/playback/recording_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698