Home
last modified time | relevance | path

Searched refs:pixelFmt (Results 1 - 5 of 5) sorted by relevance

/third_party/vk-gl-cts/modules/egl/
H A 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 bool imagesOk = tcu::pixelThresholdCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt in executeForContexts()
343 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); executeForContexts() local
[all...]
H A 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()
829 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1, subpixelBits); in executeForContexts()
946 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local
947 const float threshold = getColorThreshold(pixelFmt); in executeForContexts()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcNearestEdgeTests.cpp77 static tcu::TextureFormat toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelFmt);
127 tcu::TextureFormat NearestEdgeTestCase::toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelFmt) in toTextureFormat() argument
131 tcu::PixelFormat pixelFmt; in toTextureFormat() member
146 if (pixelFormatMap[ndx].pixelFmt == pixelFmt) in toTextureFormat()
149 if (pixelFmt == tcu::PixelFormat(8, 8, 8, 0)) in toTextureFormat()
/third_party/vk-gl-cts/framework/egl/
H A 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()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp161 tcu::TextureFormat toTextureFormat (const tcu::PixelFormat& pixelFmt) in toTextureFormat() argument
165 tcu::PixelFormat pixelFmt; in toTextureFormat() member
178 if (pixelFormatMap[ndx].pixelFmt == pixelFmt) in toTextureFormat()

Completed in 10 milliseconds