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

Unified Diff: samplecode/SampleApp.h

Issue 2201323003: add pipecanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: no need for willSetMatrix Created 4 years, 3 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
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index 75416426b463941f58f0cee1c7bc7d41225ea418..af1732e2e71004e1b1c63002c3db68729b4b09d0 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -13,11 +13,14 @@
#include "SkPicture.h"
#include "SkPictureRecorder.h"
#include "SkScalar.h"
+#include "SkStream.h"
#include "SkTDArray.h"
#include "SkTouchGesture.h"
#include "SkWindow.h"
#include "timer/Timer.h"
+#include "SkPipe.h"
+
class GrContext;
class GrRenderTarget;
@@ -165,6 +168,11 @@ private:
int fCurrIndex;
+
+ SkDynamicMemoryWStream* fPipeStream;
+ SkPipeSerializer fPipeSerializer;
+ SkPipeDeserializer fPipeDeserializer;
+
SkPictureRecorder fRecorder;
SkAutoTDelete<SkCanvas> fFlagsFilterCanvas;
SkPath fClipPath;

Powered by Google App Engine
This is Rietveld 408576698