Index: src/gpu/GrPipeline.h |
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
index 8781058247fe438300ac2f5cb919c389aea31c1b..772fc452d73e52905edbab5a08986d2ed98f5b17 100644 |
--- a/src/gpu/GrPipeline.h |
+++ b/src/gpu/GrPipeline.h |
@@ -20,6 +20,7 @@ |
#include "SkMatrix.h" |
#include "SkRefCnt.h" |
+class GrAppliedClip; |
class GrBatch; |
class GrDeviceCoordTexture; |
class GrPipelineBuilder; |
@@ -38,7 +39,7 @@ public: |
const GrCaps* fCaps; |
GrProcOptInfo fColorPOI; |
GrProcOptInfo fCoveragePOI; |
- const GrScissorState* fScissor; |
+ const GrAppliedClip* fClip; |
GrXferProcessor::DstTexture fDstTexture; |
}; |
@@ -125,6 +126,7 @@ public: |
bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); } |
bool snapVerticesToPixelCenters() const { return SkToBool(fFlags & kSnapVertices_Flag); } |
+ bool hasCoCenteredSamples() const { return SkToBool(fFlags & kCoCenteredSamples_Flag); } |
GrXferBarrierType xferBarrierType(const GrCaps& caps) const { |
return fXferProcessor->xferBarrierType(fRenderTarget.get(), caps); |
@@ -166,6 +168,7 @@ private: |
enum Flags { |
kHWAA_Flag = 0x1, |
kSnapVertices_Flag = 0x2, |
+ kCoCenteredSamples_Flag = 0x4 |
}; |
typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget; |