Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index fc2ee76231289dcb663eea6f386f497548d527f2..fac14cc70a60d5932aafe319944ab90c4c9fab03 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -233,6 +233,7 @@ public: |
* not a request for clipping. |
*/ |
void drawIndexed(GrDrawState*, |
+ const GrGeometryProcessor*, |
GrPrimitiveType type, |
int startVertex, |
int startIndex, |
@@ -252,6 +253,7 @@ public: |
* not a request for clipping. |
*/ |
void drawNonIndexed(GrDrawState*, |
+ const GrGeometryProcessor*, |
GrPrimitiveType type, |
int startVertex, |
int vertexCount, |
@@ -357,6 +359,7 @@ public: |
* not a request for clipping. |
*/ |
void drawIndexedInstances(GrDrawState*, |
+ const GrGeometryProcessor*, |
GrPrimitiveType type, |
int instanceCount, |
int verticesPerInstance, |
@@ -656,6 +659,7 @@ protected: |
// but couldn't be made. Otherwise, returns true. This method needs to be protected because it |
// needs to be accessed by GLPrograms to setup a correct drawstate |
bool setupDstReadIfNecessary(GrDrawState*, |
+ const GrPrimitiveProcessor*, |
GrColor, |
uint8_t, |
GrDeviceCoordTexture* dstCopy, |
@@ -698,6 +702,7 @@ private: |
virtual void geometrySourceWillPop(const GeometrySrcState& restoredState) = 0; |
// subclass called to perform drawing |
virtual void onDraw(const GrDrawState&, |
+ const GrGeometryProcessor*, |
const DrawInfo&, |
const GrClipMaskManager::ScissorState&, |
const GrDeviceCoordTexture* dstCopy) = 0; |
@@ -766,6 +771,7 @@ private: |
// called by drawIndexed and drawNonIndexed. Use a negative indexCount to |
// indicate non-indexed drawing. |
bool checkDraw(const GrDrawState&, |
+ const GrGeometryProcessor*, |
GrPrimitiveType type, |
int startVertex, |
int startIndex, |