aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDevice.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-09-09 12:51:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-09 12:51:10 -0700
commit6f09709519b79a1159f3826645f1c5fbc101ee11 (patch)
tree2c929112d91010c2a8ea664e5991519d858252a0 /include/core/SkDevice.h
parent6bc2c94de334efb40e1a09e31112262dec77532b (diff)
Revert of allow canvas to force conservative clips (for speed) (patchset #7 id:120001 of https://codereview.chromium.org/541593005/)
Reason for revert: multipicturedraw failed on nvprmsaa -- don't know why yet Original issue's description: > Allow SkCanvas to be initialized to force conservative rasterclips. This has the following effects: > > 1. Queries to the current clip will be conservatively large. This can mean the quickReject may return false more often. > > 2. The conservative clips mean less work is done. > > 3. Enabled by default for Gpu, Record, and NoSaveLayer canvases. > > 4. API is private for now. > > Committed: https://skia.googlesource.com/skia/+/27a5e656c3d6ef22f9cb34de18e1b960da3aa241 R=robertphillips@google.com, bsalomon@google.com, mtklein@google.com, junov@google.com TBR=bsalomon@google.com, junov@google.com, mtklein@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: reed@google.com Review URL: https://codereview.chromium.org/554033003
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r--include/core/SkDevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 618431a2de..aad5bf4737 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -372,8 +372,6 @@ private:
// TODO: move to SkBitmapDevice
virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) {}
- virtual bool forceConservativeRasterClip() const { return false; }
-
// just called by SkCanvas when built as a layer
void setOrigin(int x, int y) { fOrigin.set(x, y); }
// just called by SkCanvas for saveLayer