• Home
  • Raw
  • Download

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 && !contextSupports(renderCtx.getType(), glu::ApiType::core(4, 5))) in create()
751 checkExtension(renderCtx, "GL_EXT_geometry_shader"); in create()
753 return new GeometryShaderExecutor(renderCtx, shaderSpec); in create()
756 GeometryShaderExecutor::GeometryShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in GeometryShaderExecutor() argument
757 : FragmentOutExecutor (renderCtx, shaderSpec) in GeometryShaderExecutor()
758 , m_program (renderCtx, in GeometryShaderExecutor()
761 …ce(generatePassthroughFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outputLayout… in GeometryShaderExecutor()
774 FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
785 FragmentShaderExecutor::FragmentShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in FragmentShaderExecutor() argument
786 : FragmentOutExecutor (renderCtx, shaderSpec) in FragmentShaderExecutor()
787 , m_program (renderCtx, in FragmentShaderExecutor()
789 …ragmentSource(generateFragmentShader(shaderSpec, !hasFloatRenderTargets(renderCtx), m_outputLayout… in FragmentShaderExecutor()
816 …BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::Pr…
870 BufferIoExecutor::BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSp… in BufferIoExecutor() argument
871 : ShaderExecutor (renderCtx, shaderSpec) in BufferIoExecutor()
872 , m_program (renderCtx, sources) in BufferIoExecutor()
873 , m_inputBuffer (renderCtx) in BufferIoExecutor()
874 , m_outputBuffer (renderCtx) in BufferIoExecutor()
1158 ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1195 ComputeShaderExecutor::ComputeShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec… in ComputeShaderExecutor() argument
1196 : BufferIoExecutor (renderCtx, shaderSpec, in ComputeShaderExecutor()
1257 void checkTessSupport (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, glu::Shad… in checkTessSupport() argument
1262 && !contextSupports(renderCtx.getType(), glu::ApiType::core(4, 5))) in checkTessSupport()
1263 checkExtension(renderCtx, "GL_EXT_tessellation_shader"); in checkTessSupport()
1266 checkLimit(renderCtx, GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS, numBlockRequired); in checkTessSupport()
1268 checkLimit(renderCtx, GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS, numBlockRequired); in checkTessSupport()
1278 …static TessControlExecutor* create (const glu::RenderContext& renderCtx, const ShaderSpec& sh…
1289 TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1292 TessControlExecutor* TessControlExecutor::create (const glu::RenderContext& renderCtx, const Shader… in create() argument
1294 checkTessSupport(renderCtx, shaderSpec, glu::SHADERTYPE_TESSELLATION_CONTROL); in create()
1296 return new TessControlExecutor(renderCtx, shaderSpec); in create()
1351 TessControlExecutor::TessControlExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& sh… in TessControlExecutor() argument
1352 : BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessControlExecutor()
1398 …static TessEvaluationExecutor* create (const glu::RenderContext& renderCtx, const ShaderSpec& …
1409 TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
1412 TessEvaluationExecutor* TessEvaluationExecutor::create (const glu::RenderContext& renderCtx, const … in create() argument
1414 checkTessSupport(renderCtx, shaderSpec, glu::SHADERTYPE_TESSELLATION_EVALUATION); in create()
1416 return new TessEvaluationExecutor(renderCtx, shaderSpec); in create()
1472 TessEvaluationExecutor::TessEvaluationExecutor (const glu::RenderContext& renderCtx, const ShaderSp… in TessEvaluationExecutor() argument
1473 : BufferIoExecutor (renderCtx, shaderSpec, glu::ProgramSources() in TessEvaluationExecutor()
1520 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, co… in createExecutor() argument
1524 case glu::SHADERTYPE_VERTEX: return new VertexShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1525 …case glu::SHADERTYPE_TESSELLATION_CONTROL: return TessControlExecutor::create (renderCtx, shader… in createExecutor()
1526 …case glu::SHADERTYPE_TESSELLATION_EVALUATION: return TessEvaluationExecutor::create (renderCtx, sh… in createExecutor()
1527 case glu::SHADERTYPE_GEOMETRY: return GeometryShaderExecutor::create (renderCtx, shaderSpec); in createExecutor()
1528 case glu::SHADERTYPE_FRAGMENT: return new FragmentShaderExecutor (renderCtx, shaderSpec); in createExecutor()
1529 case glu::SHADERTYPE_COMPUTE: return new ComputeShaderExecutor (renderCtx, shaderSpec); in createExecutor()