Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index eeaacf3d1b08d407cc08277027b37220923d0998..f53a7b1a29d4864e11a7445a580b93298aa2439c 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -141,6 +141,10 @@ public: |
void finishDrawTarget() override; |
+ GrFence SK_WARN_UNUSED_RESULT insertFence() const override; |
+ bool waitFence(GrFence) const override; |
+ void deleteFence(GrFence) const override; |
+ |
void generateMipmap(GrVkTexture* tex); |
bool updateBuffer(GrVkBuffer* buffer, const void* src, VkDeviceSize offset, VkDeviceSize size); |
@@ -199,10 +203,10 @@ private: |
int left, int top, int width, int height, |
GrPixelConfig config, const SkTArray<GrMipLevel>&) override; |
- bool onTransferPixels(GrSurface*, |
+ bool onTransferPixels(GrTexture*, |
int left, int top, int width, int height, |
GrPixelConfig config, GrBuffer* transferBuffer, |
- size_t offset, size_t rowBytes) override { return false; } |
+ size_t offset, size_t rowBytes) override; |
// Ends and submits the current command buffer to the queue and then creates a new command |
// buffer and begins it. If sync is set to kForce_SyncQueue, the function will wait for all |