Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index ff9c3c7c5fbc7ea7d5bd9a029e34db41eb7153d0..8df6e6cfdccc21622ae17525dc3a024be4f4b90d 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -82,7 +82,7 @@ public: |
void onGetMultisampleSpecs(GrRenderTarget* rt, const GrStencilSettings&, |
int* effectiveSampleCnt, SamplePattern*) override; |
- bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override; |
+ bool initDescForDstCopy(const GrRenderTarget* src, GrSurfaceDesc* desc) const override; |
void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} |
@@ -220,6 +220,11 @@ private: |
const SkIRect& srcRect, |
const SkIPoint& dstPoint); |
+ void copySurfaceAsResolve(GrSurface* dst, |
+ GrSurface* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint); |
+ |
void copySurfaceAsDraw(GrSurface* dst, |
GrSurface* src, |
const SkIRect& srcRect, |
@@ -236,6 +241,11 @@ private: |
GrPixelConfig dataConfig, |
const SkTArray<GrMipLevel>&); |
+ void resolveImage(GrVkRenderTarget* dst, |
+ GrVkRenderTarget* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint); |
+ |
SkAutoTUnref<const GrVkBackendContext> fBackendContext; |
SkAutoTUnref<GrVkCaps> fVkCaps; |