Home
last modified time | relevance | path

Searched refs:m_programs (Results 1 – 19 of 19) sorted by relevance

/external/deqp/modules/gles3/performance/
Des3pRedundantStateChangeTests.cpp140 gl.useProgram(m_programs[0]->getProgram()); in init()
142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
152 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
177 gl.useProgram(m_programs[0]->getProgram()); in init()
180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
191 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
219 gl.useProgram(m_programs[0]->getProgram()); in init()
221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
231 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
268 gl.useProgram(m_programs[0]->getProgram()); in init()
[all …]
Des3pStateChangeTests.cpp149 gl.useProgram(m_programs[0]->getProgram()); in init()
151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
161 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
191 gl.useProgram(m_programs[0]->getProgram()); in init()
194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
205 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
238 gl.useProgram(m_programs[0]->getProgram()); in init()
240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
250 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
292 gl.useProgram(m_programs[0]->getProgram()); in init()
[all …]
Des3pShaderOperatorTests.cpp324 vector<SharedPtr<ShaderProgram> > m_programs; member in deqp::gles3::Performance::__anona6ec65210111::OperatorPerformanceCase
625 DE_ASSERT(progNdx < (int)m_programs.size()); in prepareProgram()
626 DE_ASSERT(m_programData.size() == m_programs.size()); in prepareProgram()
629 const ShaderProgram& program = *m_programs[progNdx]; in prepareProgram()
679 setWorkloadSizeUniform(m_programs[progNdx]->getProgram(), workload); in prepareWorkload()
731 if (m_measureProgramNdx >= (int)m_programs.size()) in prepareNextRound()
764 if (m_measureProgramNdx < (int)m_programs.size()) in prepareNextRound()
795 DE_ASSERT(m_programs.empty()); in init()
804m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSourc… in init()
806 if (!m_programs.back()->isOk()) in init()
[all …]
/external/deqp/modules/gles2/performance/
Des2pRedundantStateChangeTests.cpp140 gl.useProgram(m_programs[0]->getProgram()); in init()
142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
152 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
177 gl.useProgram(m_programs[0]->getProgram()); in init()
180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
191 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
219 gl.useProgram(m_programs[0]->getProgram()); in init()
221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
231 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
268 gl.useProgram(m_programs[0]->getProgram()); in init()
[all …]
Des2pStateChangeTests.cpp149 gl.useProgram(m_programs[0]->getProgram()); in init()
151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
161 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
191 gl.useProgram(m_programs[0]->getProgram()); in init()
194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
205 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
238 gl.useProgram(m_programs[0]->getProgram()); in init()
240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
250 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init()
292 gl.useProgram(m_programs[0]->getProgram()); in init()
[all …]
Des2pShaderOperatorTests.cpp324 vector<SharedPtr<ShaderProgram> > m_programs; member in deqp::gles2::Performance::__anone79bdd1f0111::OperatorPerformanceCase
625 DE_ASSERT(progNdx < (int)m_programs.size()); in prepareProgram()
626 DE_ASSERT(m_programData.size() == m_programs.size()); in prepareProgram()
629 const ShaderProgram& program = *m_programs[progNdx]; in prepareProgram()
679 setWorkloadSizeUniform(m_programs[progNdx]->getProgram(), workload); in prepareWorkload()
731 if (m_measureProgramNdx >= (int)m_programs.size()) in prepareNextRound()
764 if (m_measureProgramNdx < (int)m_programs.size()) in prepareNextRound()
795 DE_ASSERT(m_programs.empty()); in init()
804m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSourc… in init()
806 if (!m_programs.back()->isOk()) in init()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.hpp98 Iterator begin (void) const { return Iterator(m_programs.begin()); } in begin()
99 Iterator end (void) const { return Iterator(m_programs.end()); } in end()
104 ProgramMap m_programs; member in vk::ProgramCollection
121 for (typename ProgramMap::const_iterator i = m_programs.begin(); i != m_programs.end(); ++i) in clear()
123 m_programs.clear(); in clear()
131 m_programs[name] = prog.get(); in add()
133 return *m_programs[name]; in add()
140 m_programs[name] = program.get(); in add()
147 return de::contains(m_programs, name); in contains()
154 return *m_programs.find(name)->second; in get()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp294 if ((int)m_programs.size() >= count) in requirePrograms()
297 m_programs.reserve(count); in requirePrograms()
299 while ((int)m_programs.size() < count) in requirePrograms()
306 "\tv_texCoord = vec2(0.5) + 0.5" + de::toString(m_programs.size()) + " * a_coord.xy;\n" in requirePrograms()
315 …"\tgl_FragColor = vec4(1.0" + de::toString(m_programs.size()) + " * texture2D(u_sampler, v_texCoor… in requirePrograms()
327 m_programs.push_back(program); in requirePrograms()
530 for (int programNdx = 0; programNdx < (int)m_programs.size(); programNdx++) in deinit()
532 delete m_programs[programNdx]; in deinit()
533 m_programs[programNdx] = NULL; in deinit()
535 m_programs.clear(); in deinit()
DglsTextureTestUtil.cpp81 …for (map<Program, glu::ShaderProgram*>::iterator i = m_programs.begin(); i != m_programs.end(); i+… in clear()
86 m_programs.clear(); in clear()
91 if (m_programs.find(program) != m_programs.end()) in getProgram()
92 return m_programs[program]; // Return from cache. in getProgram()
269 m_programs[program] = progObj; in getProgram()
DglsTextureTestUtil.hpp143 std::map<Program, glu::ShaderProgram*> m_programs; member in deqp::gls::TextureTestUtil::ProgramLibrary
DglsStateChangePerfTestCases.hpp92 std::vector<glu::ShaderProgram*> m_programs; member in deqp::gls::StateChangePerformanceCase
DglsLongStressCase.cpp1113 , m_programs (DE_NULL) in LongStressCase()
1181 DE_ASSERT(!m_programs && !m_buffers && !m_textures); in init()
1182 m_programs = new GLObjectManager<Program>; in init()
1242 delete m_programs; in deinit()
1243 m_programs = DE_NULL; in deinit()
1277 const bool hadProgram = m_programs->has(programName); in iterate()
1280 m_programs->make(programName); in iterate()
1282 Program& prog = m_programs->get(programName); in iterate()
1297 Program& program = m_programs->get(programName); in iterate()
DglsLongStressCase.hpp322 LongStressCaseInternal::Program>* m_programs; member in deqp::gls::LongStressCase
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.cpp105 for (std::vector<glu::ShaderProgram*>::iterator i = m_programs.begin(); in ~GLContext()
106 i != m_programs.end(); i++) in ~GLContext()
852 m_programs.reserve(m_programs.size()+1); in createProgram()
874 m_programs.push_back(program); in createProgram()
880 for (std::vector<glu::ShaderProgram*>::iterator i = m_programs.begin(); i != m_programs.end(); i++) in deleteProgram()
885 m_programs.erase(i); in deleteProgram()
DsglrGLContext.hpp245 std::vector<glu::ShaderProgram*> m_programs; member in sglr::GLContext
DsglrReferenceContext.cpp488 m_programs.getAll(programs); in ~ReferenceContext()
3740 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation()
3940 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation()
3988 m_programs.releaseReference(sp); in deleteProgramObject()
4538 int name = m_programs.allocateName(); in createProgram()
4540 m_programs.insert(new rc::ShaderProgramObjectContainer(name, program)); in createProgram()
4552 shaderProg = m_programs.find(program); in useProgram()
4576 rc::ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in deleteProgram()
4586 m_programs.releaseReference(shaderProg); in deleteProgram()
DsglrReferenceContext.hpp884 rc::ObjectManager<rc::ShaderProgramObjectContainer> m_programs; member in sglr::ReferenceContext
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp3534 vector<Program> m_programs; member in deqp::gles31::Functional::__anon7e98ac8e0211::PrimitiveSetInvarianceCase
3593 const int programNdx = (int)m_programs.size(); in init()
3595 m_programs.push_back(Program(windings[windingCaseNdx], in init()
3663 if (programNdx == 0 || !m_programs.back().program->isOk()) in init()
3664 m_testCtx.getLog() << *m_programs.back().program; in init()
3666 if (!m_programs.back().program->isOk()) in init()
3670 … " is similar to above, except some constants are different, and: " << m_programs.back().descripti… in init()
3678 m_programs.clear(); in deinit()
3732 for (int programNdx = 0; programNdx < (int)m_programs.size(); programNdx++) in iterate()
3734 const deUint32 programGL = m_programs[programNdx].program->getProgram(); in iterate()
[all …]
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp95 const SharedPtr<Program> getProgram (int index) const { return m_programs[index]; } in getProgram()
96 void addProgram (SharedPtr<Program> program) { m_programs.push_back(program); } in addProgram()
97 int getProgramCount (void) const { return (int)m_programs.size(); } in getProgramCount()
103 std::vector<SharedPtr<Program> > m_programs; member in deqp::egl::GLES2ThreadTest::GLES2ResourceManager
135 SharedPtr<Program> program = m_programs[index]; in popProgram()
137 m_programs.erase(m_programs.begin() + index); in popProgram()