aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-13 05:47:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-13 05:47:23 -0700
commit9837740dd59fa2461e5d6e6cd36cdc93567b5717 (patch)
tree2249c865a617411841d498175697ad1e2f06b502 /include
parentf054b1766b96d270b98efd9afc87835d299d4a4e (diff)
Simplify GrSWMaskHelper
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrCaps.h5
-rw-r--r--include/gpu/GrContextOptions.h8
2 files changed, 1 insertions, 12 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index e28b49488a..9fe727c425 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -255,10 +255,6 @@ public:
bool immediateFlush() const { return fImmediateFlush; }
- bool drawPathMasksToCompressedTexturesSupport() const {
- return fDrawPathMasksToCompressedTextureSupport;
- }
-
size_t bufferMapThreshold() const {
SkASSERT(fBufferMapThreshold >= 0);
return fBufferMapThreshold;
@@ -333,7 +329,6 @@ private:
bool fSuppressPrints : 1;
bool fImmediateFlush: 1;
- bool fDrawPathMasksToCompressedTextureSupport : 1;
typedef SkRefCnt INHERITED;
};
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index 4e763405e1..7b62c94a44 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -12,8 +12,7 @@
struct GrContextOptions {
GrContextOptions()
- : fDrawPathToCompressedTexture(false)
- , fSuppressPrints(false)
+ : fSuppressPrints(false)
, fMaxTextureSizeOverride(SK_MaxS32)
, fMaxTileSizeOverride(0)
, fSuppressDualSourceBlending(false)
@@ -26,11 +25,6 @@ struct GrContextOptions {
, fMaxBatchLookahead(-1)
, fUseShaderSwizzling(false) {}
- // EXPERIMENTAL
- // May be removed in the future, or may become standard depending
- // on the outcomes of a variety of internal tests.
- bool fDrawPathToCompressedTexture;
-
// Suppress prints for the GrContext.
bool fSuppressPrints;