aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-05-05 12:24:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-05 12:24:31 -0700
commit2d1ee7936e3536e45c963db004e3b512bb415fd8 (patch)
treeedefade2fbe8c19d10abae08f3a658f202bbb5c1 /tools/viewer
parentd215a95882485026d176a81bf58871276b21c89c (diff)
Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel
buffer. (Only on Windows at the moment). Uses new effect to do the final gamma adjustment BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919993002 Review-Url: https://codereview.chromium.org/1919993002
Diffstat (limited to 'tools/viewer')
-rw-r--r--tools/viewer/android/Window_android.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/viewer/android/Window_android.h b/tools/viewer/android/Window_android.h
index 6099f8983e..d41f0a54c2 100644
--- a/tools/viewer/android/Window_android.h
+++ b/tools/viewer/android/Window_android.h
@@ -17,12 +17,12 @@ enum {
/**
* Leave plenty of space between this item and the ones defined in the glue layer
*/
- APP_CMD_INVAL_WINDOW = 64,
+ APP_CMD_INVAL_WINDOW = 64,
};
class Window_android : public Window {
public:
- Window_android() : Window() {}
+ Window_android() : Window() {}
~Window_android() override {}
bool init(android_app* app_state);
@@ -31,7 +31,7 @@ public:
void setTitle(const char*) override;
void show() override {}
- bool attach(BackEndType attachType, int msaaSampleCount) override;
+ bool attach(BackEndType attachType, int msaaSampleCount, bool deepColor) override;
void inval() override;
void paintIfNeeded();