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

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

Issue 1950983007: Add sRGB mode toggle to Viewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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/WindowContext.h
diff --git a/tools/viewer/sk_app/WindowContext.h b/tools/viewer/sk_app/WindowContext.h
index 5811bedd32876216c6d2e2fa7ad123869e181c30..218cfc5d50c71331880dd0f2b52bbe8297554803 100644
--- a/tools/viewer/sk_app/WindowContext.h
+++ b/tools/viewer/sk_app/WindowContext.h
@@ -28,6 +28,9 @@ public:
virtual void resize(uint32_t w, uint32_t h) = 0;
+ virtual bool getSRGB() = 0;
+ virtual void setSRGB(bool srgb) = 0;
+
virtual GrBackendContext getBackendContext() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698