Home
last modified time | relevance | path

Searched refs:m_programs (Results 1 – 21 of 21) 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::__anon6814502b0111::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::__anona8c3c8290111::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.hpp104 Iterator begin (void) const { return Iterator(m_programs.begin()); } in begin()
105 Iterator end (void) const { return Iterator(m_programs.end()); } in end()
107 bool empty (void) const { return m_programs.empty(); } in empty()
112 ProgramMap m_programs; member in vk::ProgramCollection
123 : m_programs() in ProgramCollection()
137 for (typename ProgramMap::const_iterator i = m_programs.begin(); i != m_programs.end(); ++i) in clear()
139 m_programs.clear(); in clear()
148 m_programs[name] = prog.get(); in add()
150 return *m_programs[name]; in add()
168 m_programs[name] = program.get(); in add()
[all …]
/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()
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()
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.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.cpp3578 vector<Program> m_programs; member in deqp::gles31::Functional::__anone18a5e580211::PrimitiveSetInvarianceCase
3637 const int programNdx = (int)m_programs.size(); in init()
3696 m_programs.push_back(Program(windings[windingCaseNdx], in init()
3708 if (programNdx == 0 || !m_programs.back().program->isOk()) in init()
3709 m_testCtx.getLog() << *m_programs.back().program; in init()
3711 if (!m_programs.back().program->isOk()) in init()
3715 … " is similar to above, except some constants are different, and: " << m_programs.back().descripti… in init()
3723 m_programs.clear(); in deinit()
3777 for (int programNdx = 0; programNdx < (int)m_programs.size(); programNdx++) in iterate()
3779 const deUint32 programGL = m_programs[programNdx].program->getProgram(); in iterate()
[all …]
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp127 for (_programs_iterator it = m_programs.begin(); it != m_programs.end(); ++it) in deinit()
136 m_programs.clear(); in deinit()
329 m_programs.reserve(n_iterations); in initTest()
496 m_programs.push_back(program); in initTest()
542 _test_program& program = m_programs[n_iteration]; in iterate()
DesextcTessellationShaderInvariance.hpp122 _programs m_programs; member in glcts::TessellationShaderInvarianceBaseTest
/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()