Index: src/gpu/GrPipeline.h |
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
index 5ec572d0ae199f42905366ff4238948d790264c7..1457dbc3f58120861a445237a978eb7bbcf60a78 100644 |
--- a/src/gpu/GrPipeline.h |
+++ b/src/gpu/GrPipeline.h |
@@ -160,6 +160,9 @@ public: |
bool getAllowSRGBInputs() const { |
return SkToBool(fFlags & kAllowSRGBInputs_Flag); |
} |
+ bool usesDistanceVectorField() const { |
+ return SkToBool(fFlags & kUsesDistanceVectorField_Flag); |
+ } |
bool hasStencilClip() const { |
return SkToBool(fFlags & kHasStencilClip_Flag); |
} |
@@ -206,7 +209,8 @@ private: |
kSnapVertices_Flag = 0x2, |
kDisableOutputConversionToSRGB_Flag = 0x4, |
kAllowSRGBInputs_Flag = 0x8, |
- kHasStencilClip_Flag = 0x10 |
+ kUsesDistanceVectorField_Flag = 0x10, |
+ kHasStencilClip_Flag = 0x20, |
}; |
typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget; |