diff options
Diffstat (limited to 'tools/skiaserve/Request.h')
-rw-r--r-- | tools/skiaserve/Request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h index d19c2ba801..f3af6b72ee 100644 --- a/tools/skiaserve/Request.h +++ b/tools/skiaserve/Request.h @@ -41,6 +41,7 @@ struct Request { SkCanvas* getCanvas(); SkBitmap* getBitmapFromCanvas(SkCanvas* canvas); bool enableGPU(bool enable); + bool setColorMode(int mode); bool hasPicture() const { return SkToBool(fPicture.get()); } int getLastOp() const { return fDebugCanvas->getSize() - 1; } @@ -74,6 +75,7 @@ private: sk_gpu_test::GrContextFactory* fContextFactory; SkAutoTUnref<SkSurface> fSurface; bool fGPUEnabled; + int fColorMode; }; #endif |