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

/frameworks/base/libs/hwui/
H A DCaches.h132 * If the device supports linear blending and needSRGB is true,
135 constexpr GLint rgbaInternalFormat(bool needSRGB = true) const {
136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
H A DTexture.cpp196 bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType) {
204 if (needSRGB) {
221 *outInternalFormat = caches.rgbaInternalFormat(needSRGB);
301 bool needSRGB = transferFunctionCloseToSRGB(bitmap.info().colorSpace()); local
305 needSRGB && hasLinearBlending, &internalFormat, &format, &type);
339 if (needSRGB && internalFormat == GL_RGBA
195 colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType) argument
H A DTexture.h55 bool needSRGB, GLint* outInternalFormat, GLint* outFormat, GLint* outType);
/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp227 bool needSRGB = uirenderer::transferFunctionCloseToSRGB(skBitmap.info().colorSpace()); local
231 needSRGB && hasLinearBlending, &internalFormat, &format, &type);

Completed in 83 milliseconds