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

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: Bitmap 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/Viewer.h
diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h
index af3b6ce88d751789e526820bec00271fad518158..ebe7fbf0ff13f3ead11a87985a7152fbbc18b1ae 100644
--- a/tools/viewer/Viewer.h
+++ b/tools/viewer/Viewer.h
@@ -35,6 +35,7 @@ private:
void updateUIState();
+ void drawSlide(SkCanvas* canvs, bool inSplitScreen = false);
msarett 2016/06/13 14:56:26 nit: canvs -> canvas nit: I think Skia style avoi
liyuqian 2016/06/13 16:10:40 Done.
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 = false;
msarett 2016/06/13 14:56:26 nit: I think Skia style would initialize this in t
liyuqian 2016/06/13 16:10:40 Done.
+
sk_app::Window::BackendType fBackendType;
// transform data

Powered by Google App Engine
This is Rietveld 408576698