Home
last modified time | relevance | path

Searched refs:needSRGB (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DTexture.cpp196 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()
DCaches.h135 constexpr GLint rgbaInternalFormat(bool needSRGB = true) const {
136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
DTexture.h55 bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType);
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp227 bool needSRGB = uirenderer::transferFunctionCloseToSRGB(skBitmap.info().colorSpace()); in allocateHardwareBitmap() local
231 needSRGB && hasLinearBlending, &internalFormat, &format, &type); in allocateHardwareBitmap()