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

Unified Diff: tools/viewer/sk_app/Window.h

Issue 2069653002: Use Offscreen Surface for Split Screen (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More fixes Created 4 years, 6 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: tools/viewer/sk_app/Window.h
diff --git a/tools/viewer/sk_app/Window.h b/tools/viewer/sk_app/Window.h
index 8b1378a80fdb6669e24102d8cbce7af2ef1f7f81..17777cf9a6daf736161e69c6d21111d199dbd6a9 100644
--- a/tools/viewer/sk_app/Window.h
+++ b/tools/viewer/sk_app/Window.h
@@ -15,6 +15,7 @@
#include "SkJSONCPP.h"
class SkCanvas;
+class SkSurface;
namespace sk_app {
@@ -161,6 +162,9 @@ public:
virtual const DisplayParams& getDisplayParams();
void setDisplayParams(const DisplayParams& params);
+ // This is just for the sRGB split screen
+ sk_sp<SkSurface> getOffscreenSurface(bool sRGB);
+
protected:
Window();

Powered by Google App Engine
This is Rietveld 408576698