/external/deqp/framework/opengl/ |
H A D | gluFboRenderContext.hpp | 39 struct RenderConfig; 47 FboRenderContext (RenderContext* context, const RenderConfig& config); 48 FboRenderContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine); 59 void createFramebuffer (const RenderConfig& config); 69 // RenderConfig to format mapping utilities, useful for platforms like iOS. 70 deUint32 chooseColorFormat (const RenderConfig& config); 71 deUint32 chooseDepthStencilFormat (const RenderConfig& config);
|
H A D | gluRenderConfig.cpp | 31 void parseConfigBitsFromName (RenderConfig* config, const char* renderCfgName) 35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && 36 config->greenBits == RenderConfig::DONT_CARE && 37 config->blueBits == RenderConfig::DONT_CARE && 38 config->alphaBits == RenderConfig::DONT_CARE && 39 config->depthBits == RenderConfig::DONT_CARE && 40 config->stencilBits == RenderConfig::DONT_CARE && 41 config->numSamples == RenderConfig::DONT_CARE); 143 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine) 147 case tcu::SURFACETYPE_WINDOW: config->surfaceType = RenderConfig [all...] |
H A D | gluRenderConfig.hpp | 40 struct RenderConfig struct in namespace:glu 83 RenderConfig (ContextType type_ = ContextType()) function in struct:glu::RenderConfig 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) argument 110 return value == (T)RenderConfig::DONT_CARE ? defaultValue : value;
|
H A D | gluES3PlusWrapperContext.hpp | 39 struct RenderConfig; 54 ES3PlusWrapperContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine);
|
H A D | gluContextFactory.hpp | 64 virtual RenderContext* createContext (const RenderConfig& config, const tcu::CommandLine& cmdLine) const = 0;
|
H A D | gluFboRenderContext.cpp | 78 deUint32 chooseColorFormat (const glu::RenderConfig& config) 97 if (config.redBits != glu::RenderConfig::DONT_CARE && 101 if (config.greenBits != glu::RenderConfig::DONT_CARE && 105 if (config.blueBits != glu::RenderConfig::DONT_CARE && 109 if (config.alphaBits != glu::RenderConfig::DONT_CARE && 119 deUint32 chooseDepthStencilFormat (const glu::RenderConfig& config) 138 if (config.depthBits != glu::RenderConfig::DONT_CARE && 142 if (config.stencilBits != glu::RenderConfig::DONT_CARE && 152 FboRenderContext::FboRenderContext (RenderContext* context, const RenderConfig& config) 170 FboRenderContext::FboRenderContext (const ContextFactory& factory, const RenderConfig [all...] |
/external/deqp/framework/platform/null/ |
H A D | tcuNullContextFactory.cpp | 37 glu::RenderContext* NullGLContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const
|
H A D | tcuNullContextFactory.hpp | 38 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const;
|
H A D | tcuNullRenderContext.hpp | 35 struct RenderConfig; 56 RenderContext (const glu::RenderConfig& config);
|
H A D | tcuNullRenderContext.cpp | 724 static tcu::RenderTarget toRenderTarget (const RenderConfig& renderCfg) 726 const int width = getValueOrDefault(renderCfg, &RenderConfig::width, 256); 727 const int height = getValueOrDefault(renderCfg, &RenderConfig::height, 256); 728 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); 729 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); 730 const int blueBits = getValueOrDefault(renderCfg, &RenderConfig::blueBits, 8); 731 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); 732 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); 733 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); 734 const int numSamples = getValueOrDefault(renderCfg, &RenderConfig [all...] |
/external/deqp/framework/platform/win32/ |
H A D | tcuWGLContextFactory.cpp | 68 WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config); 89 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config) 92 config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, 93 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT) 96 if (config.surfaceType != glu::RenderConfig::SURFACETYPE_WINDOW && 97 config.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) 103 if (config.id != glu::RenderConfig::DONT_CARE) 130 if (config.windowVisibility != glu::RenderConfig::VISIBILITY_VISIBLE && 131 config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN) 134 m_window.setVisible(config.windowVisibility != glu::RenderConfig [all...] |
H A D | tcuWGLContextFactory.hpp | 39 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const;
|
H A D | tcuWin32GLES3Platform.cpp | 61 Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config); 84 Win32GLES3Context::Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config) 85 : m_renderTarget(config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, 86 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT, 108 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); 150 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const; 168 glu::RenderContext* Win32GLES3ContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const
|
H A D | tcuWGL.hpp | 35 struct RenderConfig; 210 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config);
|
H A D | tcuWGL.cpp | 454 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) 469 if (config.redBits != glu::RenderConfig::DONT_CARE && 473 if (config.greenBits != glu::RenderConfig::DONT_CARE && 477 if (config.blueBits != glu::RenderConfig::DONT_CARE && 481 if (config.alphaBits != glu::RenderConfig::DONT_CARE && 485 if (config.depthBits != glu::RenderConfig::DONT_CARE && 489 if (config.stencilBits != glu::RenderConfig::DONT_CARE && 493 if (config.numSamples != glu::RenderConfig::DONT_CARE &&
|
/external/deqp/framework/egl/ |
H A D | egluGLContextFactory.hpp | 50 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const;
|
H A D | egluGLUtil.cpp | 158 static bool configMatches (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig) 172 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) 179 case glu::RenderConfig::SURFACETYPE_WINDOW: requiredSurface = EGL_WINDOW_BIT; break; 180 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE: requiredSurface = EGL_PIXMAP_BIT; break; 181 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC: requiredSurface = EGL_PBUFFER_BIT; break; 195 int glu::RenderConfig::*field; 199 { &glu::RenderConfig::id, EGL_CONFIG_ID }, 200 { &glu::RenderConfig::redBits, EGL_RED_SIZE }, 201 { &glu::RenderConfig::greenBits, EGL_GREEN_SIZE }, 202 { &glu::RenderConfig [all...] |
H A D | egluGLContextFactory.cpp | 130 RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config); 142 void create (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config); 145 const glu::RenderConfig m_renderConfig; 162 RenderContext::RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config) 205 static WindowParams::Visibility getNativeWindowVisibility (glu::RenderConfig::Visibility visibility) 207 using glu::RenderConfig; 211 case RenderConfig::VISIBILITY_HIDDEN: return WindowParams::VISIBILITY_HIDDEN; 212 case RenderConfig::VISIBILITY_VISIBLE: return WindowParams::VISIBILITY_VISIBLE; 213 case RenderConfig::VISIBILITY_FULLSCREEN: return WindowParams::VISIBILITY_FULLSCREEN; 215 DE_ASSERT((int)visibility == RenderConfig [all...] |
H A D | egluGLUtil.hpp | 43 eglw::EGLConfig chooseConfig (const eglw::Library& egl, eglw::EGLDisplay display, const glu::RenderConfig& config);
|
/external/deqp/framework/platform/X11/ |
H A D | tcuX11GlxPlatform.cpp | 50 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, 361 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) 367 m_x11Window.setVisibility(cfg.windowVisibility != RenderConfig::VISIBILITY_HIDDEN); 390 int RenderConfig::* cfgMember; 393 { GLX_RED_SIZE, &RenderConfig [all...] |
/external/deqp/framework/platform/ios/ |
H A D | tcuIOSPlatform.mm | 74 glu::RenderContext* ContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const 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 [all...] |
H A D | tcuIOSPlatform.hh | 68 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const; 109 ScreenContext (ScreenManager* screenManager, const glu::RenderConfig& config); 117 void createFramebuffer (const glu::RenderConfig& config);
|
/external/deqp/framework/platform/osx/ |
H A D | tcuOSXPlatform.cpp | 72 CGLRenderContext (const glu::RenderConfig& config); 110 CGLRenderContext::CGLRenderContext (const glu::RenderConfig& config) 183 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const
|
/external/deqp/framework/platform/android/ |
H A D | tcuAndroidPlatformCapabilityQueryJNI.cpp | 102 glu::RenderConfig parseRenderConfig (const std::string& argsStr) 115 glu::RenderConfig renderConfig (testContextType); 125 const glu::RenderConfig renderConfig = parseRenderConfig(cmdLineStr);
|
/external/deqp/framework/platform/wayland/ |
H A D | tcuWayland.cpp | 167 if (width == glu::RenderConfig::DONT_CARE) 169 if (height == glu::RenderConfig::DONT_CARE)
|