Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index 13cbd0cbf08e8aabd731c781ea7afbc2ac7943f6..ef44142d460a8f5019ac472d47a6cefd6c90007f 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -192,12 +192,16 @@ private: |
const SkIRect& srcRect, |
const SkIPoint& dstPoint); |
- // helper for onCreateTexture and writeTexturePixels |
- bool uploadTexData(GrVkTexture* tex, |
- int left, int top, int width, int height, |
- GrPixelConfig dataConfig, |
- const void* data, |
- size_t rowBytes); |
+ // helpers for onCreateTexture and writeTexturePixels |
+ bool uploadTexDataLinear(GrVkTexture* tex, |
+ int left, int top, int width, int height, |
+ GrPixelConfig dataConfig, |
+ const void* data, |
+ size_t rowBytes); |
+ bool uploadTexDataOptimal(GrVkTexture* tex, |
+ int left, int top, int width, int height, |
+ GrPixelConfig dataConfig, |
+ const SkTArray<GrMipLevel>&); |
SkAutoTUnref<const GrVkBackendContext> fBackendContext; |
SkAutoTUnref<GrVkCaps> fVkCaps; |