/third_party/vk-gl-cts/modules/glshared/ |
D | glsLongStressCase.cpp | 1114 , 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() 1355 …m_buffers->removeGarbageUntilUnder(m_maxBufMemoryUsageBytes - indexBuf.getApproxMemUsageDiff(m_ver… in iterate() 1382 const bool hadCurAttrBuffer = m_buffers->has(curAttrBufName); in iterate() [all …]
|
D | glsMemoryStressCase.cpp | 447 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()
|
D | glsUniformBlockCase.cpp | 1351 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()
|
D | glsLongStressCase.hpp | 324 LongStressCaseInternal::Buffer>* m_buffers; member in deqp::gls::LongStressCase
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboInvalidateTests.cpp | 140 , 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 …]
|
D | es3fVertexArrayObjectTests.cpp | 158 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 …]
|
D | es3fFboRenderTest.cpp | 1256 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/ |
D | es31fLayoutBindingTests.cpp | 1676 std::vector<deUint32> m_buffers; member in deqp::gles31::Functional::__anon241503dd0111::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 …]
|
D | es31fSSBOLayoutCase.cpp | 2052 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/ |
D | teglRobustnessTests.cpp | 766 std::vector<glw::GLuint> m_buffers; member in deqp::egl::__anon831676ed0111::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 …]
|
D | teglGLES2SharingThreadedTests.cpp | 85 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/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 559 vector<CommandBuffer*> m_buffers; member in vk::__anona26b1dc80111::CommandPool 566 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in ~CommandPool() 567 delete m_buffers[ndx]; in ~CommandPool() 578 m_buffers.push_back(impl); in allocate() 593 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in free() 595 if (m_buffers[ndx] == impl) in free() 597 std::swap(m_buffers[ndx], m_buffers.back()); in free() 598 m_buffers.pop_back(); in free()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushDescriptorTests.cpp | 267 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anond98274ed0111::PushDescriptorBufferGraphicsTestInstance 435 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 436 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 437 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 552 **m_buffers[quadNdx], // VkBuffer buffer; in init() 732 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anond98274ed0111::PushDescriptorBufferComputeTestInstance 845 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 846 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 847 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 920 **m_buffers[dispatchNdx], // VkBuffer buffer; in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelinePushDescriptorTests.cpp | 267 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anonfb7722ad0111::PushDescriptorBufferGraphicsTestInstance 435 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 436 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 437 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 552 **m_buffers[quadNdx], // VkBuffer buffer; in init() 732 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anonfb7722ad0111::PushDescriptorBufferComputeTestInstance 845 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 846 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 847 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 920 **m_buffers[dispatchNdx], // VkBuffer buffer; in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 638 const std::vector<VkBufferSp> m_buffers; member in vkt::__anonee50791d0111::MultisampleRenderPassTestInstance 677 …, m_buffers (createBuffers((1u << renderLevel)*m_width, (1u << renderLevel)*m_height, renderLe… in MultisampleRenderPassTestInstance() 678 , m_bufferMemory (createBufferMemory(m_buffers)) in MultisampleRenderPassTestInstance() 777 copyImageToBuffer(vkd, *commandBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], in submit() 980 copyImageToBuffer(vkd, *cmdBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], in submitDynamicRendering() 1893 const std::vector<VkBufferSp> m_buffers; member in vkt::__anonee50791d0111::MaxAttachmenstsRenderPassTestInstance 1923 , m_buffers (createBuffers()) in MaxAttachmenstsRenderPassTestInstance() 1924 , m_bufferMemory (createBufferMemory(m_buffers)) in MaxAttachmenstsRenderPassTestInstance() 2074 …**m_singlesampleImages[dstNdx], VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_buffers[dstNdx], 1u, &re… in submit() 2081 for (size_t dstNdx = 0; dstNdx < m_buffers.size(); dstNdx++) in submit() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 638 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon39f6e6dd0111::MultisampleRenderPassTestInstance 677 …, m_buffers (createBuffers((1u << renderLevel)*m_width, (1u << renderLevel)*m_height, renderLe… in MultisampleRenderPassTestInstance() 678 , m_bufferMemory (createBufferMemory(m_buffers)) in MultisampleRenderPassTestInstance() 777 copyImageToBuffer(vkd, *commandBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], in submit() 980 copyImageToBuffer(vkd, *cmdBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], in submitDynamicRendering() 1893 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon39f6e6dd0111::MaxAttachmenstsRenderPassTestInstance 1923 , m_buffers (createBuffers()) in MaxAttachmenstsRenderPassTestInstance() 1924 , m_bufferMemory (createBufferMemory(m_buffers)) in MaxAttachmenstsRenderPassTestInstance() 2074 …**m_singlesampleImages[dstNdx], VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_buffers[dstNdx], 1u, &re… in submit() 2081 for (size_t dstNdx = 0; dstNdx < m_buffers.size(); dstNdx++) in submit() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 1298 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/ |
D | gl3cTransformFeedbackTests.cpp | 3096 , 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 …]
|
D | gl3cTransformFeedbackTests.hpp | 497 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/ |
D | sglrReferenceContext.cpp | 500 m_buffers.getAll(buffers); in ~ReferenceContext() 2473 m_buffers.releaseReference(*bindingPoint); in setBufferBinding() 2478 m_buffers.acquireReference(buffer); in setBufferBinding() 2512 bufObj = m_buffers.find(buffer); in bindBuffer() 2516 m_buffers.insert(bufObj); in bindBuffer() 2528 buffers[ndx] = m_buffers.allocateName(); in genBuffers() 2543 bufObj = m_buffers.find(buffer); in deleteBuffers() 2580 m_buffers.releaseReference(buffer); in deleteBuffer() 2588 m_buffers.releaseReference(buffer); in deleteBuffer() 2597 m_buffers.releaseReference(buffer); in deleteBuffer() [all …]
|
D | sglrReferenceContext.hpp | 884 rc::ObjectManager<rc::DataBuffer> m_buffers; member in sglr::ReferenceContext
|