Home
last modified time | relevance | path

Searched refs:renderCfg (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcContext.cpp54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext() local
56 glu::parseRenderConfig(&renderCfg, m_testCtx.getCommandLine()); in createRenderContext()
62 renderCfg.surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC; in createRenderContext()
65 …erCtx = glu::createRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), renderCfg); in createRenderContext()
DglcNoErrorTests.cpp73 RenderConfig renderCfg(glu::ContextType(m_ApiType, glu::CONTEXT_NO_ERROR)); in verifyNoErrorContext() local
76 glu::parseRenderConfig(&renderCfg, commandLine); in verifyNoErrorContext()
81 …nderContext* noErrorContext = createRenderContext(m_testCtx.getPlatform(), commandLine, renderCfg); in verifyNoErrorContext()
DglcContextFlagsTests.cpp63 glu::RenderConfig renderCfg(glu::ContextType(m_ApiType, m_passedFlags)); in createContext() local
66 glu::parseRenderConfig(&renderCfg, commandLine); in createContext()
71 m_caseContext = glu::createRenderContext(m_testCtx.getPlatform(), commandLine, renderCfg); in createContext()
DglcRobustnessTests.cpp76 glu::RenderConfig renderCfg(glu::ContextType(m_ApiType, glu::CONTEXT_ROBUST)); in createRobustContext() local
78 glu::parseRenderConfig(&renderCfg, commandLine); in createRobustContext()
81 renderCfg.resetNotificationStrategy = reset; in createRobustContext()
86 return createRenderContext(m_testCtx.getPlatform(), commandLine, renderCfg); in createRobustContext()
DglcKHRDebugTests.cpp188 glu::RenderConfig renderCfg(glu::ContextType(m_apiType, glu::CONTEXT_DEBUG)); in initDebug() local
191 parseRenderConfig(&renderCfg, commandLine); in initDebug()
196 m_rc = createRenderContext(platform, commandLine, renderCfg); in initDebug()
205 glu::RenderConfig renderCfg(glu::ContextType(m_apiType, glu::ContextFlags(0))); in initNonDebug() local
208 parseRenderConfig(&renderCfg, commandLine); in initNonDebug()
213 m_rc = createRenderContext(platform, commandLine, renderCfg); in initNonDebug()
DglcRobustBufferAccessBehaviorTests.cpp1038 glu::RenderConfig renderCfg(glu::ContextType(m_api_type, glu::CONTEXT_ROBUST)); in createRobustContext() local
1040 glu::parseRenderConfig(&renderCfg, commandLine); in createRobustContext()
1043 renderCfg.resetNotificationStrategy = reset; in createRobustContext()
1048 return createRenderContext(m_testCtx.getPlatform(), commandLine, renderCfg); in createRobustContext()
/third_party/vk-gl-cts/framework/platform/null/
DtcuNullRenderContext.cpp744 static tcu::RenderTarget toRenderTarget (const RenderConfig& renderCfg) in toRenderTarget() argument
746 const int width = getValueOrDefault(renderCfg, &RenderConfig::width, 256); in toRenderTarget()
747 const int height = getValueOrDefault(renderCfg, &RenderConfig::height, 256); in toRenderTarget()
748 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); in toRenderTarget()
749 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); in toRenderTarget()
750 const int blueBits = getValueOrDefault(renderCfg, &RenderConfig::blueBits, 8); in toRenderTarget()
751 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); in toRenderTarget()
752 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); in toRenderTarget()
753 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); in toRenderTarget()
754 const int numSamples = getValueOrDefault(renderCfg, &RenderConfig::numSamples, 0); in toRenderTarget()
[all …]
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp506 static bool configMatches (GlxVisual& visual, const RenderConfig& renderCfg) in configMatches() argument
508 if (renderCfg.id != RenderConfig::DONT_CARE) in configMatches()
509 return visual.getAttrib(GLX_FBCONFIG_ID) == renderCfg.id; in configMatches()
513 const int requested = renderCfg.*it->cfgMember; in configMatches()
520 deUint32 bits = surfaceTypeToDrawableBits(renderCfg.surfaceType); in configMatches()
527 if (renderCfg.surfaceType == RenderConfig::SURFACETYPE_WINDOW && in configMatches()