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

Unified Diff: samplecode/SampleApp.h

Issue 214953003: split SkPictureRecorder out of SkPicture (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: update to ToT (again) Created 6 years, 8 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
Index: samplecode/SampleApp.h
===================================================================
--- samplecode/SampleApp.h (revision 14159)
+++ samplecode/SampleApp.h (working copy)
@@ -10,6 +10,7 @@
#include "SkOSMenu.h"
#include "SkPath.h"
+#include "SkPicture.h"
#include "SkScalar.h"
#include "SkTDArray.h"
#include "SkTouchGesture.h"
@@ -21,7 +22,6 @@
class SkCanvas;
class SkData;
class SkEvent;
-class SkPicture;
class SkTypeface;
class SkViewFactory;
@@ -168,7 +168,7 @@
int fCurrIndex;
- SkPicture* fPicture;
+ SkPictureRecorder fRecorder;
SkPath fClipPath;
SkTouchGesture fGesture;
« no previous file with comments | « samplecode/SampleAll.cpp ('k') | samplecode/SampleApp.cpp » ('j') | samplecode/SampleTiling.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698