Home
last modified time | relevance | path

Searched refs:m_shaders (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp320 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
322 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.variables.size(); ++varNdx) in ~Program()
323 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.variables[varNdx].varType); in ~Program()
325 …for (int interfaceNdx = 0; interfaceNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlock… in ~Program()
326 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceN… in ~Program()
327 …collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].… in ~Program()
334 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
335 delete m_shaders[shaderNdx]; in ~Program()
336 m_shaders.clear(); in ~Program()
344 m_shaders.reserve(m_shaders.size() + 1); in addShader()
[all …]
Des31fProgramInterfaceDefinition.hpp114 std::vector<Shader*> m_shaders; member in deqp::gles31::Functional::ProgramInterfaceDefinition::Program
/external/deqp/framework/opengl/
DgluShaderProgram.cpp297 m_shaders[shaderType].reserve(m_shaders[shaderType].size() + 1); in ShaderProgram()
299 m_shaders[shaderType].push_back(new Shader(renderCtx, ShaderType(shaderType))); in ShaderProgram()
300 m_shaders[shaderType].back()->setSources(1, &source, &length); in ShaderProgram()
301 m_shaders[shaderType].back()->compile(); in ShaderProgram()
303 shadersOk = shadersOk && m_shaders[shaderType].back()->getCompileStatus(); in ShaderProgram()
310 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in ShaderProgram()
311 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader()); in ShaderProgram()
335 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in ShaderProgram()
336 delete m_shaders[shaderType][shaderNdx]; in ShaderProgram()
344 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in ~ShaderProgram()
[all …]
DgluShaderProgram.hpp180 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader()
181 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders()
182 …rInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shad… in getShaderInfo()
189 std::vector<Shader*> m_shaders[SHADERTYPE_LAST]; member in glu::ShaderProgram
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp224 …st glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return *m_shaders[shaderType]; } in get()
229 std::map<glu::ShaderType, glu::Shader*> m_shaders; member in deqp::gles2::Functional::__anonb69bfda90111::ShaderAllocator
240 …<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter != m_shaders.… in ~ShaderAllocator()
242 m_shaders.clear(); in ~ShaderAllocator()
247 if (m_shaders.find(shaderType) != m_shaders.end()) in hasShader()
259 m_shaders[shaderType] = shader; in createShader()
269 delete m_shaders[shaderType]; in deleteShader()
270 m_shaders.erase(shaderType); in deleteShader()
281 m_shaders[shaderType]->setSources(1, &cSource, 0); in setSource()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp277 …st glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return *m_shaders[shaderType]; } in get()
282 std::map<glu::ShaderType, glu::Shader*> m_shaders; member in deqp::gles3::Functional::__anonc0fbf44b0111::ShaderAllocator
293 …<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter != m_shaders.… in ~ShaderAllocator()
295 m_shaders.clear(); in ~ShaderAllocator()
300 if (m_shaders.find(shaderType) != m_shaders.end()) in hasShader()
312 m_shaders[shaderType] = shader; in createShader()
322 delete m_shaders[shaderType]; in deleteShader()
323 m_shaders.erase(shaderType); in deleteShader()
334 m_shaders[shaderType]->setSources(1, &cSource, 0); in setSource()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp93 const SharedPtr<Shader> getShader (int index) const { return m_shaders[index]; } in getShader()
94 void addShader (SharedPtr<Shader> shader) { m_shaders.push_back(shader); } in addShader()
95 int getShaderCount (void) const { return (int)m_shaders.size(); } in getShaderCount()
105 std::vector<SharedPtr<Shader> > m_shaders; member in deqp::egl::GLES2ThreadTest::GLES2ResourceManager
129 SharedPtr<Shader> shader = m_shaders[index]; in popShader()
131 m_shaders.erase(m_shaders.begin() + index); in popShader()