Home
last modified time | relevance | path

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

12345

/external/deqp/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 …]
DtcuSurfaceAccess.hpp39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask()
/external/deqp/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()
DgluFboRenderContext.cpp109 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
110 config.alphaBits != bits[3]) in chooseColorFormat()
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp104 , alphaBits(alphaBits_) in AOSPConfig()
118 , alphaBits(0) in AOSPConfig()
131 deInt32 alphaBits; member
DglcConfigListWGL.cpp66 fmtInfo.alphaBits, fmtInfo.depthBits, fmtInfo.stencilBits, fmtInfo.samples)); in getDefaultWglConfigList()
DglcInfoTests.cpp105 << TestLog::Integer("AlphaBits", "Alpha bits", "", QP_KEY_TAG_NONE, pixelFormat.alphaBits) in iterate()
/external/deqp/framework/platform/win32/
DtcuWGL.hpp113 int alphaBits; member in tcu::wgl::PixelFormatInfo
148 , alphaBits (0) in PixelFormatInfo()
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()
DtcuWGL.cpp389 info.alphaBits = values[WGL_ALPHA_BITS_ARB]; in getPixelFormatInfo()
616 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
617 config.alphaBits != info.alphaBits) in choosePixelFormat()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c680 GLint redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0; in OSMesaCreateContextAttribs() local
753 alphaBits = CHAN_BITS; in OSMesaCreateContextAttribs()
763 alphaBits = CHAN_BITS; in OSMesaCreateContextAttribs()
773 alphaBits = CHAN_BITS; in OSMesaCreateContextAttribs()
783 alphaBits = 0; in OSMesaCreateContextAttribs()
792 alphaBits = 0; in OSMesaCreateContextAttribs()
802 alphaBits = 0; in OSMesaCreateContextAttribs()
819 alphaBits, in OSMesaCreateContextAttribs()
825 alphaBits ? accumBits : 0, in OSMesaCreateContextAttribs()
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c240 GLuint rgbBits, GLuint alphaBits, in add_color_renderbuffers() argument
246 if (rgbBits > 16 || alphaBits > 16) { in add_color_renderbuffers()
403 GLuint blueBits, GLuint alphaBits) in add_accum_renderbuffer() argument
407 if (redBits > 16 || greenBits > 16 || blueBits > 16 || alphaBits > 16) { in add_accum_renderbuffer()
498 fb->Visual.alphaBits, in _swrast_add_soft_renderbuffers()
/external/deqp/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);
/external/mesa3d/src/mesa/main/
Dcontext.h75 GLint alphaBits,
91 GLint alphaBits,
Dcontext.c223 GLint alphaBits, in _mesa_create_visual() argument
235 redBits, greenBits, blueBits, alphaBits, in _mesa_create_visual()
265 GLint alphaBits, in _mesa_initialize_visual() argument
294 vis->alphaBits = alphaBits; in _mesa_initialize_visual()
/external/deqp/external/openglcts/modules/runner/
DglcTestRunner.cpp107 deInt32 alphaBits; member
122 int alphaBits; in parseConfigBitsFromName() member
133 cfgInfo.alphaBits = colorCfgs[ndx].alphaBits; in parseConfigBitsFromName()
270 cfgInfo.blueBits == config.blueBits && cfgInfo.alphaBits == config.alphaBits && in isGLConfigCompatible()
/external/deqp/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()
968 log << TestLog::Message << "EGL_ALPHA_SIZE = " << pixelFmt.alphaBits << TestLog::EndMessage; in executeForContexts()
979 randomizeDrawOp(rnd, *drawOp, (pixelFmt.alphaBits == 1)); in executeForContexts()
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()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c262 modes->alphaBits = alpha_bits; in driCreateConfigs()
268 + modes->blueBits + modes->alphaBits; in driCreateConfigs()
367 __ATTRIB(__DRI_ATTRIB_ALPHA_SIZE, alphaBits),
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp221 ….0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths… in iterate()
244 ….0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths… in iterate()
/external/mesa3d/src/glx/
Dglxconfig.h42 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp746 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); in toRenderTarget() local
751 …return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits),… in toRenderTarget()
/external/deqp/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp252 config.alphaBits), in EglRenderContext()
325 frame_buffer_attribs.push_back(config.alphaBits); in EglRenderContext()

12345