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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 63443003: cc: Combine analysis and raster (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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') | cc/resources/picture_pile_impl.cc » ('J')
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 66b5f72fc3832b83a7e901229afa400b7c685da8..0bf35f5ddb5fb4dfbe9d81014e664c926a8d2f14 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -52,14 +52,6 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
float contents_scale,
RenderingStatsInstrumentation* stats_instrumentation);
- // Called when analyzing a tile. We can use AnalysisCanvas as
- // SkDrawPictureCallback, which allows us to early out from analysis.
- void RasterForAnalysis(
- skia::AnalysisCanvas* canvas,
- gfx::Rect canvas_rect,
- float contents_scale);
-
-
skia::RefPtr<SkPicture> GetFlattenedPicture();
struct CC_EXPORT Analysis {
@@ -71,10 +63,6 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
SkColor solid_color;
};
- void AnalyzeInRect(gfx::Rect content_rect,
- float contents_scale,
- Analysis* analysis);
-
class CC_EXPORT PixelRefIterator {
public:
PixelRefIterator(gfx::Rect content_rect,
@@ -97,6 +85,9 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
std::set<const void*> processed_pictures_;
};
+ gfx::Rect AnalysisRectForRaster(gfx::Rect content_rect,
+ float contents_scale) const;
+
void DidBeginTracing();
protected:
« no previous file with comments | « no previous file | cc/resources/picture_pile_impl.cc » ('j') | cc/resources/picture_pile_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698