Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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.cpp447 vector<deUint32> m_buffers; member in deqp::gls::MemObjectAllocator
559 if (!m_buffers.empty()) in clearObjects()
561 glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0])); in clearObjects()
569 m_buffers.clear(); in clearObjects()
689 if (m_buffers.size() % vectorBlockSize == 0) in allocateBuffer()
690 m_buffers.reserve(m_buffers.size() + vectorBlockSize); in allocateBuffer()
692 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
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fLayoutBindingTests.cpp1676 std::vector<deUint32> m_buffers; member in deqp::gles31::Functional::__anon27902bf20111::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()
/third_party/vk-gl-cts/modules/egl/
DteglRobustnessTests.cpp766 std::vector<glw::GLuint> m_buffers; member in deqp::egl::__anon051d8bc20111::ShadersOOB
781 , m_buffers (s_numBindings, 0) in ShadersOOB()
1009 if (shaderStorageBlockSupported < (int)m_buffers.size()) in setup()
1010 …edError, ("Test requires " + shaderTypeStr + " >= " + de::toString((int)m_buffers.size()) + ", got… in setup()
1059 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)1u, &m_buffers[0])); in setup()
1061 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[0])); in setup()
1063 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffers[0])); in setup()
1068 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in setup()
1070 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in setup()
1076 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()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklink.cpp1144 GstQueueArray *m_buffers; member in GStreamerDecklinkMemoryAllocator
1151 if (!m_buffers) in _clearBufferPool()
1154 while ((buf = (uint8_t *) gst_queue_array_pop_head (m_buffers))) { in _clearBufferPool()
1165 m_nonEmptyCalls (0), m_buffers (NULL), m_refcount (1) in GStreamerDecklinkMemoryAllocator()
1169 m_buffers = gst_queue_array_new (60); in GStreamerDecklinkMemoryAllocator()
1175 gst_queue_array_free (m_buffers); in ~GStreamerDecklinkMemoryAllocator()
1229 if (!(buf = (uint8_t *) gst_queue_array_pop_head (m_buffers))) { in AllocateBuffer()
1254 if (gst_queue_array_get_length (m_buffers) > 0) { in AllocateBuffer()
1256 buf = (uint8_t *) gst_queue_array_pop_head (m_buffers); in AllocateBuffer()
1280 gst_queue_array_push_tail (m_buffers, buffer); in ReleaseBuffer()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp625 vector<CommandBuffer*> m_buffers; member in vk::__anon2667173d0111::CommandPool
630 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in ~CommandPool()
631 delete m_buffers[ndx]; in ~CommandPool()
640 m_buffers.push_back(impl); in allocate()
655 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in free()
657 if (m_buffers[ndx] == impl) in free()
659 std::swap(m_buffers[ndx], m_buffers.back()); in free()
660 m_buffers.pop_back(); in free()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp256 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anona8f46c020111::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::__anona8f46c020111::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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp631 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon3dfeb5320111::MultisampleRenderPassTestInstance
670 …, m_buffers (createBuffers((1u << renderLevel)*m_width, (1u << renderLevel)*m_height, renderLe… in MultisampleRenderPassTestInstance()
671 , m_bufferMemory (createBufferMemory(m_buffers)) in MultisampleRenderPassTestInstance()
886 copyImageToBuffer(vkd, *commandBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], in submit()
1756 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon3dfeb5320111::MaxAttachmenstsRenderPassTestInstance
1786 , m_buffers (createBuffers()) in MaxAttachmenstsRenderPassTestInstance()
1787 , m_bufferMemory (createBufferMemory(m_buffers)) in MaxAttachmenstsRenderPassTestInstance()
1937 …**m_singlesampleImages[dstNdx], VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_buffers[dstNdx], 1u, &re… in submit()
1944 for (size_t dstNdx = 0; dstNdx < m_buffers.size(); dstNdx++) in submit()
1957 **m_buffers[dstNdx], in submit()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp498 m_buffers.getAll(buffers); in ~ReferenceContext()
2471 m_buffers.releaseReference(*bindingPoint); in setBufferBinding()
2476 m_buffers.acquireReference(buffer); in setBufferBinding()
2510 bufObj = m_buffers.find(buffer); in bindBuffer()
2514 m_buffers.insert(bufObj); in bindBuffer()
2526 buffers[ndx] = m_buffers.allocateName(); in genBuffers()
2541 bufObj = m_buffers.find(buffer); in deleteBuffers()
2578 m_buffers.releaseReference(buffer); in deleteBuffer()
2586 m_buffers.releaseReference(buffer); in deleteBuffer()
2595 m_buffers.releaseReference(buffer); in deleteBuffer()
[all …]
DsglrReferenceContext.hpp884 rc::ObjectManager<rc::DataBuffer> m_buffers; member in sglr::ReferenceContext