Home
last modified time | relevance | path

Searched refs:greenBits (Results 1 – 25 of 85) sorted by relevance

1234

/external/deqp/framework/common/
DtcuPixelFormat.hpp38 int greenBits; member
44 , greenBits(green) in PixelFormat()
52 , greenBits(0) in PixelFormat()
82 channelThreshold(greenBits), in getColorThreshold()
120 convertChannel(col.getGreen(), greenBits), in convertColor()
128 greenBits == other.greenBits && in operator ==()
DtcuRasterizationVerifier.cpp89 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors() argument
92 const int thresholdGreen = 1 << (8 - greenBits); in compareColors()
261 …tCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBits) : (args.blueBit… in convertRGB8ToNativeFormat()
669 …ing rasterization result. Native format is RGB" << args.redBits << args.greenBits << args.blueBits… 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 …areColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.greenBits, args.blueBits); in verifySinglesampleLineGroupRasterization()
1198 …ors(surface.getPixel(x+dx, y+dy), tcu::RGBA::white(), args.redBits, args.greenBits, args.blueBits)) in verifySinglesampleLineGroupRasterization()
1286 …areColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.greenBits, args.blueBits); in verifySinglesampleLineGroupRasterization()
1371 …areColors(surface.getPixel(x, y), tcu::RGBA::white(), args.redBits, args.greenBits, args.blueBits); in verifySinglesampleLineGroupRasterization()
[all …]
DtcuSurfaceAccess.hpp37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask()
DtcuRasterizationVerifier.hpp101 int greenBits; member
/external/deqp/framework/opengl/
DgluRenderConfig.cpp36 config->greenBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
47 int greenBits; in parseConfigBitsFromName() member
63 config->greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName()
DgluRenderConfig.hpp85 int greenBits; member
102 , greenBits (DONT_CARE) in RenderConfig()
DgluFboRenderContext.cpp101 if (config.greenBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
102 config.greenBits != bits[1]) in chooseColorFormat()
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp102 , greenBits(greenBits_) in AOSPConfig()
116 , greenBits(0) in AOSPConfig()
129 deInt32 greenBits; member
DglcConfigListWGL.cpp65 …CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueB… in getDefaultWglConfigList()
/external/deqp/framework/platform/win32/
DtcuWGL.hpp109 int greenBits; member in tcu::wgl::PixelFormatInfo
146 , greenBits (0) in PixelFormatInfo()
DtcuWin32EGLNativeDisplayFactory.cpp195 int greenBits = 0; in createPixmap() local
203 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &greenBits); in createPixmap()
208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
DtcuWGL.cpp387 info.greenBits = values[WGL_GREEN_BITS_ARB]; in getPixelFormatInfo()
599 if (config.greenBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
600 config.greenBits != info.greenBits) in choosePixelFormat()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c675 GLint redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0; in OSMesaCreateContextAttribs() local
746 greenBits = CHAN_BITS; in OSMesaCreateContextAttribs()
756 greenBits = CHAN_BITS; in OSMesaCreateContextAttribs()
766 greenBits = CHAN_BITS; in OSMesaCreateContextAttribs()
776 greenBits = CHAN_BITS; in OSMesaCreateContextAttribs()
785 greenBits = CHAN_BITS; in OSMesaCreateContextAttribs()
795 greenBits = 6; in OSMesaCreateContextAttribs()
812 greenBits, in OSMesaCreateContextAttribs()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm165 const bool cg = config.greenBits != glu::RenderConfig::DONT_CARE;
170 (!cg || config.greenBits == 8) &&
176 (!cg || config.greenBits == 6) &&
245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits);
/external/mesa3d/src/mesa/main/
Dcontext.h73 GLint greenBits,
89 GLint greenBits,
Dcontext.c215 GLint greenBits, in _mesa_create_visual() argument
229 redBits, greenBits, blueBits, alphaBits, in _mesa_create_visual()
257 GLint greenBits, in _mesa_initialize_visual() argument
286 vis->greenBits = greenBits; in _mesa_initialize_visual()
289 vis->rgbBits = redBits + greenBits + blueBits; in _mesa_initialize_visual()
/external/deqp/external/openglcts/modules/runner/
DglcTestRunner.cpp105 deInt32 greenBits; member
120 int greenBits; in parseConfigBitsFromName() member
131 cfgInfo.greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName()
269 return cfgInfo.redBits == config.redBits && cfgInfo.greenBits == config.greenBits && in isGLConfigCompatible()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c260 modes->greenBits = green_bits; in driCreateConfigs()
267 modes->rgbBits = modes->redBits + modes->greenBits in driCreateConfigs()
364 __ATTRIB(__DRI_ATTRIB_GREEN_SIZE, greenBits),
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp271 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
368 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
470 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1130 …st int thresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits); in iterate()
1414 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1595 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1793 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
Des2fReadPixelsTests.cpp219 ….0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths… in iterate()
242 ….0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths… in iterate()
/external/deqp/modules/egl/
DteglRenderTests.cpp337 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat()
344 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
378 (colorBits.greenBits > 0 && colorBits.greenBits < 8) || in getColorThreshold()
689 fmt.greenBits = eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE); in getPixelFormat()
751 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts()
960 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts()
/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()
/external/mesa3d/src/glx/
Dglxconfig.h42 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp474 args.greenBits = getPixelFormat().greenBits; in iterate()
599 args.greenBits = getPixelFormat().greenBits; in iterate()
740 args.greenBits = getPixelFormat().greenBits; in iterate()
1279 const int thresholdGreen = 1 << (8 - getPixelFormat().greenBits); in iterate()
1563 args.greenBits = getPixelFormat().greenBits; in iterate()
1745 args.greenBits = getPixelFormat().greenBits; in iterate()
2015 args.greenBits = getPixelFormat().greenBits; in iterate()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp744 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); in toRenderTarget() local
751 …return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits),… in toRenderTarget()

1234