Home
last modified time | relevance | path

Searched refs:m_buffers (Results 1 – 19 of 19) 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.cpp1351 std::vector<deUint32> m_buffers; member in deqp::gls::ub::UniformBufferManager
1361 if (!m_buffers.empty()) in ~UniformBufferManager()
1362 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~UniformBufferManager()
1369 m_buffers.reserve(m_buffers.size()+1); in allocBuffer()
1372 m_buffers.push_back(buf); in allocBuffer()
DglsLongStressCase.hpp324 LongStressCaseInternal::Buffer>* m_buffers; member in deqp::gls::LongStressCase
/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()
685 vector<GLuint> m_buffers; member in deqp::gles3::Functional::MultiVertexArrayObjectTest
713 m_buffers.push_back(0); in MultiVertexArrayObjectTest()
[all …]
Des3fFboRenderTest.cpp1256 deUint32 m_buffers; member in deqp::gles3::Functional::FboCases::RecreateBuffersTest
1262 , m_buffers (buffers) in RecreateBuffersTest()
1328 DE_ASSERT((m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == 0 || in render()
1329 …(m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == (m_config.buffers & (GL_DEPTH_BUFFER_… in render()
1343 if ((m_buffers & bit) == 0) in render()
1383 if ((m_buffers & bit) == 0) in render()
1406 …ctx.clear(m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)); // \note Clear only buffers th… in render()
1407 if (m_buffers & GL_COLOR_BUFFER_BIT) in render()
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp1676 std::vector<deUint32> m_buffers; member in deqp::gles31::Functional::__anon893987d80111::UBOBindingRenderCase
1702 m_buffers = std::vector<glw::GLuint>(m_numBindings, 0); in init()
1703 gl.genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in init()
1705 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init()
1711 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init()
1713 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init()
1715 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1726 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit()
1728 if (m_buffers[bufNdx]) in deinit()
1730 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
[all …]
Des31fSSBOLayoutCase.cpp2052 std::vector<deUint32> m_buffers; member in deqp::gles31::bb::BufferManager
2062 if (!m_buffers.empty()) in ~BufferManager()
2063 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~BufferManager()
2070 m_buffers.reserve(m_buffers.size()+1); in allocBuffer()
2073 m_buffers.push_back(buf); in allocBuffer()
/external/deqp/modules/egl/
DteglRobustnessTests.cpp1053 std::vector<glw::GLuint> m_buffers; member in deqp::egl::__anone786aa280111::ShadersOOB
1068 , m_buffers (s_numBindings, 0) in ShadersOOB()
1296 if (shaderStorageBlockSupported < (int)m_buffers.size()) in setup()
1297 …edError, ("Test requires " + shaderTypeStr + " >= " + de::toString((int)m_buffers.size()) + ", got… in setup()
1346 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)1u, &m_buffers[0])); in setup()
1348 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[0])); in setup()
1350 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffers[0])); in setup()
1355 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in setup()
1357 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in setup()
1363 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(resType, m_buffers[bufNdx])); in setup()
[all …]
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()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp604 vector<CommandBuffer*> m_buffers; member in vk::__anonbcc18e630111::CommandPool
609 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in ~CommandPool()
610 delete m_buffers[ndx]; in ~CommandPool()
619 m_buffers.push_back(impl); in allocate()
634 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in free()
636 if (m_buffers[ndx] == impl) in free()
638 std::swap(m_buffers[ndx], m_buffers.back()); in free()
639 m_buffers.pop_back(); in free()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp256 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anon18f959e80111::PushDescriptorBufferGraphicsTestInstance
418m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init()
419 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init()
420 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init()
534 **m_buffers[quadNdx], // VkBuffer buffer; in init()
708 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anon18f959e80111::PushDescriptorBufferComputeTestInstance
821m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init()
822 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init()
823 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init()
896 **m_buffers[dispatchNdx], // VkBuffer buffer; in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp583 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon4e6e29180111::MultisampleRenderPassTestInstance
612 , m_buffers (createBuffers()) in MultisampleRenderPassTestInstance()
613 , m_bufferMemory (createBufferMemory(m_buffers)) in MultisampleRenderPassTestInstance()
708 …copyImageToBuffer(vkd, *commandBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], tcu::I… in submit()
1544 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon4e6e29180111::MaxAttachmenstsRenderPassTestInstance
1574 , m_buffers (createBuffers()) in MaxAttachmenstsRenderPassTestInstance()
1575 , m_bufferMemory (createBufferMemory(m_buffers)) in MaxAttachmenstsRenderPassTestInstance()
1725 …**m_singlesampleImages[dstNdx], VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_buffers[dstNdx], 1u, &re… in submit()
1732 for (size_t dstNdx = 0; dstNdx < m_buffers.size(); dstNdx++) in submit()
1745 **m_buffers[dstNdx], in submit()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp1298 std::vector<deUint32> m_buffers; member in deqp::ub::UniformBufferManager
1307 if (!m_buffers.empty()) in ~UniformBufferManager()
1308 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~UniformBufferManager()
1315 m_buffers.reserve(m_buffers.size() + 1); in allocBuffer()
1318 m_buffers.push_back(buf); in allocBuffer()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTransformFeedbackTests.cpp3096 , m_buffers(DE_NULL) in CaptureVertexSeparate()
3152 m_buffers = new glw::GLuint[m_max_transform_feedback_components]; in createTransformFeedbackBuffer()
3154 if (DE_NULL == m_buffers) in createTransformFeedbackBuffer()
3159 gl.genBuffers(m_max_transform_feedback_separate_attribs, m_buffers); in createTransformFeedbackBuffer()
3166 gl.bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, m_buffers[i]); in createTransformFeedbackBuffer()
3184 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i]); in bindBuffer()
3190 gl.bindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i], 0, m_buffer_size); in bindBuffer()
3196 m_glBindBufferOffsetEXT(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i], 0); in bindBuffer()
3209 if (DE_NULL != m_buffers) in cleanBuffer()
3211 gl.deleteBuffers(m_max_transform_feedback_separate_attribs, m_buffers); in cleanBuffer()
[all …]
Dgl3cTransformFeedbackTests.hpp497 glw::GLuint* m_buffers; member in gl3cts::TransformFeedback::CaptureVertexSeparate
535 glw::GLuint* m_buffers; member in gl3cts::TransformFeedback::CaptureGeometrySeparate
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp498 m_buffers.getAll(buffers); in ~ReferenceContext()
2452 m_buffers.releaseReference(*bindingPoint); in setBufferBinding()
2457 m_buffers.acquireReference(buffer); in setBufferBinding()
2491 bufObj = m_buffers.find(buffer); in bindBuffer()
2495 m_buffers.insert(bufObj); in bindBuffer()
2507 buffers[ndx] = m_buffers.allocateName(); in genBuffers()
2522 bufObj = m_buffers.find(buffer); in deleteBuffers()
2559 m_buffers.releaseReference(buffer); in deleteBuffer()
2567 m_buffers.releaseReference(buffer); in deleteBuffer()
2576 m_buffers.releaseReference(buffer); in deleteBuffer()
[all …]
DsglrReferenceContext.hpp884 rc::ObjectManager<rc::DataBuffer> m_buffers; member in sglr::ReferenceContext