diff options
author | Greg Daniel <egdaniel@google.com> | 2017-05-23 13:58:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-23 18:20:35 +0000 |
commit | 08d6d605496fe2efc1bc3e6a2899b92b2f98aecf (patch) | |
tree | d66b5d6bea8e58b218e2ba9944fd62050ee5048c /src/gpu | |
parent | 623fadf8be3d3a2061f8b491575c5b82707121df (diff) |
Disable srgb on vulkan nexus player
Bug: skia:
Change-Id: I4f7656badf1b2faec6ed02687e8e0ff2b4daf7f4
Reviewed-on: https://skia-review.googlesource.com/17718
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/vk/GrVkCaps.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index ef0004be04..cb699fb4ad 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp @@ -117,6 +117,12 @@ void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* } #endif +#if defined(SK_CPU_X86) + if (kImagination_VkVendor == properties.vendorID) { + fSRGBSupport = false; + } +#endif + this->applyOptionsOverrides(contextOptions); fShaderCaps->applyOptionsOverrides(contextOptions); } |