Home
last modified time | relevance | path

Searched refs:bufferMemory (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DBuffer.hpp33 return device.mapMemory(bufferMemory, 0, size); in mapMemory()
38 device.unmapMemory(bufferMemory); in unmapMemory()
45 vk::DeviceMemory bufferMemory; // Owning handle member in Buffer
DBuffer.cpp34 bufferMemory = device.allocateMemory(allocInfo); in Buffer()
35 device.bindBufferMemory(buffer, bufferMemory, 0); in Buffer()
40 device.freeMemory(bufferMemory); in ~Buffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp104 AllocationMp bufferMemory = allocator.allocate(requirements, in createBufferAndBindMemory() local
109 …VK_CHECK(vkdi.bindBufferMemory(device, *buffer, bufferMemory->getMemory(), bufferMemory->getOffset… in createBufferAndBindMemory()
110 *outMemory = bufferMemory; in createBufferAndBindMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp104 AllocationMp bufferMemory = allocator.allocate(requirements, in createBufferAndBindMemory() local
109 …VK_CHECK(vkdi.bindBufferMemory(device, *buffer, bufferMemory->getMemory(), bufferMemory->getOffset… in createBufferAndBindMemory()
110 *outMemory = bufferMemory; in createBufferAndBindMemory()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp580 uint8_t *bufferMemory = static_cast<uint8_t *>(buffer->getOffsetPointer(region.bufferOffset)); in copy() local
582 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()
583 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp639 …const de::MovePtr<vk::Allocation> bufferMemory = allocateAndBindObjectMemory(m_vki, m_device, … in readRenderTarget() local
653 invalidateAlloc(m_vki, m_device, *bufferMemory); in readRenderTarget()
654 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferMemory->getHostPt… in readRenderTarget()
1172 std::vector<AllocationSp>& bufferMemory);
1400 std::vector<AllocationSp>& bufferMemory) in createSourceBuffers() argument
1430 bufferMemory.push_back(AllocationSp(memory.release())); in createSourceBuffers()
1475 …de::MovePtr<vk::Allocation> bufferMemory = allocateAndBindObjectMemory(vki, device, allocator, *… in createSourceBuffer() local
1476 void* const mapPtr = bufferMemory->getHostPtr(); in createSourceBuffer()
1487 flushAlloc(vki, device, *bufferMemory); in createSourceBuffer()
1491 *outMemory = bufferMemory; in createSourceBuffer()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp639 …const de::MovePtr<vk::Allocation> bufferMemory = allocateAndBindObjectMemory(m_vki, m_device, … in readRenderTarget() local
653 invalidateAlloc(m_vki, m_device, *bufferMemory); in readRenderTarget()
654 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferMemory->getHostPt… in readRenderTarget()
1172 std::vector<AllocationSp>& bufferMemory);
1400 std::vector<AllocationSp>& bufferMemory) in createSourceBuffers() argument
1430 bufferMemory.push_back(AllocationSp(memory.release())); in createSourceBuffers()
1475 …de::MovePtr<vk::Allocation> bufferMemory = allocateAndBindObjectMemory(vki, device, allocator, *… in createSourceBuffer() local
1476 void* const mapPtr = bufferMemory->getHostPtr(); in createSourceBuffer()
1487 flushAlloc(vki, device, *bufferMemory); in createSourceBuffer()
1491 *outMemory = bufferMemory; in createSourceBuffer()
[all …]