Home
last modified time | relevance | path

Searched refs:m_buffers (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/glshared/
DglsLongStressCase.cpp1114 , m_buffers (DE_NULL) in LongStressCase()
1181 DE_ASSERT(!m_programs && !m_buffers && !m_textures); in init()
1183 m_buffers = new GLObjectManager<Buffer>; in init()
1245 delete m_buffers; in deinit()
1246 m_buffers = DE_NULL; in deinit()
1346 const bool hadIndexBuffer = m_buffers->has(indexBufferName); in iterate()
1349 m_buffers->make(indexBufferName); in iterate()
1351 Buffer& indexBuf = m_buffers->get(indexBufferName); in iterate()
1355m_buffers->removeGarbageUntilUnder(m_maxBufMemoryUsageBytes - indexBuf.getApproxMemUsageDiff(m_ver… in iterate()
1382 const bool hadCurAttrBuffer = m_buffers->has(curAttrBufName); in iterate()
[all …]
DglsMemoryStressCase.cpp454 vector<deUint32> m_buffers; member in deqp::gls::MemObjectAllocator
566 if (!m_buffers.empty()) in clearObjects()
568 glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0])); in clearObjects()
576 m_buffers.clear(); in clearObjects()
696 if (m_buffers.size() % vectorBlockSize == 0) in allocateBuffer()
697 m_buffers.reserve(m_buffers.size() + vectorBlockSize); in allocateBuffer()
699 m_buffers.push_back(buffer); in allocateBuffer()
DglsUniformBlockCase.cpp1348 std::vector<deUint32> m_buffers; member in deqp::gls::ub::UniformBufferManager
1358 if (!m_buffers.empty()) in ~UniformBufferManager()
1359 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~UniformBufferManager()
1366 m_buffers.reserve(m_buffers.size()+1); in allocBuffer()
1369 m_buffers.push_back(buf); in allocBuffer()
DglsLongStressCase.hpp324 LongStressCaseInternal::Buffer>* m_buffers; member in deqp::gls::LongStressCase
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp1437 std::vector<deUint32> m_buffers; member in deqp::gles31::Functional::__anona33a70510111::UBOBindingRenderCase
1463 m_buffers = std::vector<glw::GLuint>(m_numBindings, 0); in init()
1464 gl.genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in init()
1466 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init()
1472 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init()
1474 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init()
1476 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1487 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit()
1489 if (m_buffers[bufNdx]) in deinit()
1491 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
[all …]
Des31fSSBOLayoutCase.cpp2043 std::vector<deUint32> m_buffers; member in deqp::gles31::bb::BufferManager
2053 if (!m_buffers.empty()) in ~BufferManager()
2054 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~BufferManager()
2061 m_buffers.reserve(m_buffers.size()+1); in allocBuffer()
2064 m_buffers.push_back(buf); in allocBuffer()
/external/deqp/modules/gles3/functional/
Des3fFboInvalidateTests.cpp140 , m_buffers (buffers) in InvalidateDefaultFramebufferRenderCase()
148 vector<deUint32> attachments = getDefaultFBDiscardAttachments(m_buffers); in render()
164 if ((m_buffers & GL_COLOR_BUFFER_BIT) != 0) in render()
177 if ((m_buffers & GL_DEPTH_BUFFER_BIT) != 0) in render()
183 if ((m_buffers & GL_STENCIL_BUFFER_BIT) == 0) in render()
200 deUint32 m_buffers; member in deqp::gles3::Functional::InvalidateDefaultFramebufferRenderCase
209 , m_buffers (buffers) in InvalidateDefaultFramebufferBindCase()
220 vector<deUint32> attachments = getDefaultFBDiscardAttachments(m_buffers); in render()
262 if ((m_buffers & GL_COLOR_BUFFER_BIT) != 0) in render()
269 if ((m_buffers & GL_DEPTH_BUFFER_BIT) != 0) in render()
[all …]
Des3fVertexArrayObjectTests.cpp158 vector<GLuint> m_buffers; member in deqp::gles3::Functional::VertexArrayObjectTest
187 m_buffers.push_back(0); in VertexArrayObjectTest()
213 …<< "\tGL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : " << m_buffers[state.attributes[attribNdx].bufferNdx… in logVertexArrayState()
230 m_buffers.push_back(buffer); in init()
260 GLU_CHECK_CALL(glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0]))); in deinit()
261 m_buffers.clear(); in deinit()
548 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_buffers[state.elementArrayBuffer])); in setState()
552 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_buffers[state.attributes[attribNdx].bufferNdx])); in setState()
677 vector<GLuint> m_buffers; member in deqp::gles3::Functional::MultiVertexArrayObjectTest
705 m_buffers.push_back(0); in MultiVertexArrayObjectTest()
[all …]
Des3fFboRenderTest.cpp1254 deUint32 m_buffers; member in deqp::gles3::Functional::FboCases::RecreateBuffersTest
1260 , m_buffers (buffers) in RecreateBuffersTest()
1326 DE_ASSERT((m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == 0 || in render()
1327 …(m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == (m_config.buffers & (GL_DEPTH_BUFFER_… in render()
1341 if ((m_buffers & bit) == 0) in render()
1381 if ((m_buffers & bit) == 0) in render()
1404 …ctx.clear(m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)); // \note Clear only buffers th… in render()
1405 if (m_buffers & GL_COLOR_BUFFER_BIT) in render()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp481 m_buffers.getAll(buffers); in ~ReferenceContext()
2434 m_buffers.releaseReference(*bindingPoint); in setBufferBinding()
2439 m_buffers.acquireReference(buffer); in setBufferBinding()
2473 bufObj = m_buffers.find(buffer); in bindBuffer()
2477 m_buffers.insert(bufObj); in bindBuffer()
2489 buffers[ndx] = m_buffers.allocateName(); in genBuffers()
2504 bufObj = m_buffers.find(buffer); in deleteBuffers()
2541 m_buffers.releaseReference(buffer); in deleteBuffer()
2549 m_buffers.releaseReference(buffer); in deleteBuffer()
2558 m_buffers.releaseReference(buffer); in deleteBuffer()
[all …]
DsglrReferenceContext.hpp882 rc::ObjectManager<rc::DataBuffer> m_buffers; member in sglr::ReferenceContext
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp85 const SharedPtr<Buffer> getBuffer (int index) const { return m_buffers[index]; } in getBuffer()
86 void addBuffer (SharedPtr<Buffer> buffer) { m_buffers.push_back(buffer); } in addBuffer()
87 int getBufferCount (void) const { return (int)m_buffers.size(); } in getBufferCount()
101 std::vector<SharedPtr<Buffer> > m_buffers; member in deqp::egl::GLES2ThreadTest::GLES2ResourceManager
117 SharedPtr<Buffer> buffer = m_buffers[index]; in popBuffer()
119 m_buffers.erase(m_buffers.begin() + index); in popBuffer()