/external/deqp/framework/opengl/ |
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);
|
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::SURFACETYPE_WINDOW; break [all...] |
gluRenderConfig.hpp | 40 struct RenderConfig 83 RenderConfig (ContextType type_ = ContextType()) 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) 110 return value == (T)RenderConfig::DONT_CARE ? defaultValue : value;
|
gluES3PlusWrapperContext.hpp | 39 struct RenderConfig; 54 ES3PlusWrapperContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine);
|
gluContextFactory.hpp | 64 virtual RenderContext* createContext (const RenderConfig& config, const tcu::CommandLine& cmdLine) const = 0;
|
gluFboRenderContext.cpp | 51 deUint32 chooseColorFormat (const glu::RenderConfig& config) 70 if (config.redBits != glu::RenderConfig::DONT_CARE && 74 if (config.greenBits != glu::RenderConfig::DONT_CARE && 78 if (config.blueBits != glu::RenderConfig::DONT_CARE && 82 if (config.alphaBits != glu::RenderConfig::DONT_CARE && 92 deUint32 chooseDepthStencilFormat (const glu::RenderConfig& config) 109 if (config.depthBits != glu::RenderConfig::DONT_CARE && 113 if (config.stencilBits != glu::RenderConfig::DONT_CARE && 123 FboRenderContext::FboRenderContext (RenderContext* context, const RenderConfig& config) 141 FboRenderContext::FboRenderContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine [all...] |
gluES3PlusWrapperContext.cpp | 619 ES3PlusWrapperContext::ES3PlusWrapperContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine) 643 glu::RenderConfig nativeConfig = config;
|
/external/deqp/framework/platform/null/ |
tcuNullRenderContext.hpp | 35 struct RenderConfig; 56 RenderContext (const glu::RenderConfig& config);
|
tcuNullPlatform.cpp | 42 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const
|
tcuNullRenderContext.cpp | 587 static tcu::RenderTarget toRenderTarget (const RenderConfig& renderCfg) 589 const int width = getValueOrDefault(renderCfg, &RenderConfig::width, 256); 590 const int height = getValueOrDefault(renderCfg, &RenderConfig::height, 256); 591 const int redBits = getValueOrDefault(renderCfg, &RenderConfig::redBits, 8); 592 const int greenBits = getValueOrDefault(renderCfg, &RenderConfig::greenBits, 8); 593 const int blueBits = getValueOrDefault(renderCfg, &RenderConfig::blueBits, 8); 594 const int alphaBits = getValueOrDefault(renderCfg, &RenderConfig::alphaBits, 8); 595 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); 596 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); 597 const int numSamples = getValueOrDefault(renderCfg, &RenderConfig::numSamples, 0) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.cpp | 66 WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config); 87 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config) 90 config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, 91 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT) 94 if (config.surfaceType != glu::RenderConfig::SURFACETYPE_WINDOW && 95 config.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) 101 if (config.id != glu::RenderConfig::DONT_CARE) 128 if (config.windowVisibility != glu::RenderConfig::VISIBILITY_VISIBLE && 129 config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN) 132 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN) [all...] |
tcuWGLContextFactory.hpp | 37 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const;
|
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
|
tcuWGL.hpp | 35 struct RenderConfig; 210 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config);
|
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/ |
egluGLUtil.cpp | 158 static bool configMatches (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig) 164 EGLint requiredRenderable = apiRenderableType(renderConfig.type.getAPI()); 172 if (renderConfig.surfaceType != (glu::RenderConfig::SurfaceType)glu::RenderConfig::DONT_CARE) 177 switch (renderConfig.surfaceType) 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 [all...] |
egluGLContextFactory.hpp | 50 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) const;
|
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(visibility == (RenderConfig::Visibility)RenderConfig::DONT_CARE) [all...] |
egluGLUtil.hpp | 43 eglw::EGLConfig chooseConfig (const eglw::Library& egl, eglw::EGLDisplay display, const glu::RenderConfig& config);
|
/external/deqp/framework/platform/X11/ |
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::redBits } [all...] |
tcuX11.cpp | 165 if (width == glu::RenderConfig::DONT_CARE) 167 if (height == glu::RenderConfig::DONT_CARE)
|
/external/deqp/framework/platform/ios/ |
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& config [all...] |
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/android/ |
tcuAndroidPlatformCapabilityQueryJNI.cpp | 102 glu::RenderConfig parseRenderConfig (const std::string& argsStr) 115 glu::RenderConfig renderConfig (testContextType); 117 glu::parseRenderConfig(&renderConfig, parsedCommandLine); 119 return renderConfig; 125 const glu::RenderConfig renderConfig = parseRenderConfig(cmdLineStr); 147 (void)eglu::chooseConfig(egl, display, renderConfig);
|
/external/deqp/framework/platform/osx/ |
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
|