Home
last modified time | relevance | path

Searched refs:alphaBits (Results 1 - 25 of 133) sorted by relevance

123456

/third_party/vk-gl-cts/framework/common/
H A 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 ==()
H A 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 >> 2 in decompressBc3()
[all...]
H A DtcuSurfaceAccess.hpp39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DFormat.h37 GLuint alphaBits,
94 GLuint alphaBits; member
120 GLuint alphaBits, in GetChannelCount()
126 (alphaBits > 0 ? 1 : 0) + (luminanceBits > 0 ? 1 : 0) + (depthBits > 0 ? 1 : 0) + in GetChannelCount()
141 GLuint alphaBits, in Format()
164 alphaBits(alphaBits), in Format()
173 alphaBits, in Format()
194 return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); in isLUMA()
117 GetChannelCount(GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits) GetChannelCount() argument
130 Format(FormatID id, GLenum glFormat, GLenum fboFormat, rx::MipGenerationFunction mipGen, const rx::FastCopyFunctionMap &fastCopyFunctions, rx::PixelReadFunction colorRead, rx::PixelWriteFunction colorWrite, GLenum componentType, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits, GLuint pixelBytes, GLuint componentAlignmentMask, bool isBlock, bool isFixed, bool isScaled, bool isSRGB, bool isYUV, gl::VertexAttribType vertexAttribType) Format() argument
H A Dd3d_format.cpp29 alphaBits(0), in D3DFormat()
42 GLuint alphaBits, in D3DFormat()
53 alphaBits(alphaBits), in D3DFormat()
36 D3DFormat(GLuint bits, GLuint blockWidth, GLuint blockHeight, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint lumBits, GLuint depthBits, GLuint stencilBits, FormatID formatID) D3DFormat() argument
H A Dd3d_format.h29 GLuint alphaBits,
44 GLuint alphaBits; member
/third_party/vk-gl-cts/framework/opengl/
H A DgluRenderConfig.cpp38 config->alphaBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
49 int alphaBits; in parseConfigBitsFromName() member
65 config->alphaBits = colorCfgs[ndx].alphaBits; in parseConfigBitsFromName()
H A DgluRenderConfig.hpp87 int alphaBits; member
104 , alphaBits (DONT_CARE) in RenderConfig()
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A 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/
H A DglcConfigList.hpp104 , alphaBits(alphaBits_) in AOSPConfig()
118 , alphaBits(0) in AOSPConfig()
131 deInt32 alphaBits; member
H A 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/glfw/src/
H A Dcontext.c208 if (desired->alphaBits > 0 && current->alphaBits == 0) in _glfwChooseFBConfig()
265 if (desired->alphaBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
267 extraDiff += (desired->alphaBits - current->alphaBits) * in _glfwChooseFBConfig()
268 (desired->alphaBits - current->alphaBits); in _glfwChooseFBConfig()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
H A Drosen_context_impl.cpp207 if (pixelFormat_.alphaBits != -1) in SetConfig()
210 frameBufferAttribs.push_back(pixelFormat_.alphaBits); in SetConfig()
274 if (pixelFormat_.alphaBits != alpha) in SetConfig()
276 if (pixelFormat_.alphaBits != -1) in SetConfig()
277 printf("Failed to eglChooseConfig alphaBits %d != %d\n", pixelFormat_.alphaBits, alpha); in SetConfig()
278 pixelFormat_.alphaBits = alpha; in SetConfig()
316 if (pixelFormat_.redBits == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixelFormat_.alphaBits == 8) in InitNativeWindow()
321 else if (pixelFormat_.redBits == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 && pixelFormat_.alphaBits == 0) in InitNativeWindow()
326 else if (pixelFormat_.redBits == 4 && pixelFormat_.greenBits == 4 && pixelFormat_.blueBits == 4 && pixelFormat_.alphaBits in InitNativeWindow()
[all...]
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWGL.hpp113 int alphaBits; member in tcu::wgl::PixelFormatInfo
151 , alphaBits (0) in PixelFormatInfo()
H A 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()
H A DtcuWin32EGLNativeDisplayFactory.cpp197 int alphaBits = 0; in createPixmap() local
205 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &alphaBits); in createPixmap()
208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
/third_party/vk-gl-cts/modules/egl/
H A 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()
H A DteglColorClearCase.cpp156 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in getPixelFormat()
247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts()
435 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A 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/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A 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/framework/platform/surfaceless/
H A DtcuSurfacelessPlatform.cpp251 config.alphaBits), in EglRenderContext()
322 frame_buffer_attribs.push_back(config.alphaBits); in EglRenderContext()
357 (glu::RenderConfig::DONT_CARE == config.alphaBits || alpha == config.alphaBits) && in EglRenderContext()
/third_party/vk-gl-cts/external/openglcts/modules/runner/
H A DglcTestRunner.cpp109 deInt32 alphaBits; member
124 int alphaBits; in parseConfigBitsFromName() member
135 cfgInfo.alphaBits = colorCfgs[ndx].alphaBits; in parseConfigBitsFromName()
272 cfgInfo.blueBits == config.blueBits && cfgInfo.alphaBits == config.alphaBits && in isGLConfigCompatible()
/third_party/mesa3d/src/mesa/main/
H A Dglconfig.h17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/third_party/skia/third_party/externals/angle2/util/
H A DEGLWindow.cpp29 alphaBits(-1), in ConfigParameters()
408 (mConfigParams.alphaBits >= 0) ? mConfigParams.alphaBits : EGL_DONT_CARE, in initializeSurface()
446 eglGetConfigAttrib(mDisplay, mConfig, EGL_ALPHA_SIZE, &mConfigParams.alphaBits); in initializeSurface()
/third_party/mesa3d/src/glx/
H A Dglxconfig.h39 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member

Completed in 19 milliseconds

123456