Home
last modified time | relevance | path

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

1234

/external/deqp/framework/common/
DtcuPixelFormat.hpp37 int redBits; member
43 : redBits(red) in PixelFormat()
51 : redBits(0) in PixelFormat()
67 1 << (8 - redBits), in getColorThreshold()
93 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
101 return redBits == other.redBits && in operator ==()
/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.hpp75 int redBits; member
90 , 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/framework/platform/win32/
DtcuWGL.hpp106 int redBits; member in tcu::wgl::PixelFormatInfo
139 , redBits (0) in PixelFormatInfo()
DtcuWGL.cpp339 info.redBits = values[6]; in getPixelFormatInfo()
469 if (config.redBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
470 config.redBits != info.redBits) in choosePixelFormat()
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()
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c404 GLuint redBits, GLuint greenBits, in add_accum_renderbuffer() argument
409 if (redBits > 16 || greenBits > 16 || blueBits > 16 || alphaBits > 16) { in add_accum_renderbuffer()
496 assert(fb->Visual.redBits == fb->Visual.greenBits); in _swrast_add_soft_renderbuffers()
497 assert(fb->Visual.redBits == fb->Visual.blueBits); in _swrast_add_soft_renderbuffers()
499 fb->Visual.redBits, in _swrast_add_soft_renderbuffers()
543 add_aux_renderbuffers(NULL, fb, fb->Visual.redBits, in _swrast_add_soft_renderbuffers()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c618 GLint redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0; in OSMesaCreateContextExt() local
622 redBits = CHAN_BITS; in OSMesaCreateContextExt()
632 redBits = CHAN_BITS; in OSMesaCreateContextExt()
642 redBits = CHAN_BITS; in OSMesaCreateContextExt()
652 redBits = CHAN_BITS; in OSMesaCreateContextExt()
661 redBits = CHAN_BITS; in OSMesaCreateContextExt()
671 redBits = 5; in OSMesaCreateContextExt()
688 redBits, in OSMesaCreateContextExt()
/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.h70 GLint redBits,
86 GLint redBits,
Dcontext.c212 GLint redBits, in _mesa_create_visual() argument
227 redBits, greenBits, blueBits, alphaBits, in _mesa_create_visual()
254 GLint redBits, in _mesa_initialize_visual() argument
283 vis->redBits = redBits; in _mesa_initialize_visual()
287 vis->rgbBits = redBits + greenBits + blueBits; in _mesa_initialize_visual()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c341 modes->redBits = bits[0]; in driCreateConfigs()
349 modes->rgbBits = modes->redBits + modes->greenBits in driCreateConfigs()
444 __ATTRIB(__DRI_ATTRIB_RED_SIZE, redBits),
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp93 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors() argument
95 const int thresholdRed = 1 << (8 - redBits); in compareColors()
265 …const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBi… in convertRGB8ToNativeFormat()
674 …essage << "Verifying rasterization result. Native format is RGB" << args.redBits << args.greenBits… in verifyTriangleGroupInterpolationWithInterpolator()
675 if (args.redBits > 8 || args.greenBits > 8 || args.blueBits > 8) in verifyTriangleGroupInterpolationWithInterpolator()
794 …const tcu::IVec3 formatLimit ((1 << args.redBits) - 1, (1 << args.greenBits) - 1, (1 << args.blue… in verifyTriangleGroupInterpolationWithInterpolator()
1127 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.… in verifySinglesampleLineGroupRasterization()
1152 …if (compareColors(surface.getPixel(x+dx, y+dy), tcu::RGBA::white(), args.redBits, args.greenBits, … in verifySinglesampleLineGroupRasterization()
1240 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.g… in verifySinglesampleLineGroupRasterization()
1321 …const bool result = compareColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.g… in verifySinglesampleLineGroupRasterization()
[all …]
DglsRasterizationTestUtil.hpp103 int redBits; member
DglsTextureTestUtil.hpp259 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask()
267 return tcu::IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits); in getBitsVec()
272 return tcu::BVec4(format.redBits > 0, in getCompareMask()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp267 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
364 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
466 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
997 const int thresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits); in iterate()
1281 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1462 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1660 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/mesa3d/src/glx/
Dglxconfig.h42 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dglcore.h81 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/external/mesa3d/src/glx/apple/
Dapple_visual.c128 attr[numattr++] = mode->redBits + mode->greenBits + mode->blueBits; in apple_visual_create_pfobj()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp728 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); in toRenderTarget() local
736 …return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits),… in toRenderTarget()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp469 args.redBits = getPixelFormat().redBits; in iterate()
594 args.redBits = getPixelFormat().redBits; in iterate()
735 args.redBits = getPixelFormat().redBits; in iterate()
1274 const int thresholdRed = 1 << (8 - getPixelFormat().redBits); in iterate()
1558 args.redBits = getPixelFormat().redBits; in iterate()
1740 args.redBits = getPixelFormat().redBits; in iterate()
2010 args.redBits = getPixelFormat().redBits; in iterate()
/external/deqp/modules/gles3/
Dtes3InfoTests.cpp106 << tcu::TestLog::Integer("RedBits", "Red channel bits", "", QP_KEY_TAG_NONE, pf.redBits) in iterate()
/external/deqp/modules/gles2/
Dtes2InfoTests.cpp106 << tcu::TestLog::Integer("RedBits", "Red channel bits", "", QP_KEY_TAG_NONE, pf.redBits) in iterate()

1234