diff options
author | 2014-12-17 13:43:13 -0800 | |
---|---|---|
committer | 2014-12-17 13:43:13 -0800 | |
commit | 3e79124a69d4806f0a1a776090bff718e1b90970 (patch) | |
tree | cb424a22eaf2874a292116e6ec5138f9605530f7 /src/gpu/GrOptDrawState.h | |
parent | 8750924a1470e8215b2a344155259b93062d3fa2 (diff) |
Stop creating GrODS for stencilPath commands.
Review URL: https://codereview.chromium.org/816513003
Diffstat (limited to 'src/gpu/GrOptDrawState.h')
-rw-r--r-- | src/gpu/GrOptDrawState.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h index 95f7fa9c81..9c42b7cebe 100644 --- a/src/gpu/GrOptDrawState.h +++ b/src/gpu/GrOptDrawState.h @@ -29,10 +29,8 @@ class GrOptDrawState { public: SK_DECLARE_INST_COUNT(GrOptDrawState) - typedef GrClipMaskManager::ScissorState ScissorState; - GrOptDrawState(const GrDrawState& drawState, const GrGeometryProcessor*, const GrPathProcessor*, - const GrDrawTargetCaps&, const ScissorState&, + const GrDrawTargetCaps&, const GrScissorState&, const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType); /* @@ -123,7 +121,7 @@ public: /// @name ScissorState //// - const ScissorState& getScissorState() const { return fScissorState; } + const GrScissorState& getScissorState() const { return fScissorState; } /// @} @@ -190,7 +188,7 @@ private: typedef GrPendingProgramElement<const GrPrimitiveProcessor> ProgramPrimitiveProcessor; typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor; RenderTarget fRenderTarget; - ScissorState fScissorState; + GrScissorState fScissorState; SkMatrix fViewMatrix; GrStencilSettings fStencilSettings; GrDrawState::DrawFace fDrawFace; |