Home
last modified time | relevance | path

Searched refs:redBits (Results 1 – 25 of 98) sorted by relevance

1234

/external/deqp/framework/common/
DtcuPixelFormat.hpp37 int redBits; member
43 : redBits(red) in PixelFormat()
51 : redBits(0) in PixelFormat()
81 channelThreshold(redBits), in getColorThreshold()
119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
127 return redBits == other.redBits && in operator ==()
DtcuRasterizationVerifier.cpp89 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors() argument
91 const int thresholdRed = 1 << (8 - redBits); in compareColors()
261 …const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBi… in convertRGB8ToNativeFormat()
669 …essage << "Verifying rasterization result. Native format is RGB" << args.redBits << args.greenBits… in verifyTriangleGroupInterpolationWithInterpolator()
670 if (args.redBits > 8 || args.greenBits > 8 || args.blueBits > 8) in verifyTriangleGroupInterpolationWithInterpolator()
789 …const tcu::IVec3 formatLimit ((1 << args.redBits) - 1, (1 << args.greenBits) - 1, (1 << args.blue… in verifyTriangleGroupInterpolationWithInterpolator()
1173 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.… in verifySinglesampleLineGroupRasterization()
1198 …if (compareColors(surface.getPixel(x+dx, y+dy), tcu::RGBA::white(), args.redBits, args.greenBits, … in verifySinglesampleLineGroupRasterization()
1286 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.g… in verifySinglesampleLineGroupRasterization()
1371 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.g… in verifySinglesampleLineGroupRasterization()
[all …]
DtcuSurfaceAccess.hpp36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask()
DtcuRasterizationVerifier.hpp100 int redBits; member
/external/deqp/framework/opengl/
DgluRenderConfig.cpp35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
46 int redBits; in parseConfigBitsFromName() member
62 config->redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName()
DgluRenderConfig.hpp84 int redBits; member
101 , redBits (DONT_CARE) in RenderConfig()
DgluFboRenderContext.cpp97 if (config.redBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
98 config.redBits != bits[0]) in chooseColorFormat()
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp101 , redBits(redBits_) in AOSPConfig()
115 , redBits(0) in AOSPConfig()
128 deInt32 redBits; member
DglcConfigListWGL.cpp65 …CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueB… in getDefaultWglConfigList()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c209 ctx->DrawBuffer->Visual.redBits == 32) { in osmesa_choose_line_function()
322 ctx->DrawBuffer->Visual.redBits == 32) { in osmesa_choose_triangle_function()
680 GLint redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0; in OSMesaCreateContextAttribs() local
750 redBits = CHAN_BITS; in OSMesaCreateContextAttribs()
760 redBits = CHAN_BITS; in OSMesaCreateContextAttribs()
770 redBits = CHAN_BITS; in OSMesaCreateContextAttribs()
780 redBits = CHAN_BITS; in OSMesaCreateContextAttribs()
789 redBits = CHAN_BITS; in OSMesaCreateContextAttribs()
799 redBits = 5; in OSMesaCreateContextAttribs()
816 redBits, in OSMesaCreateContextAttribs()
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c402 GLuint redBits, GLuint greenBits, in add_accum_renderbuffer() argument
407 if (redBits > 16 || greenBits > 16 || blueBits > 16 || alphaBits > 16) { in add_accum_renderbuffer()
494 assert(fb->Visual.redBits == fb->Visual.greenBits); in _swrast_add_soft_renderbuffers()
495 assert(fb->Visual.redBits == fb->Visual.blueBits); in _swrast_add_soft_renderbuffers()
497 fb->Visual.redBits, in _swrast_add_soft_renderbuffers()
541 add_aux_renderbuffers(NULL, fb, fb->Visual.redBits, in _swrast_add_soft_renderbuffers()
/external/deqp/framework/platform/win32/
DtcuWGL.hpp107 int redBits; member in tcu::wgl::PixelFormatInfo
145 , redBits (0) in PixelFormatInfo()
DtcuWin32EGLNativeDisplayFactory.cpp194 int redBits = 0; in createPixmap() local
202 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &redBits); in createPixmap()
208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
DtcuWGL.cpp386 info.redBits = values[WGL_RED_BITS_ARB]; in getPixelFormatInfo()
604 if (config.redBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
605 config.redBits != info.redBits) in choosePixelFormat()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm164 const bool cr = config.redBits != glu::RenderConfig::DONT_CARE;
169 if ((!cr || config.redBits == 8) &&
175 if ((!cr || config.redBits == 5) &&
244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits);
/external/mesa3d/src/mesa/main/
Dcontext.h72 GLint redBits,
88 GLint redBits,
Dcontext.c220 GLint redBits, in _mesa_create_visual() argument
235 redBits, greenBits, blueBits, alphaBits, in _mesa_create_visual()
262 GLint redBits, in _mesa_initialize_visual() argument
291 vis->redBits = redBits; in _mesa_initialize_visual()
295 vis->rgbBits = redBits + greenBits + blueBits; in _mesa_initialize_visual()
/external/deqp/external/openglcts/modules/runner/
DglcTestRunner.cpp104 deInt32 redBits; member
119 int redBits; in parseConfigBitsFromName() member
130 cfgInfo.redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName()
269 return cfgInfo.redBits == config.redBits && cfgInfo.greenBits == config.greenBits && in isGLConfigCompatible()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c259 modes->redBits = red_bits; in driCreateConfigs()
267 modes->rgbBits = modes->redBits + modes->greenBits in driCreateConfigs()
364 __ATTRIB(__DRI_ATTRIB_RED_SIZE, redBits),
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp270 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
367 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
469 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1129 const int thresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits); in iterate()
1413 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1594 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1792 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
Des2fReadPixelsTests.cpp218 …2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.… in iterate()
241 …2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths… in iterate()
/external/deqp/modules/egl/
DteglRenderTests.cpp342 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat()
350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
383 if ((colorBits.redBits > 0 && colorBits.redBits < 8) || in getColorThreshold()
694 fmt.redBits = eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE); in getPixelFormat()
756 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts()
965 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts()
/external/mesa3d/src/glx/
Dglxconfig.h42 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp473 args.redBits = getPixelFormat().redBits; in iterate()
598 args.redBits = getPixelFormat().redBits; in iterate()
739 args.redBits = getPixelFormat().redBits; in iterate()
1278 const int thresholdRed = 1 << (8 - getPixelFormat().redBits); in iterate()
1562 args.redBits = getPixelFormat().redBits; in iterate()
1744 args.redBits = getPixelFormat().redBits; in iterate()
2014 args.redBits = getPixelFormat().redBits; in iterate()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp743 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); in toRenderTarget() local
751 …return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits),… in toRenderTarget()

1234