Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: src/gpu/vk/GrVkTexture.h

Issue 1970293002: Support allowSRGBInputs on Vulkan (via secondary texture views) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: default case for switch Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkPipelineState.cpp ('k') | src/gpu/vk/GrVkTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « src/gpu/vk/GrVkPipelineState.cpp ('k') | src/gpu/vk/GrVkTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698