Home
last modified time | relevance | path

Searched refs:RenderConfig (Results 1 – 25 of 27) 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.hpp40 struct RenderConfig struct
83 RenderConfig (ContextType type_ = ContextType()) in RenderConfig() function
103 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine);
104 RenderConfig::Visibility parseWindowVisibility (const tcu::CommandLine& cmdLine);
107 T getValueOrDefault (const RenderConfig& config, const T RenderConfig::*field, T defaultValue) in getValueOrDefault()
110 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…
59 void createFramebuffer (const RenderConfig& config);
70 deUint32 chooseColorFormat (const RenderConfig& config);
71 deUint32 chooseDepthStencilFormat (const RenderConfig& config);
DgluES3PlusWrapperContext.hpp39 struct RenderConfig;
54 …ES3PlusWrapperContext (const ContextFactory& factory, const RenderConfig& config, const tcu::Comma…
DgluContextFactory.hpp64 …virtual RenderContext* createContext (const RenderConfig& config, const tcu::CommandLine& cmdLine…
/external/deqp/framework/platform/X11/
DtcuX11GlxPlatform.cpp50 using glu::RenderConfig;
60 typedef RenderConfig::Visibility Visibility;
79 RenderContext* createContext (const RenderConfig& config,
148 GlxWindow (GlxVisual& visual, const RenderConfig& cfg);
167 const RenderConfig& config);
210 RenderContext* GlxContextFactory::createContext (const RenderConfig& config, in createContext()
361 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow()
367 m_x11Window.setVisibility(cfg.windowVisibility != RenderConfig::VISIBILITY_HIDDEN); in GlxWindow()
390 int RenderConfig::* cfgMember;
393 { GLX_RED_SIZE, &RenderConfig::redBits },
[all …]
DtcuX11.cpp165 if (width == glu::RenderConfig::DONT_CARE) in Window()
167 if (height == glu::RenderConfig::DONT_CARE) in Window()
/external/deqp/framework/egl/
DegluGLUtil.cpp158 …y& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig) in configMatches()
172 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) in configMatches()
179 case glu::RenderConfig::SURFACETYPE_WINDOW: requiredSurface = EGL_WINDOW_BIT; break; in configMatches()
180 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE: requiredSurface = EGL_PIXMAP_BIT; break; in configMatches()
181 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC: requiredSurface = EGL_PBUFFER_BIT; break; in configMatches()
195 int glu::RenderConfig::*field; in configMatches()
199 { &glu::RenderConfig::id, EGL_CONFIG_ID }, in configMatches()
200 { &glu::RenderConfig::redBits, EGL_RED_SIZE }, in configMatches()
201 { &glu::RenderConfig::greenBits, EGL_GREEN_SIZE }, in configMatches()
202 { &glu::RenderConfig::blueBits, EGL_BLUE_SIZE }, in configMatches()
[all …]
DegluGLContextFactory.cpp130 …Factory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config);
142 …Factory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config);
145 const glu::RenderConfig m_renderConfig;
162 …wFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config) in RenderContext()
205 static WindowParams::Visibility getNativeWindowVisibility (glu::RenderConfig::Visibility visibility) in getNativeWindowVisibility()
207 using glu::RenderConfig; in getNativeWindowVisibility()
211 case RenderConfig::VISIBILITY_HIDDEN: return WindowParams::VISIBILITY_HIDDEN; in getNativeWindowVisibility()
212 case RenderConfig::VISIBILITY_VISIBLE: return WindowParams::VISIBILITY_VISIBLE; in getNativeWindowVisibility()
213 case RenderConfig::VISIBILITY_FULLSCREEN: return WindowParams::VISIBILITY_FULLSCREEN; in getNativeWindowVisibility()
215 DE_ASSERT((int)visibility == RenderConfig::DONT_CARE); in getNativeWindowVisibility()
[all …]
DegluGLContextFactory.hpp50 …virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::Command…
DegluGLUtil.hpp43 …ooseConfig (const eglw::Library& egl, eglw::EGLDisplay display, const glu::RenderConfig& config);
/external/deqp/framework/platform/win32/
DtcuWGLContextFactory.cpp68 … WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config);
89 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& conf… in WGLContext()
92 config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, in WGLContext()
93 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT) in WGLContext()
96 if (config.surfaceType != glu::RenderConfig::SURFACETYPE_WINDOW && in WGLContext()
97 config.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) in WGLContext()
103 if (config.id != glu::RenderConfig::DONT_CARE) in WGLContext()
130 if (config.windowVisibility != glu::RenderConfig::VISIBILITY_VISIBLE && in WGLContext()
131 config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN) in WGLContext()
134 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in WGLContext()
[all …]
DtcuWin32GLES3Platform.cpp61 … Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config);
84 …text::Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config) in Win32GLES3Context()
85 …: m_renderTarget(config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDT… in Win32GLES3Context()
86 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT, in Win32GLES3Context()
108 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in Win32GLES3Context()
150 …virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandL…
168 glu::RenderContext* Win32GLES3ContextFactory::createContext (const glu::RenderConfig& config, const… in createContext()
DtcuWGL.cpp454 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) in choosePixelFormat()
469 if (config.redBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
473 if (config.greenBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
477 if (config.blueBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
481 if (config.alphaBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
485 if (config.depthBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
489 if (config.stencilBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
493 if (config.numSamples != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
DtcuWGL.hpp35 struct RenderConfig;
210 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/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.cpp724 static tcu::RenderTarget toRenderTarget (const RenderConfig& renderCfg) in toRenderTarget()
726 const int width = getValueOrDefault(renderCfg, &RenderConfig::width, 256); in toRenderTarget()
727 const int height = getValueOrDefault(renderCfg, &RenderConfig::height, 256); in toRenderTarget()
728 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); in toRenderTarget()
729 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); in toRenderTarget()
730 const int blueBits = getValueOrDefault(renderCfg, &RenderConfig::blueBits, 8); in toRenderTarget()
731 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); in toRenderTarget()
732 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); in toRenderTarget()
733 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); in toRenderTarget()
734 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.cpp72 CGLRenderContext (const glu::RenderConfig& config);
110 CGLRenderContext::CGLRenderContext (const glu::RenderConfig& config) in CGLRenderContext()
183 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const in createContext()
/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()

12