Searched refs:hasLinearBlending (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Texture.cpp | 247 SkBitmap Texture::uploadToN32(const SkBitmap& bitmap, bool hasLinearBlending, in uploadToN32() argument 251 bitmap.info().alphaType(), hasLinearBlending ? sRGB : nullptr)); in uploadToN32() 267 bool Texture::hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending) { in hasUnsupportedColorType() argument 271 && hasLinearBlending in hasUnsupportedColorType() 300 bool hasLinearBlending = mCaches.extensions().hasLinearBlending(); in upload() local 305 needSRGB && hasLinearBlending, &internalFormat, &format, &type); in upload() 355 if (CC_UNLIKELY(hasUnsupportedColorType(bitmap.info(), hasLinearBlending))) { in upload() 359 SkBitmap rgbaBitmap = uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB)); in upload()
|
D | Texture.h | 52 bool hasLinearBlending, sk_sp<SkColorSpace> sRGB); 53 static bool hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending);
|
D | Extensions.h | 43 inline bool hasLinearBlending() const { return hasSRGB() && mHasLinearBlending; } in hasLinearBlending() function
|
D | Caches.h | 136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
|
D | GradientCache.cpp | 71 , mHasLinearBlending(extensions.hasLinearBlending()) { in GradientCache()
|
D | ProgramCache.cpp | 505 , mHasLinearBlending(extensions.hasLinearBlending()) { in ProgramCache()
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.cpp | 228 bool hasLinearBlending = caches.extensions().hasLinearBlending(); in allocateHardwareBitmap() local 231 needSRGB && hasLinearBlending, &internalFormat, &format, &type); in allocateHardwareBitmap() 248 hasLinearBlending))) { in allocateHardwareBitmap() 250 bitmap = uirenderer::Texture::uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB)); in allocateHardwareBitmap()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.cpp | 187 if (mCaches->extensions().hasLinearBlending() && in interruptForFunctorInvoke() 194 if (mCaches->extensions().hasLinearBlending() && in resumeFromFunctorInvoke()
|