| Index: src/gpu/GrOptDrawState.h
|
| diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h
|
| index 1e7b5e5ad1a336390ece85e67278569942369b8f..55a5071d4179414af49eca990ec7166d934fe678 100644
|
| --- a/src/gpu/GrOptDrawState.h
|
| +++ b/src/gpu/GrOptDrawState.h
|
| @@ -19,7 +19,6 @@
|
|
|
| class GrDeviceCoordTexture;
|
| class GrDrawState;
|
| -class GrPathProcessor;
|
|
|
| /**
|
| * Class that holds an optimized version of a GrDrawState. It is meant to be an immutable class,
|
| @@ -31,9 +30,8 @@
|
|
|
| typedef GrClipMaskManager::ScissorState ScissorState;
|
|
|
| - GrOptDrawState(const GrDrawState& drawState, const GrGeometryProcessor*, const GrPathProcessor*,
|
| - 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 +207,7 @@
|
| * 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, GrXferProcessor::OptFlags,
|
| + void setOutputStateInfo(const GrDrawState& ds, GrColor coverage, GrXferProcessor::OptFlags,
|
| const GrDrawTargetCaps&);
|
|
|
| enum Flags {
|
| @@ -221,7 +219,6 @@
|
| typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget;
|
| typedef SkSTArray<8, GrPendingFragmentStage> FragmentStageArray;
|
| typedef GrPendingProgramElement<const GrGeometryProcessor> ProgramGeometryProcessor;
|
| - typedef GrPendingProgramElement<const GrPrimitiveProcessor> ProgramPrimitiveProcessor;
|
| typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor;
|
| RenderTarget fRenderTarget;
|
| ScissorState fScissorState;
|
| @@ -236,7 +233,6 @@
|
| GrBlendCoeff fDstBlend;
|
| uint32_t fFlags;
|
| ProgramGeometryProcessor fGeometryProcessor;
|
| - ProgramPrimitiveProcessor fPrimitiveProcessor;
|
| GrBatchTracker fBatchTracker;
|
| ProgramXferProcessor fXferProcessor;
|
| FragmentStageArray fFragmentStages;
|
|
|