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

Unified Diff: include/views/SkWindow.h

Issue 2394843003: Fix iOS surface creation for SampleApp (Closed)
Patch Set: Created 4 years, 2 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 | « experimental/iOSSampleApp/SkSampleUIView.mm ('k') | samplecode/SampleApp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/SkWindow.h
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index e964fc681b5a65e6e1b7b2ef9f6b5c1a909d865d..1c4b5aef89ee75ec18fc1c02e3f15598edecb483 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -80,6 +80,11 @@ public:
virtual sk_sp<SkSurface> makeSurface();
+#if SK_SUPPORT_GPU
+ sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo,
+ const GrGLInterface* , GrContext* grContext);
+#endif
+
protected:
virtual bool onEvent(const SkEvent&);
virtual bool onDispatchClick(int x, int y, Click::State, void* owner, unsigned modi);
@@ -97,11 +102,6 @@ protected:
virtual bool onGetFocusView(SkView** focus) const;
virtual bool onSetFocusView(SkView* focus);
-#if SK_SUPPORT_GPU
- sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo,
- const GrGLInterface* , GrContext* grContext);
-#endif
-
private:
SkSurfaceProps fSurfaceProps;
SkBitmap fBitmap;
« no previous file with comments | « experimental/iOSSampleApp/SkSampleUIView.mm ('k') | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698