Lines Matching refs:renderCtx

53 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension)  in isExtensionSupported()  argument
55 const glw::Functions& gl = renderCtx.getFunctions(); in isExtensionSupported()
71 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension) in checkExtension() argument
73 if (!isExtensionSupported(renderCtx, extension)) in checkExtension()
77 static void checkLimit (const glu::RenderContext& renderCtx, deUint32 pname, int required) in checkLimit() argument
79 const glw::Functions& gl = renderCtx.getFunctions(); in checkLimit()
457 ShaderExecutor::ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) in ShaderExecutor() argument
458 : m_renderCtx (renderCtx) in ShaderExecutor()
485 FragmentOutExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
514 inline bool hasFloatRenderTargets (const glu::RenderContext& renderCtx) in hasFloatRenderTargets() argument
516 glu::ContextType type = renderCtx.getType(); in hasFloatRenderTargets()
520 FragmentOutExecutor::FragmentOutExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& sh… in FragmentOutExecutor() argument
521 : ShaderExecutor (renderCtx, shaderSpec) in FragmentOutExecutor()
704 VertexShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
715 VertexShaderExecutor::VertexShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& … in VertexShaderExecutor() argument
716 : FragmentOutExecutor (renderCtx, shaderSpec) in VertexShaderExecutor()
717 , m_program (renderCtx, in VertexShaderExecutor()
719 …ce(generatePassthroughFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outputLayout… in VertexShaderExecutor()
732 …static GeometryShaderExecutor* create (const glu::RenderContext& renderCtx, const ShaderSpec& …
744 GeometryShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
747 GeometryShaderExecutor* GeometryShaderExecutor::create (const glu::RenderContext& renderCtx, const … in create() argument
750 checkExtension(renderCtx, "GL_EXT_geometry_shader"); in create()
752 return new GeometryShaderExecutor(renderCtx, shaderSpec); in create()
755 GeometryShaderExecutor::GeometryShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in GeometryShaderExecutor() argument
756 : FragmentOutExecutor (renderCtx, shaderSpec) in GeometryShaderExecutor()
757 , m_program (renderCtx, in GeometryShaderExecutor()
760 …ce(generatePassthroughFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outputLayout… in GeometryShaderExecutor()
773 FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
784 FragmentShaderExecutor::FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in FragmentShaderExecutor() argument
785 : FragmentOutExecutor (renderCtx, shaderSpec) in FragmentShaderExecutor()
786 , m_program (renderCtx, in FragmentShaderExecutor()
788 …ragmentSource(generateFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outputLayout… in FragmentShaderExecutor()
815 …BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::Pr…
869 BufferIoExecutor::BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSp… in BufferIoExecutor() argument
870 : ShaderExecutor (renderCtx, shaderSpec) in BufferIoExecutor()
871 , m_program (renderCtx, sources) in BufferIoExecutor()
872 , m_inputBuffer (renderCtx) in BufferIoExecutor()
873 , m_outputBuffer (renderCtx) in BufferIoExecutor()
1157 ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1194 ComputeShaderExecutor::ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec… in ComputeShaderExecutor() argument
1195 : BufferIoExecutor (renderCtx, shaderSpec, in ComputeShaderExecutor()
1256 void checkTessSupport (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, glu::Shad… in checkTessSupport() argument
1261 checkExtension(renderCtx, "GL_EXT_tessellation_shader"); in checkTessSupport()
1264 checkLimit(renderCtx, GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS, numBlockRequired); in checkTessSupport()
1266 checkLimit(renderCtx, GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS, numBlockRequired); in checkTessSupport()
1276 …static TessControlExecutor* create (const glu::RenderContext& renderCtx, const ShaderSpec& sh…
1287 TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1290 TessControlExecutor* TessControlExecutor::create (const glu::RenderContext& renderCtx, const Shader… in create() argument
1292 checkTessSupport(renderCtx, shaderSpec, glu::SHADERTYPE_TESSELLATION_CONTROL); in create()
1294 return new TessControlExecutor(renderCtx, shaderSpec); in create()
1349 TessControlExecutor::TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& sh… in TessControlExecutor() argument
1350 : BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessControlExecutor()
1396 …static TessEvaluationExecutor* create (const glu::RenderContext& renderCtx, const ShaderSpec& …
1407 TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1410 TessEvaluationExecutor* TessEvaluationExecutor::create (const glu::RenderContext& renderCtx, const … in create() argument
1412 checkTessSupport(renderCtx, shaderSpec, glu::SHADERTYPE_TESSELLATION_EVALUATION); in create()
1414 return new TessEvaluationExecutor(renderCtx, shaderSpec); in create()
1470 TessEvaluationExecutor::TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in TessEvaluationExecutor() argument
1471 : BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessEvaluationExecutor()
1518 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, co… in createExecutor() argument
1522 case glu::SHADERTYPE_VERTEX: return new VertexShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1523 …case glu::SHADERTYPE_TESSELLATION_CONTROL: return TessControlExecutor::create (renderCtx, shader… in createExecutor()
1524 …case glu::SHADERTYPE_TESSELLATION_EVALUATION: return TessEvaluationExecutor::create (renderCtx, sh… in createExecutor()
1525 case glu::SHADERTYPE_GEOMETRY: return GeometryShaderExecutor::create (renderCtx, shaderSpec); in createExecutor()
1526 case glu::SHADERTYPE_FRAGMENT: return new FragmentShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1527 case glu::SHADERTYPE_COMPUTE: return new ComputeShaderExecutor (renderCtx, shaderSpec); in createExecutor()