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>
This commit is contained in:
parent
623fadf8be
commit
08d6d60549
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user