aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve/Request.h
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-04-19 12:47:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-19 12:47:54 -0700
commit312aa6a81e508f80a46419a14ec842b129ffe563 (patch)
tree19448806f65eb3d88d9e13be3a684a56a80fb3e8 /tools/skiaserve/Request.h
parent05db63b5fc262136da9b289418b871180cd1359b (diff)
Adding support for controlling the global sRGB SkColor switch.
Diffstat (limited to 'tools/skiaserve/Request.h')
-rw-r--r--tools/skiaserve/Request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h
index f3af6b72ee..6cb969170d 100644
--- a/tools/skiaserve/Request.h
+++ b/tools/skiaserve/Request.h
@@ -42,6 +42,7 @@ struct Request {
SkBitmap* getBitmapFromCanvas(SkCanvas* canvas);
bool enableGPU(bool enable);
bool setColorMode(int mode);
+ bool setSRGBMode(bool enable);
bool hasPicture() const { return SkToBool(fPicture.get()); }
int getLastOp() const { return fDebugCanvas->getSize() - 1; }