Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index cbae83f71f714a956afa27b1811e441048624982..53ac9c3f91fb0347ba34f38758aac4d118376ab4 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -366,17 +366,20 @@ public: |
DrawArgs(const GrPrimitiveProcessor* primProc, |
const GrOptDrawState* optState, |
const GrProgramDesc* desc, |
- const GrBatchTracker* batchTracker) |
+ const GrBatchTracker* batchTracker, |
+ DrawType drawType) |
: fPrimitiveProcessor(primProc) |
, fOptState(optState) |
, fDesc(desc) |
- , fBatchTracker(batchTracker) { |
+ , fBatchTracker(batchTracker) |
+ , fDrawType(drawType) { |
SkASSERT(primProc && optState && desc && batchTracker); |
} |
const GrPrimitiveProcessor* fPrimitiveProcessor; |
const GrOptDrawState* fOptState; |
const GrProgramDesc* fDesc; |
const GrBatchTracker* fBatchTracker; |
+ DrawType fDrawType; |
}; |
void draw(const DrawArgs&, const GrDrawTarget::DrawInfo&); |