/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pRedundantStateChangeTests.cpp | 140 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 …]
|
D | es3pStateChangeTests.cpp | 149 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 …]
|
D | es3pShaderOperatorTests.cpp | 324 vector<SharedPtr<ShaderProgram> > m_programs; member in deqp::gles3::Performance::__anon670e0da00111::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() 804 …m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSourc… in init() 806 if (!m_programs.back()->isOk()) in init() [all …]
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pRedundantStateChangeTests.cpp | 140 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 …]
|
D | es2pStateChangeTests.cpp | 149 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 …]
|
D | es2pShaderOperatorTests.cpp | 324 vector<SharedPtr<ShaderProgram> > m_programs; member in deqp::gles2::Performance::__anona7bd859e0111::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() 804 …m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSourc… in init() 806 if (!m_programs.back()->isOk()) in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkPrograms.hpp | 112 Iterator begin (void) const { return Iterator(m_programs.begin()); } in begin() 113 Iterator end (void) const { return Iterator(m_programs.end()); } in end() 115 bool empty (void) const { return m_programs.empty(); } in empty() 120 ProgramMap m_programs; member in vk::ProgramCollection 131 : m_programs() in ProgramCollection() 145 for (typename ProgramMap::const_iterator i = m_programs.begin(); i != m_programs.end(); ++i) in clear() 147 m_programs.clear(); in clear() 156 m_programs[name] = prog.get(); in add() 158 return *m_programs[name]; in add() 176 m_programs[name] = program.get(); in add() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
D | glcSubgroupsTestsUtils.hpp | 99 Iterator begin (void) const { return Iterator(m_programs.begin()); } in begin() 100 Iterator end (void) const { return Iterator(m_programs.end()); } in end() 102 bool empty (void) const { return m_programs.empty(); } in empty() 107 ProgramMap m_programs; member in glc::ProgramCollection 124 for (typename ProgramMap::const_iterator i = m_programs.begin(); i != m_programs.end(); ++i) in clear() 126 m_programs.clear(); in clear() 134 m_programs[name] = prog.get(); in add() 136 return *m_programs[name]; in add() 143 m_programs[name] = program.get(); in add() 150 return de::contains(m_programs, name); in contains() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 294 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()
|
D | glsTextureTestUtil.cpp | 81 …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()
|
D | glsLongStressCase.cpp | 1113 , 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()
|
D | glsTextureTestUtil.hpp | 144 std::map<Program, glu::ShaderProgram*> m_programs; member in deqp::gls::TextureTestUtil::ProgramLibrary
|
D | glsStateChangePerfTestCases.hpp | 92 std::vector<glu::ShaderProgram*> m_programs; member in deqp::gls::StateChangePerformanceCase
|
D | glsLongStressCase.hpp | 322 LongStressCaseInternal::Program>* m_programs; member in deqp::gls::LongStressCase
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrGLContext.cpp | 105 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()
|
D | sglrGLContext.hpp | 245 std::vector<glu::ShaderProgram*> m_programs; member in sglr::GLContext
|
D | sglrReferenceContext.cpp | 507 m_programs.getAll(programs); in ~ReferenceContext() 3779 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() 3979 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() 4027 m_programs.releaseReference(sp); in deleteProgramObject() 4577 int name = m_programs.allocateName(); in createProgram() 4579 m_programs.insert(new rc::ShaderProgramObjectContainer(name, program)); in createProgram() 4591 shaderProg = m_programs.find(program); in useProgram() 4615 rc::ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in deleteProgram() 4625 m_programs.releaseReference(shaderProg); in deleteProgram()
|
D | sglrReferenceContext.hpp | 886 rc::ObjectManager<rc::ShaderProgramObjectContainer> m_programs; member in sglr::ReferenceContext
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 3651 vector<Program> m_programs; member in deqp::gles31::Functional::__anon36d7c12d0211::PrimitiveSetInvarianceCase 3710 const int programNdx = (int)m_programs.size(); in init() 3774 m_programs.push_back(Program(windings[windingCaseNdx], in init() 3786 if (programNdx == 0 || !m_programs.back().program->isOk()) in init() 3787 m_testCtx.getLog() << *m_programs.back().program; in init() 3789 if (!m_programs.back().program->isOk()) in init() 3793 … " is similar to above, except some constants are different, and: " << m_programs.back().descripti… in init() 3801 m_programs.clear(); in deinit() 3855 for (int programNdx = 0; programNdx < (int)m_programs.size(); programNdx++) in iterate() 3857 const deUint32 programGL = m_programs[programNdx].program->getProgram(); in iterate() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderInvariance.cpp | 127 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()
|
D | esextcTessellationShaderInvariance.hpp | 122 _programs m_programs; member in glcts::TessellationShaderInvarianceBaseTest
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingThreadedTests.cpp | 95 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()
|