Index: src/gpu/GrPipeline.h |
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
index ff1905b462e05b5c152041eaed00bf326bb0fae2..13abce8679cf0387d940787f260b28587a2f1d29 100644 |
--- a/src/gpu/GrPipeline.h |
+++ b/src/gpu/GrPipeline.h |
@@ -51,7 +51,6 @@ public: |
const GrCaps* fCaps; |
GrPipelineOptimizations fOpts; |
const GrScissorState* fScissor; |
- int fNumStencilBits; |
bool fHasStencilClip; |
GrXferProcessor::DstTexture fDstTexture; |
}; |
@@ -153,6 +152,9 @@ public: |
bool getAllowSRGBInputs() const { |
return SkToBool(fFlags & kAllowSRGBInputs_Flag); |
} |
+ bool hasStencilClip() const { |
+ return SkToBool(fFlags & kHasStencilClip_Flag); |
+ } |
GrXferBarrierType xferBarrierType(const GrCaps& caps) const { |
return this->getXferProcessor().xferBarrierType(fRenderTarget.get(), caps); |
@@ -196,6 +198,7 @@ private: |
kSnapVertices_Flag = 0x2, |
kDisableOutputConversionToSRGB_Flag = 0x4, |
kAllowSRGBInputs_Flag = 0x8, |
+ kHasStencilClip_Flag = 0x8 |
bsalomon
2016/05/10 20:17:25
0x10?
Chris Dalton
2016/05/11 22:03:34
Done.
|
}; |
typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget; |