Lines Matching refs:renderCtx
52 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension) in isExtensionSupported() argument
54 const glw::Functions& gl = renderCtx.getFunctions(); in isExtensionSupported()
70 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension) in checkExtension() argument
72 if (!isExtensionSupported(renderCtx, extension)) in checkExtension()
383 ShaderExecutor::ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) in ShaderExecutor() argument
384 : m_renderCtx (renderCtx) in ShaderExecutor()
405 …VertexProcessorExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const …
445 VertexProcessorExecutor::VertexProcessorExecutor (const glu::RenderContext& renderCtx, const Shader… in VertexProcessorExecutor() argument
446 : ShaderExecutor (renderCtx, shaderSpec) in VertexProcessorExecutor()
447 , m_program (renderCtx, in VertexProcessorExecutor()
554 VertexShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
557 VertexShaderExecutor::VertexShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& … in VertexShaderExecutor() argument
558 : VertexProcessorExecutor (renderCtx, shaderSpec, in VertexShaderExecutor()
569 inline CheckGeomSupport (const glu::RenderContext& renderCtx) in CheckGeomSupport() argument
571 if (renderCtx.getType().getAPI().getProfile() == glu::PROFILE_ES) in CheckGeomSupport()
572 checkExtension(renderCtx, "GL_EXT_geometry_shader"); in CheckGeomSupport()
579 GeometryShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
582 GeometryShaderExecutor::GeometryShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in GeometryShaderExecutor() argument
583 : CheckGeomSupport (renderCtx) in GeometryShaderExecutor()
584 , VertexProcessorExecutor (renderCtx, shaderSpec, in GeometryShaderExecutor()
596 FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
633 inline bool hasFloatRenderTargets (const glu::RenderContext& renderCtx) in hasFloatRenderTargets() argument
635 glu::ContextType type = renderCtx.getType(); in hasFloatRenderTargets()
639 FragmentShaderExecutor::FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in FragmentShaderExecutor() argument
640 : ShaderExecutor (renderCtx, shaderSpec) in FragmentShaderExecutor()
643 , m_program (renderCtx, in FragmentShaderExecutor()
645 …ragmentSource(generateFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outLocationM… in FragmentShaderExecutor()
841 …BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::Pr…
895 BufferIoExecutor::BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSp… in BufferIoExecutor() argument
896 : ShaderExecutor (renderCtx, shaderSpec) in BufferIoExecutor()
897 , m_program (renderCtx, sources) in BufferIoExecutor()
898 , m_inputBuffer (renderCtx) in BufferIoExecutor()
899 , m_outputBuffer (renderCtx) in BufferIoExecutor()
1183 ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1220 ComputeShaderExecutor::ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec… in ComputeShaderExecutor() argument
1221 : BufferIoExecutor (renderCtx, shaderSpec, in ComputeShaderExecutor()
1285 inline CheckTessSupport (const glu::RenderContext& renderCtx) in CheckTessSupport() argument
1287 if (renderCtx.getType().getAPI().getProfile() == glu::PROFILE_ES) in CheckTessSupport()
1288 checkExtension(renderCtx, "GL_EXT_tessellation_shader"); in CheckTessSupport()
1297 TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1358 TessControlExecutor::TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& sh… in TessControlExecutor() argument
1359 : CheckTessSupport (renderCtx) in TessControlExecutor()
1360 , BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessControlExecutor()
1399 TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1461 TessEvaluationExecutor::TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in TessEvaluationExecutor() argument
1462 : CheckTessSupport (renderCtx) in TessEvaluationExecutor()
1463 , BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessEvaluationExecutor()
1503 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, co… in createExecutor() argument
1507 case glu::SHADERTYPE_VERTEX: return new VertexShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1508 …case glu::SHADERTYPE_TESSELLATION_CONTROL: return new TessControlExecutor (renderCtx, shaderSpec… in createExecutor()
1509 …case glu::SHADERTYPE_TESSELLATION_EVALUATION: return new TessEvaluationExecutor (renderCtx, shader… in createExecutor()
1510 case glu::SHADERTYPE_GEOMETRY: return new GeometryShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1511 case glu::SHADERTYPE_FRAGMENT: return new FragmentShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1512 case glu::SHADERTYPE_COMPUTE: return new ComputeShaderExecutor (renderCtx, shaderSpec); in createExecutor()