Index: src/gpu/vk/GrVkTexture.h |
diff --git a/src/gpu/vk/GrVkTexture.h b/src/gpu/vk/GrVkTexture.h |
index a5e82e866c42d462c0712cf88473a089d0ccb92e..be52c17a5ff39bb991f27a5056c4b832da97d0e9 100644 |
--- a/src/gpu/vk/GrVkTexture.h |
+++ b/src/gpu/vk/GrVkTexture.h |
@@ -33,7 +33,7 @@ public: |
const GrVkImageView* textureView() const { return fTextureView; } |
- bool reallocForMipmap(const GrVkGpu* gpu); |
+ bool reallocForMipmap(const GrVkGpu* gpu, uint32_t mipLevels); |
protected: |
GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, |
@@ -41,7 +41,7 @@ protected: |
template<typename ResourceType> |
static GrVkTexture* Create(GrVkGpu*, ResourceType, const GrSurfaceDesc&, VkFormat, |
- const GrVkImage::Resource* texImpl); |
+ uint32_t levels, const GrVkImage::Resource* texImpl); |
GrVkGpu* getVkGpu() const; |
@@ -55,8 +55,7 @@ private: |
GrVkTexture(GrVkGpu*, Wrapped, const GrSurfaceDesc&, |
const GrVkImage::Resource*, const GrVkImageView* imageView); |
- |
- const GrVkImageView* fTextureView; |
+ const GrVkImageView* fTextureView; |
typedef GrTexture INHERITED; |
}; |