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