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