Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 04122e13198a35119cf1fd4c1a14e21a3352ea96..ccba0e635b704f4ab4ebfcd8a3a430cf7616016d 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -310,6 +310,13 @@ public: |
const SkIRect& srcRect, |
const SkIPoint& dstPoint) override { return false; }; |
+ void onGetMultisampleSpecs(GrRenderTarget* rt, |
+ const GrStencilSettings&, |
+ int* effectiveSampleCnt, |
+ SamplePattern*) override { |
+ *effectiveSampleCnt = rt->desc().fSampleCnt; |
+ } |
+ |
bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override { |
return false; |
} |