Home
last modified time | relevance | path

Searched refs:RenderConfig (Results 1 – 25 of 35) sorted by relevance

12

/external/deqp/framework/opengl/
DgluRenderConfig.cpp31 void parseConfigBitsFromName (RenderConfig* config, const char* renderCfgName) in parseConfigBitsFromName()
35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
36 config->greenBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
37 config->blueBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
38 config->alphaBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
39 config->depthBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
40 config->stencilBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
41 config->numSamples == RenderConfig::DONT_CARE); in parseConfigBitsFromName()
143 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine) in parseRenderConfig()
147 …case tcu::SURFACETYPE_WINDOW: config->surfaceType = RenderConfig::SURFACETYPE_WINDOW; break; in parseRenderConfig()
[all …]
DgluFboRenderContext.cpp78 deUint32 chooseColorFormat (const glu::RenderConfig& config) in chooseColorFormat()
97 if (config.redBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
101 if (config.greenBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
105 if (config.blueBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
109 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in chooseColorFormat()
119 deUint32 chooseDepthStencilFormat (const glu::RenderConfig& config) in chooseDepthStencilFormat()
138 if (config.depthBits != glu::RenderConfig::DONT_CARE && in chooseDepthStencilFormat()
142 if (config.stencilBits != glu::RenderConfig::DONT_CARE && in chooseDepthStencilFormat()
152 FboRenderContext::FboRenderContext (RenderContext* context, const RenderConfig& config) in FboRenderContext()
170 FboRenderContext::FboRenderContext (const ContextFactory& factory, const RenderConfig& config, cons… in FboRenderContext()
[all …]
DgluRenderConfig.hpp49 struct RenderConfig struct
94 RenderConfig (ContextType type_ = ContextType()) in RenderConfig() function
115 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine);
116 RenderConfig::Visibility parseWindowVisibility (const tcu::CommandLine& cmdLine);
119 T getValueOrDefault (const RenderConfig& config, const T RenderConfig::*field, T defaultValue) in getValueOrDefault()
122 return value == (T)RenderConfig::DONT_CARE ? defaultValue : value; in getValueOrDefault()
DgluFboRenderContext.hpp39 struct RenderConfig;
47 FboRenderContext (RenderContext* context, const RenderConfig& config);
48 …FboRenderContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLi…
62 void createFramebuffer (const RenderConfig& config);
73 deUint32 chooseColorFormat (const RenderConfig& config);
74 deUint32 chooseDepthStencilFormat (const RenderConfig& config);
DgluContextFactory.hpp65 …virtual RenderContext* createContext (const RenderConfig& config, const tcu::CommandLine& cmdLine…
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp61 using glu::RenderConfig;
71 typedef RenderConfig::Visibility Visibility;
90 RenderContext* createContext (const RenderConfig& config,
162 GlxWindow (GlxVisual& visual, const RenderConfig& cfg);
181 const RenderConfig& config,
229 RenderContext* GlxContextFactory::createContext (const RenderConfig& config, in createContext()
446 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow()
452 m_x11Window.setVisibility(cfg.windowVisibility != RenderConfig::VISIBILITY_HIDDEN); in GlxWindow()
475 int RenderConfig::* cfgMember;
478 { GLX_RED_SIZE, &RenderConfig::redBits },
[all …]
/external/deqp/framework/egl/
DegluGLUtil.cpp204 …y& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig) in configMatches()
218 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) in configMatches()
225 case glu::RenderConfig::SURFACETYPE_WINDOW: requiredSurface = EGL_WINDOW_BIT; break; in configMatches()
226 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE: requiredSurface = EGL_PIXMAP_BIT; break; in configMatches()
227 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC: requiredSurface = EGL_PBUFFER_BIT; break; in configMatches()
241 int glu::RenderConfig::*field; in configMatches()
245 { &glu::RenderConfig::id, EGL_CONFIG_ID }, in configMatches()
246 { &glu::RenderConfig::redBits, EGL_RED_SIZE }, in configMatches()
247 { &glu::RenderConfig::greenBits, EGL_GREEN_SIZE }, in configMatches()
248 { &glu::RenderConfig::blueBits, EGL_BLUE_SIZE }, in configMatches()
[all …]
DegluGLContextFactory.cpp133 …* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const …
151 …* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const …
154 const glu::RenderConfig m_renderConfig;
172 …* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const … in RenderContext()
215 static WindowParams::Visibility getNativeWindowVisibility (glu::RenderConfig::Visibility visibility) in getNativeWindowVisibility()
217 using glu::RenderConfig; in getNativeWindowVisibility()
221 case RenderConfig::VISIBILITY_HIDDEN: return WindowParams::VISIBILITY_HIDDEN; in getNativeWindowVisibility()
222 case RenderConfig::VISIBILITY_VISIBLE: return WindowParams::VISIBILITY_VISIBLE; in getNativeWindowVisibility()
223 case RenderConfig::VISIBILITY_FULLSCREEN: return WindowParams::VISIBILITY_FULLSCREEN; in getNativeWindowVisibility()
225 DE_ASSERT((int)visibility == RenderConfig::DONT_CARE); in getNativeWindowVisibility()
[all …]
DegluGLContextFactory.hpp52 …virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::Command…
DegluGLUtil.hpp53 const glu::RenderConfig& config);
/external/deqp/framework/platform/win32/
DtcuWGLContextFactory.cpp68 …tance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::RenderConfig& config);
93 …stance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::RenderConfig& config) in WGLContext()
96 config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, in WGLContext()
97 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT) in WGLContext()
100 if (config.surfaceType != glu::RenderConfig::SURFACETYPE_WINDOW && in WGLContext()
101 config.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) in WGLContext()
107 if (config.id != glu::RenderConfig::DONT_CARE) in WGLContext()
138 if (config.windowVisibility != glu::RenderConfig::VISIBILITY_VISIBLE && in WGLContext()
139 config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN) in WGLContext()
142 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in WGLContext()
[all …]
DtcuWGL.cpp614 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) in choosePixelFormat()
626 if (config.redBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
630 if (config.greenBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
634 if (config.blueBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
638 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
642 if (config.depthBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
646 if (config.stencilBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
650 if (config.numSamples != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
DtcuWGL.hpp36 struct RenderConfig;
228 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config);
DtcuWGLContextFactory.hpp39 …virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine…
/external/deqp/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp210 …glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&, cons…
216 EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine);
243 glu::RenderContext* ContextFactory::createContext(const glu::RenderConfig& config, const tcu::Comma… in createContext()
248 EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) in EglRenderContext()
303 case glu::RenderConfig::SURFACETYPE_DONT_CARE: in EglRenderContext()
306 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE: in EglRenderContext()
307 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC: in EglRenderContext()
314 case glu::RenderConfig::SURFACETYPE_WINDOW: in EglRenderContext()
316 case glu::RenderConfig::SURFACETYPE_LAST: in EglRenderContext()
364 (glu::RenderConfig::DONT_CARE == config.redBits || red == config.redBits) && in EglRenderContext()
[all …]
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm74 glu::RenderContext* ContextFactory::createContext (const glu::RenderConfig& config, const tcu::Comm…
80 if (config.surfaceType == glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC)
82 else if (config.surfaceType == glu::RenderConfig::SURFACETYPE_WINDOW)
162 NSString* chooseLayerColorFormat (const glu::RenderConfig& config)
164 const bool cr = config.redBits != glu::RenderConfig::DONT_CARE;
165 const bool cg = config.greenBits != glu::RenderConfig::DONT_CARE;
166 const bool cb = config.blueBits != glu::RenderConfig::DONT_CARE;
167 const bool ca = config.alphaBits != glu::RenderConfig::DONT_CARE;
186 ScreenContext::ScreenContext (ScreenManager* screenManager, const glu::RenderConfig& config)
211 void ScreenContext::createFramebuffer (const glu::RenderConfig& config)
DtcuIOSPlatform.hh68 …glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& c…
109 ScreenContext (ScreenManager* screenManager, const glu::RenderConfig& config);
117 void createFramebuffer (const glu::RenderConfig& config);
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp739 static tcu::RenderTarget toRenderTarget (const RenderConfig& renderCfg) in toRenderTarget()
741 const int width = getValueOrDefault(renderCfg, &RenderConfig::width, 256); in toRenderTarget()
742 const int height = getValueOrDefault(renderCfg, &RenderConfig::height, 256); in toRenderTarget()
743 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); in toRenderTarget()
744 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); in toRenderTarget()
745 const int blueBits = getValueOrDefault(renderCfg, &RenderConfig::blueBits, 8); in toRenderTarget()
746 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); in toRenderTarget()
747 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); in toRenderTarget()
748 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); in toRenderTarget()
749 const int numSamples = getValueOrDefault(renderCfg, &RenderConfig::numSamples, 0); in toRenderTarget()
[all …]
DtcuNullRenderContext.hpp35 struct RenderConfig;
56 RenderContext (const glu::RenderConfig& config);
DtcuNullContextFactory.hpp38 …glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&, con…
DtcuNullContextFactory.cpp37 glu::RenderContext* NullGLContextFactory::createContext (const glu::RenderConfig& config, const tcu… in createContext()
/external/deqp/framework/platform/osx/
DtcuOSXPlatform.cpp54 CGLRenderContext (const glu::RenderConfig& config);
77 …glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&, const… in createContext()
159 CGLRenderContext::CGLRenderContext (const glu::RenderConfig& config) in CGLRenderContext()
/external/deqp/framework/platform/android/
DtcuAndroidPlatformCapabilityQueryJNI.cpp102 glu::RenderConfig parseRenderConfig (const std::string& argsStr) in parseRenderConfig()
115 glu::RenderConfig renderConfig (testContextType); in parseRenderConfig()
125 const glu::RenderConfig renderConfig = parseRenderConfig(cmdLineStr); in isRenderConfigSupported()
/external/deqp/external/openglcts/modules/common/
DglcContext.cpp54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext()
62 renderCfg.surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC; in createRenderContext()
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWayland.cpp166 if (width == glu::RenderConfig::DONT_CARE) in Window()
168 if (height == glu::RenderConfig::DONT_CARE) in Window()

12