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

Unified Diff: tools/viewer/Viewer.h

Issue 2058753002: Display JPGs in Viewer with Split Screen and ColorSpaceXform (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Unmerge 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
« no previous file with comments | « tools/viewer/ImageSlide.cpp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/Viewer.h
diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h
index af3b6ce88d751789e526820bec00271fad518158..e140e1b87a395f3894aa482827cf9c3865819972 100644
--- a/tools/viewer/Viewer.h
+++ b/tools/viewer/Viewer.h
@@ -35,6 +35,7 @@ private:
void updateUIState();
+ void drawSlide(SkCanvas* canvs, bool inSplitScreen);
void drawStats(SkCanvas* canvas);
void changeZoomLevel(float delta);
@@ -52,6 +53,9 @@ private:
bool fDisplayStats;
+ // whether to split the screen and draw two copies of the slide, one with sRGB and one without
+ bool fSplitScreen;
+
sk_app::Window::BackendType fBackendType;
// transform data
« no previous file with comments | « tools/viewer/ImageSlide.cpp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698