Searched refs:hasLinearBlending (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
H A DExtensions.h43 inline bool hasLinearBlending() const { return hasSRGB() && mHasLinearBlending; } function in class:android::uirenderer::Extensions
H A DTexture.cpp247 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 DTexture.h52 bool hasLinearBlending, sk_sp<SkColorSpace> sRGB);
53 static bool hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending);
H A DCaches.h136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
H A DGradientCache.cpp71 , mHasLinearBlending(extensions.hasLinearBlending()) {
H A DProgramCache.cpp505 , mHasLinearBlending(extensions.hasLinearBlending()) {
/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp228 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 DRenderState.cpp187 if (mCaches->extensions().hasLinearBlending() &&
194 if (mCaches->extensions().hasLinearBlending() &&

Completed in 1336 milliseconds