Index: src/gpu/vk/GrVkTexture.h |
diff --git a/src/gpu/vk/GrVkTexture.h b/src/gpu/vk/GrVkTexture.h |
index c8fb917347bfaa246472cd144bc954d9a8ed0fa6..eae75ea1318862e855441c8be9db77dc5274d14f 100644 |
--- a/src/gpu/vk/GrVkTexture.h |
+++ b/src/gpu/vk/GrVkTexture.h |
@@ -31,7 +31,7 @@ public: |
void textureParamsModified() override {} |
- const GrVkImageView* textureView() const { return fTextureView; } |
+ const GrVkImageView* textureView(bool allowSRGB); |
bool reallocForMipmap(const GrVkGpu* gpu, uint32_t mipLevels); |
@@ -56,6 +56,7 @@ private: |
const GrVkImage::Resource*, const GrVkImageView* imageView); |
const GrVkImageView* fTextureView; |
+ const GrVkImageView* fLinearTextureView; |
typedef GrTexture INHERITED; |
}; |