Home
last modified time | relevance | path

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

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp436 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
438 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.variables.size(); ++varNdx) in ~Program()
439 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.variables[varNdx].varType); in ~Program()
441 …for (int interfaceNdx = 0; interfaceNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlock… in ~Program()
442 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceN… in ~Program()
443 …collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].… in ~Program()
450 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
451 delete m_shaders[shaderNdx]; in ~Program()
452 m_shaders.clear(); in ~Program()
462 m_shaders.reserve(m_shaders.size() + 1); in addShader()
[all …]
Des31fProgramInterfaceDefinition.hpp120 std::vector<Shader*> m_shaders; member in deqp::gles31::Functional::ProgramInterfaceDefinition::Program
/external/deqp/framework/opengl/
DgluShaderProgram.cpp334 m_shaders[shaderType].reserve(m_shaders[shaderType].size() + 1); in init()
336 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType))); in init()
337 m_shaders[shaderType].back()->setSources(1, &source, &length); in init()
338 m_shaders[shaderType].back()->compile(); in init()
340 shadersOk = shadersOk && m_shaders[shaderType].back()->getCompileStatus(); in init()
347 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in init()
348 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader()); in init()
372 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in init()
373 delete m_shaders[shaderType][shaderNdx]; in init()
381 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in ~ShaderProgram()
[all …]
DgluShaderProgram.hpp184 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader()
185 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders()
186 …rInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shad… in getShaderInfo()
194 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::__anon43fcf5650111::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::__anon4e5cec070111::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.cpp90 const SharedPtr<Shader> getShader (int index) const { return m_shaders[index]; } in getShader()
91 void addShader (SharedPtr<Shader> shader) { m_shaders.push_back(shader); } in addShader()
92 int getShaderCount (void) const { return (int)m_shaders.size(); } in getShaderCount()
102 std::vector<SharedPtr<Shader> > m_shaders; member in deqp::egl::GLES2ThreadTest::GLES2ResourceManager
126 SharedPtr<Shader> shader = m_shaders[index]; in popShader()
128 m_shaders.erase(m_shaders.begin() + index); in popShader()