Index: tools/skiaserve/Request.h |
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h |
index d19c2ba801488e916acca6c4513856130cc2c858..f3af6b72ee6eff6d95dbdad8421d2fc00dcc5e5f 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 |