Home
last modified time | relevance | path

Searched refs:alphaBits (Results 1 – 25 of 163) sorted by relevance

1234567

/third_party/vk-gl-cts/framework/common/
DtcuPixelFormat.hpp40 int alphaBits; member
46 , alphaBits(alpha) in PixelFormat()
54 , alphaBits(0) in PixelFormat()
84 alphaBits ? channelThreshold(alphaBits) : 0); in getColorThreshold()
122 alphaBits ? convertChannel(col.getAlpha(), alphaBits) : 0xff); in convertColor()
130 alphaBits == other.alphaBits; in operator ==()
DtcuCompressedTexture.cpp1628 const deUint64 alphaBits = get64BitBlockLE(src, 0) >> 16; in decompressBc3() local
1653 (deInt32)((alphaBits >> 0) & 0x7), in decompressBc3()
1654 (deInt32)((alphaBits >> 3) & 0x7), in decompressBc3()
1655 (deInt32)((alphaBits >> 6) & 0x7), in decompressBc3()
1656 (deInt32)((alphaBits >> 9) & 0x7), in decompressBc3()
1657 (deInt32)((alphaBits >> 12) & 0x7), in decompressBc3()
1658 (deInt32)((alphaBits >> 15) & 0x7), in decompressBc3()
1659 (deInt32)((alphaBits >> 18) & 0x7), in decompressBc3()
1660 (deInt32)((alphaBits >> 21) & 0x7), in decompressBc3()
1661 (deInt32)((alphaBits >> 24) & 0x7), in decompressBc3()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h37 GLuint alphaBits,
90 GLuint alphaBits; member
114 GLuint alphaBits, in GetChannelCount() argument
120 (alphaBits > 0 ? 1 : 0) + (luminanceBits > 0 ? 1 : 0) + (depthBits > 0 ? 1 : 0) + in GetChannelCount()
135 GLuint alphaBits, in Format() argument
156 alphaBits(alphaBits), in Format()
165 alphaBits, in Format()
184 return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); in isLUMA()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h37 GLuint alphaBits,
94 GLuint alphaBits; member
120 GLuint alphaBits, in GetChannelCount() argument
126 (alphaBits > 0 ? 1 : 0) + (luminanceBits > 0 ? 1 : 0) + (depthBits > 0 ? 1 : 0) + in GetChannelCount()
141 GLuint alphaBits, in Format() argument
164 alphaBits(alphaBits), in Format()
173 alphaBits, in Format()
194 return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); in isLUMA()
Dd3d_format.cpp29 alphaBits(0), in D3DFormat()
42 GLuint alphaBits, in D3DFormat() argument
53 alphaBits(alphaBits), in D3DFormat()
Dd3d_format.h29 GLuint alphaBits,
44 GLuint alphaBits; member
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
Drosen_context_impl.cpp170 if (pixelFormat_.alphaBits != -1) in SetConfig()
173 frameBufferAttribs.push_back(pixelFormat_.alphaBits); in SetConfig()
237 if (pixelFormat_.alphaBits != alpha) in SetConfig()
239 if (pixelFormat_.alphaBits != -1) in SetConfig()
240 printf("Failed to eglChooseConfig alphaBits %d != %d\n", pixelFormat_.alphaBits, alpha); in SetConfig()
241 pixelFormat_.alphaBits = alpha; in SetConfig()
279 …s == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixelFormat_.alphaBits == 8) in InitNativeWindow()
284 …s == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 && pixelFormat_.alphaBits == 0) in InitNativeWindow()
289 …s == 4 && pixelFormat_.greenBits == 4 && pixelFormat_.blueBits == 4 && pixelFormat_.alphaBits == 4) in InitNativeWindow()
/third_party/vk-gl-cts/framework/opengl/
DgluRenderConfig.cpp38 config->alphaBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
49 int alphaBits; in parseConfigBitsFromName() member
65 config->alphaBits = colorCfgs[ndx].alphaBits; in parseConfigBitsFromName()
DgluRenderConfig.hpp87 int alphaBits; member
104 , alphaBits (DONT_CARE) in RenderConfig()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp72 printf("config.alphaBits = %d\n", config.alphaBits); in OhosRendContext()
117 .alphaBits = 8, in OhosRendContext()
134 if (config.alphaBits != -1) in OhosRendContext()
136 pf.alphaBits = config.alphaBits; in OhosRendContext()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigList.hpp104 , alphaBits(alphaBits_) in AOSPConfig()
118 , alphaBits(0) in AOSPConfig()
131 deInt32 alphaBits; member
DglcConfigListWGL.cpp63 (fmtInfo.redBits > 8 || fmtInfo.greenBits > 8 || fmtInfo.blueBits > 8 || fmtInfo.alphaBits > 8)) in getDefaultWglConfigList()
81 fmtInfo.alphaBits, fmtInfo.depthBits, fmtInfo.stencilBits, fmtInfo.samples)); in getDefaultWglConfigList()
/third_party/flutter/glfw/src/
Dcontext.c188 if (desired->alphaBits > 0 && current->alphaBits == 0) in _glfwChooseFBConfig()
242 if (desired->alphaBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
244 extraDiff += (desired->alphaBits - current->alphaBits) * in _glfwChooseFBConfig()
245 (desired->alphaBits - current->alphaBits); in _glfwChooseFBConfig()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h40 GLuint alphaBits,
55 GLuint alphaBits; member
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.hpp113 int alphaBits; member in tcu::wgl::PixelFormatInfo
151 , alphaBits (0) in PixelFormatInfo()
DtcuWGL.cpp407 info.alphaBits = values[WGL_ALPHA_BITS_ARB]; in getPixelFormatInfo()
638 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
639 config.alphaBits != info.alphaBits) in choosePixelFormat()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSPlatform.mm167 const bool ca = config.alphaBits != glu::RenderConfig::DONT_CARE;
172 (!ca || config.alphaBits == 8))
178 (!ca || config.alphaBits == 0))
247 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &pixelFormat.alphaBits);
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp248 config.alphaBits), in EglRenderContext()
320 frame_buffer_attribs.push_back(config.alphaBits); in EglRenderContext()
355 (glu::RenderConfig::DONT_CARE == config.alphaBits || alpha == config.alphaBits) && in EglRenderContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp211 return (intendedFormat.alphaBits == 0 && actualFormat.alphaBits > 0) || in HasEmulatedImageChannels()
449 swizzleA = (angleFormat.alphaBits > 0 ? GL_GREEN : GL_ONE); in GetFormatSwizzle()
484 internalSwizzle.swizzleAlpha = angleFormat.alphaBits > 0 ? GL_ALPHA : GL_ONE; in GetFormatSwizzle()
/third_party/vk-gl-cts/modules/egl/
DteglRenderTests.cpp345 de::inBounds(colorBits.alphaBits, 0, 0xff)); in getColorFormat()
350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
386 (colorBits.alphaBits > 0 && colorBits.alphaBits < 8)) in getColorThreshold()
697 fmt.alphaBits = eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE); in getPixelFormat()
759 log << TestLog::Message << "EGL_ALPHA_SIZE = " << pixelFmt.alphaBits << TestLog::EndMessage; in executeForContexts()
767 randomizeDrawOp(rnd, *drawOp, (pixelFmt.alphaBits == 1)); in executeForContexts()
971 log << TestLog::Message << "EGL_ALPHA_SIZE = " << pixelFmt.alphaBits << TestLog::EndMessage; in executeForContexts()
982 randomizeDrawOp(rnd, *drawOp, (pixelFmt.alphaBits == 1)); in executeForContexts()
/third_party/flutter/skia/third_party/externals/angle2/util/
DEGLWindow.cpp24 alphaBits(-1), in ConfigParameters()
208 (mConfigParams.alphaBits >= 0) ? mConfigParams.alphaBits : EGL_DONT_CARE, in initializeSurface()
245 eglGetConfigAttrib(mDisplay, mConfig, EGL_ALPHA_SIZE, &mConfigParams.alphaBits); in initializeSurface()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp495 (formatInfo.blueBits == 0 || !b) && (formatInfo.alphaBits == 0 || !a)) in clearFramebuffer()
507 (formatInfo.alphaBits > 0 && !a)) in clearFramebuffer()
530 ((formatInfo.alphaBits == 0 && nativeFormat.alphaBits > 0) in clearFramebuffer()
535 if (formatInfo.alphaBits == 1) in clearFramebuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp499 (formatInfo.alphaBits == 0 || !clearParams.colorMaskAlpha)) in clearFramebuffer()
513 (formatInfo.alphaBits > 0 && !clearParams.colorMaskAlpha)) in clearFramebuffer()
536 ((formatInfo.alphaBits == 0 && nativeFormat.alphaBits > 0) in clearFramebuffer()
541 if (formatInfo.alphaBits == 1) in clearFramebuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuANGLENativeDisplayFactory.cpp222 int alphaBits = 0; in createPixmap() local
230 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &alphaBits); in createPixmap()
233 bitSum = redBits + greenBits + blueBits + alphaBits; in createPixmap()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp185 return (angleFmt.alphaBits == 0 && textureFmt.alphaBits > 0) || in hasEmulatedImageChannels()
389 internalSwizzle.swizzleAlpha = angleFormat.alphaBits > 0 ? GL_ALPHA : GL_ONE; in MapSwizzleState()

1234567