Searched refs:needSRGB (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Texture.cpp | 196 bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType) { in colorTypeToGlFormatAndType() argument 204 if (needSRGB) { in colorTypeToGlFormatAndType() 221 *outInternalFormat = caches.rgbaInternalFormat(needSRGB); in colorTypeToGlFormatAndType() 301 bool needSRGB = transferFunctionCloseToSRGB(bitmap.info().colorSpace()); in upload() local 305 needSRGB && hasLinearBlending, &internalFormat, &format, &type); in upload() 339 if (needSRGB && internalFormat == GL_RGBA in upload()
|
D | Caches.h | 135 constexpr GLint rgbaInternalFormat(bool needSRGB = true) const { 136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
|
D | Texture.h | 55 bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType);
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.cpp | 227 bool needSRGB = uirenderer::transferFunctionCloseToSRGB(skBitmap.info().colorSpace()); in allocateHardwareBitmap() local 231 needSRGB && hasLinearBlending, &internalFormat, &format, &type); in allocateHardwareBitmap()
|