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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 12388095: cc: Merge GatherPixelRefs and AnalyzeInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compiler errors Created 7 years, 9 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 | « no previous file | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile_impl.h
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index ce643337791171cc9f6012232ceca658ae06d7c4..d5588e695e929317940661870ecea3ba07fff4c2 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -10,6 +10,7 @@
#include "cc/base/cc_export.h"
#include "cc/resources/picture_pile_base.h"
+#include "skia/ext/analysis_canvas.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkPicture.h"
@@ -43,11 +44,14 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
struct Analysis {
Analysis();
+ ~Analysis();
bool is_solid_color;
bool is_transparent;
bool is_cheap_to_raster;
SkColor solid_color;
+
+ skia::AnalysisCanvas::LazyPixelRefList lazy_pixel_refs;
};
void AnalyzeInRect(const gfx::Rect& content_rect,
« no previous file with comments | « no previous file | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698