aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureContentInfo.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2014-11-04 07:59:01 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-04 07:59:01 -0800
commitf7007b023d03de0693a39cba45ecdcc63eb9950d (patch)
tree8cef7f3c8f5bfb3b79d43c236b0780cb0d81966c /src/core/SkPictureContentInfo.h
parentbd1b76c40ca65638a8bd7e7655d19b48405c1fc0 (diff)
Enable distance field path rendering in Chrome.
- Add stat tracking for df-renderable paths - Modify GPU rasterization veto to account for df-renderable paths - Remove #define hiding df paths from Chromium and Android BUG=skia:2935 Review URL: https://codereview.chromium.org/685113003
Diffstat (limited to 'src/core/SkPictureContentInfo.h')
-rw-r--r--src/core/SkPictureContentInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkPictureContentInfo.h b/src/core/SkPictureContentInfo.h
index d4d1d4fc5f..f255f7df65 100644
--- a/src/core/SkPictureContentInfo.h
+++ b/src/core/SkPictureContentInfo.h
@@ -60,6 +60,9 @@ private:
// This field is incremented every time a drawPath call is
// issued for a hairline stroked concave path.
int fNumAAHairlineConcavePaths;
+ // This field is incremented every time a drawPath call is
+ // issued for a concave path that can be rendered with distance fields
+ int fNumAADFEligibleConcavePaths;
// These fields track the different layer flavors. fNumLayers is just
// a count of all saveLayers, fNumInteriorLayers is the number of layers
// with a layer inside them, fNumLeafLayers is the number of layers with