diff options
author | Brian Salomon <bsalomon@google.com> | 2017-06-02 11:01:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-02 19:44:18 +0000 |
commit | e23bffd65b379aeeb6bb614de81369c130623e92 (patch) | |
tree | 7ed966359438344027ffd20d58b5afdb4bb5b3fe /src/gpu/GrProcessorSet.h | |
parent | 219b4e81db683d943da0261438bfdc6139d8f061 (diff) |
Remove support in GPU backend for distance vector field.
Also, remvoes SkNormalBevelSource as this was the last use case for the distance vector field.
Change-Id: Ib0176c78e500e6b5130310934253a75860245812
Reviewed-on: https://skia-review.googlesource.com/18482
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrProcessorSet.h')
-rw-r--r-- | src/gpu/GrProcessorSet.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/GrProcessorSet.h b/src/gpu/GrProcessorSet.h index b13175ab10..d7cecedc47 100644 --- a/src/gpu/GrProcessorSet.h +++ b/src/gpu/GrProcessorSet.h @@ -52,8 +52,6 @@ public: return sk_ref_sp(fXP.fProcessor); } - bool usesDistanceVectorField() const { return SkToBool(fFlags & kUseDistanceVectorField_Flag); } - /** Comparisons are only legal on finalized processor sets. */ bool operator==(const GrProcessorSet& that) const; bool operator!=(const GrProcessorSet& that) const { return !(*this == that); } @@ -143,7 +141,7 @@ private: // This absurdly large limit allows Analysis and this to pack fields together. static constexpr int kMaxColorProcessors = UINT8_MAX; - enum Flags : uint16_t { kUseDistanceVectorField_Flag = 0x1, kFinalized_Flag = 0x2 }; + enum Flags : uint16_t { kFinalized_Flag = 0x1 }; union XP { XP(const GrXPFactory* factory) : fFactory(factory) {} |