/external/deqp/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 | 454 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()
|
D | glsUniformBlockCase.cpp | 1348 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()
|
D | glsLongStressCase.hpp | 324 LongStressCaseInternal::Buffer>* m_buffers; member in deqp::gls::LongStressCase
|
/external/deqp/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() 677 vector<GLuint> m_buffers; member in deqp::gles3::Functional::MultiVertexArrayObjectTest 705 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()
|
/external/deqp/modules/gles31/functional/ |
D | es31fLayoutBindingTests.cpp | 1663 std::vector<deUint32> m_buffers; member in deqp::gles31::Functional::__anona33a70510111::UBOBindingRenderCase 1689 m_buffers = std::vector<glw::GLuint>(m_numBindings, 0); in init() 1690 gl.genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in init() 1692 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() 1698 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() 1700 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init() 1702 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init() 1713 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() 1715 if (m_buffers[bufNdx]) in deinit() 1717 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit() [all …]
|
D | es31fSSBOLayoutCase.cpp | 2057 std::vector<deUint32> m_buffers; member in deqp::gles31::bb::BufferManager 2067 if (!m_buffers.empty()) in ~BufferManager() 2068 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~BufferManager() 2075 m_buffers.reserve(m_buffers.size()+1); in allocBuffer() 2078 m_buffers.push_back(buf); in allocBuffer()
|
/external/deqp/modules/egl/ |
D | teglRobustnessTests.cpp | 1053 std::vector<glw::GLuint> m_buffers; member in deqp::egl::__anon80c5ce610111::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 …]
|
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()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 526 vector<CommandBuffer*> m_buffers; member in vk::__anonfb9acbbc0111::CommandPool 531 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in ~CommandPool() 532 delete m_buffers[ndx]; in ~CommandPool() 541 m_buffers.push_back(impl); in allocate() 556 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in free() 558 if (m_buffers[ndx] == impl) in free() 560 std::swap(m_buffers[ndx], m_buffers.back()); in free() 561 m_buffers.pop_back(); in free()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushDescriptorTests.cpp | 245 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anon95b17d610111::PushDescriptorBufferGraphicsTestInstance 407 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 408 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 409 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 523 **m_buffers[quadNdx], // VkBuffer buffer; in init() 695 vector<VkBufferSp> m_buffers; member in vkt::pipeline::__anon95b17d610111::PushDescriptorBufferComputeTestInstance 807 …m_buffers.push_back(VkBufferSp(new Unique<VkBuffer>(createBuffer(m_vkd, *m_device, &bufferCreateIn… in init() 808 …Sp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), Memory… in init() 809 …VK_CHECK(m_vkd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(… in init() 882 **m_buffers[dispatchNdx], // VkBuffer buffer; in init() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 1303 std::vector<deUint32> m_buffers; member in deqp::ub::UniformBufferManager 1312 if (!m_buffers.empty()) in ~UniformBufferManager() 1313 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]); in ~UniformBufferManager() 1320 m_buffers.reserve(m_buffers.size() + 1); in allocBuffer() 1323 m_buffers.push_back(buf); in allocBuffer()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cTransformFeedbackTests.cpp | 3074 , m_buffers(DE_NULL) in CaptureVertexSeparate() 3130 m_buffers = new glw::GLuint[m_max_transform_feedback_components]; in createTransformFeedbackBuffer() 3132 if (DE_NULL == m_buffers) in createTransformFeedbackBuffer() 3137 gl.genBuffers(m_max_transform_feedback_separate_attribs, m_buffers); in createTransformFeedbackBuffer() 3144 gl.bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, m_buffers[i]); in createTransformFeedbackBuffer() 3162 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i]); in bindBuffer() 3168 gl.bindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i], 0, m_buffer_size); in bindBuffer() 3174 m_glBindBufferOffsetEXT(GL_TRANSFORM_FEEDBACK_BUFFER, i, m_buffers[i], 0); in bindBuffer() 3187 if (DE_NULL != m_buffers) in cleanBuffer() 3189 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
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 811 const std::vector<VkBufferSp> m_buffers; member in vkt::__anon156ab5910111::MultisampleRenderPassTestInstance 845 …, m_buffers (createBuffers(context.getDeviceInterface(), context.getDevice(), m_format, m_widt… in MultisampleRenderPassTestInstance() 846 …emory(context.getDeviceInterface(), context.getDevice(), context.getDefaultAllocator(), m_buffers)) in MultisampleRenderPassTestInstance() 1015 …copyImageToBuffer(vkd, *commandBuffer, **m_singlesampleImages[dstNdx], **m_buffers[dstNdx], tcu::I… in submit()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 481 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 …]
|
D | sglrReferenceContext.hpp | 882 rc::ObjectManager<rc::DataBuffer> m_buffers; member in sglr::ReferenceContext
|