Home
last modified time | relevance | path

Searched refs:hasAlpha (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_traits.h57 static const bool hasAlpha{false};
84 static const bool hasAlpha{true};
107 static const bool hasAlpha{true};
130 static const bool hasAlpha{true};
152 static const bool hasAlpha{false};
181 static const bool hasAlpha{false};
210 static const bool hasAlpha{true};
239 static const bool hasAlpha{true};
268 static const bool hasAlpha{true};
291 static const bool hasAlpha{false};
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java37 private final boolean hasAlpha; field in ImageHeaderParser.ImageType
39 ImageType(boolean hasAlpha) { in ImageType() argument
40 this.hasAlpha = hasAlpha; in ImageType()
43 public boolean hasAlpha() { in hasAlpha() method in ImageHeaderParser.ImageType
44 return hasAlpha; in hasAlpha()
82 public boolean hasAlpha() throws IOException { in hasAlpha() method in ImageHeaderParser
83 return getType().hasAlpha(); in hasAlpha()
DDownsampler.java239 boolean hasAlpha = false; in getConfig()
243 hasAlpha = new ImageHeaderParser(is).hasAlpha(); in getConfig()
258 return hasAlpha ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565; in getConfig()
DBitmapEncoder.java62 } else if (bitmap.hasAlpha()) { in getFormat()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmap.java48 private boolean hasAlpha; field in ShadowBitmap
203 boolean hasAlpha) { in createBitmap() argument
481 protected final boolean hasAlpha() { in hasAlpha() method in ShadowBitmap
482 return hasAlpha; in hasAlpha()
486 protected void setHasAlpha(boolean hasAlpha) { in setHasAlpha() argument
487 this.hasAlpha = hasAlpha; in setHasAlpha()
/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DNativeWindow11WinRT.cpp21 NativeWindow11WinRT::NativeWindow11WinRT(EGLNativeWindowType window, bool hasAlpha) in NativeWindow11WinRT() argument
22 : NativeWindow11(window), mHasAlpha(hasAlpha) in NativeWindow11WinRT()
DNativeWindow11WinRT.h26 NativeWindow11WinRT(EGLNativeWindowType window, bool hasAlpha);
/external/skqp/src/codec/
DSkWebpCodec.cpp134 const bool hasAlpha = SkToBool(frame.has_alpha) in MakeFromStream() local
149 if (hasAlpha) { in MakeFromStream()
159 if (hasAlpha) { in MakeFromStream()
207 SkWebpCodec::Frame* SkWebpCodec::FrameHolder::appendNewFrame(bool hasAlpha) { in appendNewFrame() argument
209 fFrames.emplace_back(i, hasAlpha ? SkEncodedInfo::kUnpremul_Alpha in appendNewFrame()
317 frameInfo->fAlphaType = frame->hasAlpha() ? kUnpremul_SkAlphaType in onGetFrameInfo()
DSkWebpCodec.h83 Frame* appendNewFrame(bool hasAlpha);
DSkFrameHolder.h68 bool hasAlpha() const { return fHasAlpha; } in hasAlpha() function
DSkCodec.cpp304 return this->initializeColorXform(info, frame->reportedAlpha(), !frame->hasAlpha()) in handleFrameIndex()
784 frame->setHasAlpha(prevFrame->hasAlpha() || clearPrevFrame); in setAlphaAndRequiredFrame()
815 frame->setHasAlpha(prevFrame->hasAlpha() || (reportsAlpha && !blendWithPrevFrame)); in setAlphaAndRequiredFrame()
/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp245 const bool hasAlpha = yuvEffect.fLocations[SkYUVAInfo::YUVAChannels::kA].fPlane >= 0; in onMakeProgramImpl() local
250 for (int locIdx = 0; locIdx < (hasAlpha ? 4 : 3); ++locIdx) { in onMakeProgramImpl()
268 if (!hasAlpha) { in onMakeProgramImpl()
282 if (hasAlpha) { in onMakeProgramImpl()
/external/skqp/src/ports/
DSkImageGeneratorCG.cpp83 bool hasAlpha = bool(CFDictionaryGetValue(properties.get(), kCGImagePropertyHasAlpha)); in MakeFromEncodedCG() local
84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG()
/external/skia/src/ports/
DSkImageGeneratorCG.cpp83 bool hasAlpha = bool(CFDictionaryGetValue(properties.get(), kCGImagePropertyHasAlpha)); in MakeFromEncodedCG() local
84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG()
/external/skia/src/codec/
DSkWebpCodec.cpp133 const bool hasAlpha = SkToBool(frame.has_alpha) in MakeFromStream() local
148 if (hasAlpha) { in MakeFromStream()
158 if (hasAlpha) { in MakeFromStream()
191 SkWebpCodec::Frame* SkWebpCodec::FrameHolder::appendNewFrame(bool hasAlpha) { in appendNewFrame() argument
193 fFrames.emplace_back(i, hasAlpha ? SkEncodedInfo::kUnpremul_Alpha in appendNewFrame()
DSkWebpCodec.h80 Frame* appendNewFrame(bool hasAlpha);
DSkFrameHolder.h70 bool hasAlpha() const { return fHasAlpha; } in hasAlpha() function
/external/angle/src/libANGLE/renderer/d3d/d3d11/win32/
DNativeWindow11Win32.cpp23 bool hasAlpha, in NativeWindow11Win32() argument
27 mHasAlpha(hasAlpha), in NativeWindow11Win32()
DNativeWindow11Win32.h24 NativeWindow11Win32(EGLNativeWindowType window, bool hasAlpha, bool directComposition);
/external/skqp/bench/
DGradientBench.cpp328 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument
329 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench()
330 fHasAlpha = hasAlpha; in Gradient2Bench()
/external/skia/bench/
DGradientBench.cpp316 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument
317 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench()
318 fHasAlpha = hasAlpha; in Gradient2Bench()
/external/angle/src/libANGLE/renderer/d3d/d3d11/converged/
DCompositorNativeWindow11.h78 CompositorNativeWindow11(EGLNativeWindowType window, bool hasAlpha);
DCompositorNativeWindow11.cpp20 CompositorNativeWindow11::CompositorNativeWindow11(EGLNativeWindowType window, bool hasAlpha) in CompositorNativeWindow11() argument
21 : NativeWindow11(window), mHasAlpha(hasAlpha) in CompositorNativeWindow11()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp479 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in iterate() local
480 …tcu::TextureLevel rendered (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::Textur… in iterate()
481 …tcu::TextureLevel reference (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::Textu… in iterate()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp45 proxies.yuvaInfo().hasAlpha() ? kPremul_SkAlphaType in SkImage_GpuYUVA()
356 SkAlphaType at = backendTextureInfo.yuvaInfo().hasAlpha() ? kPremul_SkAlphaType in MakePromiseYUVATexture()

12