Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index b176d3c0fcd0953643c43ca8f5ed400923dc3617..611059ae4cfae79edb02bdea8b5ae7c1d5c2178f 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -49,6 +49,8 @@ void GrContext::purgeAllUnlockedResources() { |
#include "GrInOrderDrawBuffer.h" |
#include "GrGpu.h" |
+class GrOptDrawState; |
+ |
class MockGpu : public GrGpu { |
public: |
MockGpu(GrContext* context) : INHERITED(context) { fCaps.reset(SkNEW(GrDrawTargetCaps)); } |
@@ -118,7 +120,7 @@ private: |
const SkIRect& rect, |
bool insideClip) SK_OVERRIDE { } |
- virtual void onDraw(const GrDrawTarget::DrawInfo&) SK_OVERRIDE { } |
+ virtual void onDraw(const GrOptDrawState&, const GrDrawTarget::DrawInfo&) SK_OVERRIDE { } |
virtual bool onReadPixels(GrRenderTarget* target, |
int left, int top, int width, int height, |
GrPixelConfig, |
@@ -147,7 +149,8 @@ private: |
return false; |
} |
- virtual bool flushGraphicsState(DrawType, |
+ virtual bool flushGraphicsState(const GrOptDrawState&, |
+ DrawType, |
const GrClipMaskManager::ScissorState&, |
const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE { |
return false; |