diff options
author | Ben Wagner <bungeman@google.com> | 2016-10-17 15:20:02 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-10-17 21:10:38 +0000 |
commit | c03e1c55a79f00d02ab528945425ff50cb700402 (patch) | |
tree | 4b9ab4bb4baa827bc6f28725cd5e19a97cd42d09 /tools/skiaserve/Request.h | |
parent | 6bff1573c1a1c27fa09b2ddb13ffd46f94e57750 (diff) |
Re-enable overdraw mode in debugger.
Debugger is the last user of the deprecated SkPaintFilterCanvas
constructor. Stop using it and remove the constructor.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3268
Change-Id: I3e9180d48abdf86cb2c05bd8d95acabcdaa70427
Reviewed-on: https://skia-review.googlesource.com/3268
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
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 0b6ed3b467..cadf15c6ba 100644 --- a/tools/skiaserve/Request.h +++ b/tools/skiaserve/Request.h @@ -43,6 +43,7 @@ struct Request { SkCanvas* getCanvas(); SkBitmap* getBitmapFromCanvas(SkCanvas* canvas); bool enableGPU(bool enable); + bool setOverdraw(bool enable); bool setColorMode(int mode); bool hasPicture() const { return SkToBool(fPicture.get()); } int getLastOp() const { return fDebugCanvas->getSize() - 1; } @@ -77,6 +78,7 @@ private: sk_gpu_test::GrContextFactory* fContextFactory; SkAutoTUnref<SkSurface> fSurface; bool fGPUEnabled; + bool fOverdraw; int fColorMode; }; |