Index: src/gpu/GrOptDrawState.h |
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h |
index 45501b49dd1c4fc4efe8ea9933d07875780cd3e4..d96d919d7925db40a8f0c53c4f08eeb3052bbc34 100644 |
--- a/src/gpu/GrOptDrawState.h |
+++ b/src/gpu/GrOptDrawState.h |
@@ -30,8 +30,8 @@ public: |
typedef GrClipMaskManager::ScissorState ScissorState; |
- GrOptDrawState(const GrDrawState& drawState, const GrDrawTargetCaps&, const ScissorState&, |
- const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType); |
+ GrOptDrawState(const GrDrawState& drawState, GrColor, uint8_t coverage, const GrDrawTargetCaps&, |
+ const ScissorState&, const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType); |
bool operator== (const GrOptDrawState& that) const; |
bool operator!= (const GrOptDrawState& that) const { return !(*this == that); } |
@@ -209,7 +209,8 @@ private: |
* the function may adjust the blend coefficients. After this function is called the src and dst |
* blend coeffs will represent those used by backend API. |
*/ |
- void setOutputStateInfo(const GrDrawState& ds, GrDrawState::BlendOpt, const GrDrawTargetCaps&); |
+ void setOutputStateInfo(const GrDrawState& ds, GrColor coverage, GrDrawState::BlendOpt, |
+ const GrDrawTargetCaps&); |
enum Flags { |
kDither_Flag = 0x1, |