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

Unified Diff: cc/picture.h

Issue 11453014: Implement the logic to kick off image decoding jobs for TileManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding more null checks Created 8 years 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/picture.cc » ('j') | cc/picture.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture.h
diff --git a/cc/picture.h b/cc/picture.h
index b555eb048fa5914d5de08c512783aade42cac086..5f5c9f07049a3eb26d28dc044cfe39f258fef5ca 100644
--- a/cc/picture.h
+++ b/cc/picture.h
@@ -5,11 +5,14 @@
#ifndef CC_PICTURE_H_
#define CC_PICTURE_H_
+#include <vector>
+
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "cc/cc_export.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkPicture.h"
+#include "third_party/skia/include/core/SkPixelRef.h"
#include "ui/gfx/rect.h"
namespace cc {
@@ -39,6 +42,8 @@ public:
// Assumes contentsScale have already been applied.
void Raster(SkCanvas* canvas);
+ void GatherPixelRefs(const gfx::Rect& rect, std::vector<SkPixelRef*>&);
+
private:
Picture(gfx::Rect layer_rect);
// This constructor assumes SkPicture is already ref'd and transfers
« no previous file with comments | « no previous file | cc/picture.cc » ('j') | cc/picture.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698