Disable GPU sRGB textures for the moment.
TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/817373002
This commit is contained in:
parent
51d1f7e3a4
commit
fe43c40d5d
@ -437,9 +437,9 @@ GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType ct, SkAlphaType, SkColorProf
|
|||||||
case kARGB_4444_SkColorType:
|
case kARGB_4444_SkColorType:
|
||||||
return kRGBA_4444_GrPixelConfig;
|
return kRGBA_4444_GrPixelConfig;
|
||||||
case kRGBA_8888_SkColorType:
|
case kRGBA_8888_SkColorType:
|
||||||
if (kSRGB_SkColorProfileType == pt) {
|
// if (kSRGB_SkColorProfileType == pt) {
|
||||||
return kSRGBA_8888_GrPixelConfig;
|
// return kSRGBA_8888_GrPixelConfig;
|
||||||
}
|
// }
|
||||||
return kRGBA_8888_GrPixelConfig;
|
return kRGBA_8888_GrPixelConfig;
|
||||||
case kBGRA_8888_SkColorType:
|
case kBGRA_8888_SkColorType:
|
||||||
return kBGRA_8888_GrPixelConfig;
|
return kBGRA_8888_GrPixelConfig;
|
||||||
|
Loading…
Reference in New Issue
Block a user