Index: src/gpu/GrPipeline.h |
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
index 1457dbc3f58120861a445237a978eb7bbcf60a78..18f1a2a266d819303855016c55c518555357ee4d 100644 |
--- a/src/gpu/GrPipeline.h |
+++ b/src/gpu/GrPipeline.h |
@@ -18,6 +18,7 @@ |
#include "GrProgramDesc.h" |
#include "GrStencilSettings.h" |
#include "GrTypesPriv.h" |
+#include "GrWindowRectangles.h" |
#include "SkMatrix.h" |
#include "SkRefCnt.h" |
@@ -59,6 +60,7 @@ public: |
const GrCaps* fCaps; |
GrPipelineOptimizations fOpts; |
const GrScissorState* fScissor; |
+ const GrWindowRectangles* fWindowRects; |
bool fHasStencilClip; |
GrXferProcessor::DstTexture fDstTexture; |
}; |
@@ -152,6 +154,8 @@ public: |
const GrScissorState& getScissorState() const { return fScissorState; } |
+ const GrWindowRectangles& getWindowRectangles() const { return fWindowRects; } |
+ |
bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); } |
bool snapVerticesToPixelCenters() const { return SkToBool(fFlags & kSnapVertices_Flag); } |
bool getDisableOutputConversionToSRGB() const { |
@@ -219,6 +223,7 @@ private: |
typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor; |
RenderTarget fRenderTarget; |
GrScissorState fScissorState; |
+ GrWindowRectangles fWindowRects; |
GrStencilSettings fStencilSettings; |
GrDrawFace fDrawFace; |
uint32_t fFlags; |