diff options
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h index d94b3111ec..ea1279bc57 100644 --- a/src/gpu/GrInOrderDrawBuffer.h +++ b/src/gpu/GrInOrderDrawBuffer.h @@ -181,12 +181,10 @@ private: struct SetState : public Cmd { SetState(const GrDrawState& drawState, const GrPrimitiveProcessor* primProc, const GrDrawTargetCaps& caps, - const GrScissorState& scissor, const GrDeviceCoordTexture* dstCopy, - GrGpu::DrawType drawType) + const GrScissorState& scissor, const GrDeviceCoordTexture* dstCopy) : Cmd(kSetState_Cmd) , fPrimitiveProcessor(primProc) - , fState(drawState, primProc, caps, scissor, dstCopy) - , fDrawType(drawType) {} + , fState(drawState, primProc, caps, scissor, dstCopy) {} void execute(GrInOrderDrawBuffer*, const SetState*) SK_OVERRIDE; @@ -195,7 +193,6 @@ private: const GrOptDrawState fState; GrProgramDesc fDesc; GrBatchTracker fBatchTracker; - GrGpu::DrawType fDrawType; }; typedef void* TCmdAlign; // This wouldn't be enough align if a command used long double. @@ -257,7 +254,6 @@ private: // recorded. bool SK_WARN_UNUSED_RESULT recordStateAndShouldDraw(const GrDrawState&, const GrPrimitiveProcessor*, - GrGpu::DrawType, const GrScissorState&, const GrDeviceCoordTexture*); // We lazily record clip changes in order to skip clips that have no effect. |