diff options
Diffstat (limited to 'src/gpu/GrPipelineBuilder.h')
-rw-r--r-- | src/gpu/GrPipelineBuilder.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h index dca7f36034..0c33eb344f 100644 --- a/src/gpu/GrPipelineBuilder.h +++ b/src/gpu/GrPipelineBuilder.h @@ -221,7 +221,13 @@ public: */ kAllowSRGBInputs_Flag = 0x08, - kLast_Flag = kAllowSRGBInputs_Flag, + /** + * Signals that one or more FPs need access to the distance vector field to the nearest + * edge + */ + kUsesDistanceVectorField_Flag = 0x10, + + kLast_Flag = kUsesDistanceVectorField_Flag, }; bool isHWAntialias() const { return SkToBool(fFlags & kHWAntialias_Flag); } @@ -231,6 +237,8 @@ public: return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag); } bool getAllowSRGBInputs() const { return SkToBool(fFlags & kAllowSRGBInputs_Flag); } + bool getUsesDistanceVectorField() const { + return SkToBool(fFlags & kUsesDistanceVectorField_Flag); } /** * Enable render state settings. |