#include "gluFboRenderContext.hpp"
#include "gluPlatform.hpp"
#include "gluStrUtil.hpp"
#include "gluFboRenderContext.hpp"
#include "gluPlatform.hpp"
#include "gluStrUtil.hpp"
-RenderContext* createRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, const RenderConfig& config)
+RenderContext* createRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, const RenderConfig& config, const RenderContext* sharedContext)
{
const ContextFactoryRegistry& registry = platform.getGLPlatform().getContextFactoryRegistry();
const char* factoryName = cmdLine.getGLContextType();
{
const ContextFactoryRegistry& registry = platform.getGLPlatform().getContextFactoryRegistry();
const char* factoryName = cmdLine.getGLContextType();
}
RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType)
}
RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType)
{ ApiType::core(4,3), glw::initGL43Core },
{ ApiType::core(4,4), glw::initGL44Core },
{ ApiType::core(4,5), glw::initGL45Core },
{ ApiType::core(4,3), glw::initGL43Core },
{ ApiType::core(4,4), glw::initGL44Core },
{ ApiType::core(4,5), glw::initGL45Core },
else if (type == glu::ApiType::core(4, 3)) return "OpenGL 4.3 core";
else if (type == glu::ApiType::core(4, 4)) return "OpenGL 4.4 core";
else if (type == glu::ApiType::core(4, 5)) return "OpenGL 4.5 core";
else if (type == glu::ApiType::core(4, 3)) return "OpenGL 4.3 core";
else if (type == glu::ApiType::core(4, 4)) return "OpenGL 4.4 core";
else if (type == glu::ApiType::core(4, 5)) return "OpenGL 4.5 core";