Home
last modified time | relevance | path

Searched refs:pixelFmt (Results 1 – 4 of 4) sorted by relevance

/external/deqp/modules/egl/
DteglColorClearCase.cpp151 tcu::PixelFormat pixelFmt; in getPixelFormat() local
153 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &pixelFmt.redBits); in getPixelFormat()
154 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &pixelFmt.greenBits); in getPixelFormat()
155 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &pixelFmt.blueBits); in getPixelFormat()
156 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in getPixelFormat()
158 return pixelFmt; in getPixelFormat()
180 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local
243 renderReference(refFrame, clears, pixelFmt); in executeForContexts()
247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts()
248 …, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt.getColorThreshold… in executeForContexts()
[all …]
DteglRenderTests.cpp739 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local
740 const float threshold = getColorThreshold(pixelFmt); in executeForContexts()
756 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts()
757 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts()
758 log << TestLog::Message << "EGL_BLUE_SIZE = " << pixelFmt.blueBits << TestLog::EndMessage; in executeForContexts()
759 log << TestLog::Message << "EGL_ALPHA_SIZE = " << pixelFmt.alphaBits << TestLog::EndMessage; in executeForContexts()
767 randomizeDrawOp(rnd, *drawOp, (pixelFmt.alphaBits == 1)); in executeForContexts()
826 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1); in executeForContexts()
943 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local
944 const float threshold = getColorThreshold(pixelFmt); in executeForContexts()
[all …]
/external/deqp/framework/egl/
DegluGLContextFactory.cpp451 tcu::PixelFormat pixelFmt; in create() local
456 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_RED_SIZE, &pixelFmt.redBits); in create()
457 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_GREEN_SIZE, &pixelFmt.greenBits); in create()
458 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_BLUE_SIZE, &pixelFmt.blueBits); in create()
459 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in create()
467 m_glRenderTarget = tcu::RenderTarget(width, height, pixelFmt, depthBits, stencilBits, numSamples); in create()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp158 tcu::TextureFormat toTextureFormat (const tcu::PixelFormat& pixelFmt) in toTextureFormat() argument
162 tcu::PixelFormat pixelFmt; in toTextureFormat() member
175 if (pixelFormatMap[ndx].pixelFmt == pixelFmt) in toTextureFormat()