/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 309 Move<VkImage> makeImage (const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 qu… in makeImage() 324 const VkDeviceSize sizeInPixels = (size + 3u) / pixelSize; in makeImage() 361 Move<VkBuffer> makeBuffer(const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 q… in makeBuffer() 431 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory() 443 VkDeviceSize findLargeAllocationSize (const DeviceInterface& vk, VkDevice device, VkDeviceSize max,… in findLargeAllocationSize() 448 for (VkDeviceSize size = max; size > 0; size >>= 1) in findLargeAllocationSize() 471 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory() 496 MemoryRange (VkDeviceSize offset_ = ~(VkDeviceSize)0, VkDeviceSize size_ = ~(VkDeviceSize)0) in MemoryRange() 502 VkDeviceSize offset; 503 VkDeviceSize size; [all …]
|
D | vktMemoryExternalMemoryHostTests.cpp | 88 ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize); 92 VkDeviceSize getMinImportedHostPointerAlignment (void); 106 VkDeviceSize m_minImportedHostPointerAlignment; 107 VkDeviceSize m_allocationSize; 160 void prepareBufferForHostAccess (VkDeviceSize size); 161 void copyResultBuffertoBuffer (VkDeviceSize size); 163 Move<VkBuffer> createDataBuffer (VkDeviceSize size, VkBufferUsageFlags usage); 164 void fillBuffer (VkDeviceSize size); 175 …aseTestInstance::ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize) in ExternalMemoryHostBaseTestInstance() 201 VkDeviceSize ExternalMemoryHostBaseTestInstance::getMinImportedHostPointerAlignment (void) in getMinImportedHostPointerAlignment() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkBuffer.hpp | 33 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset); 34 void copyFrom(const void *srcMemory, VkDeviceSize size, VkDeviceSize offset); 35 void copyTo(void *dstMemory, VkDeviceSize size, VkDeviceSize offset) const; 37 void fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data); 38 void update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData); 39 void *getOffsetPointer(VkDeviceSize offset) const; 40 inline VkDeviceSize getSize() const { return size; } in getSize() 50 VkDeviceSize size = 0;
|
D | VkBuffer.cpp | 70 memoryRequirements.size = std::numeric_limits<VkDeviceSize>::max(); in getMemoryRequirements() 100 void Buffer::bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset) in bind() 105 void Buffer::copyFrom(const void *srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom() 112 void Buffer::copyTo(void *dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() 124 void Buffer::fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data) in fill() 140 void Buffer::update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData) in update() 147 void *Buffer::getOffsetPointer(VkDeviceSize offset) const in getOffsetPointer()
|
D | VkDeviceMemory.hpp | 30 VkDeviceSize allocationSize = 0; 81 VkResult map(VkDeviceSize offset, VkDeviceSize size, void **ppData); 82 VkDeviceSize getCommittedMemoryInBytes() const; 83 void *getOffsetPointer(VkDeviceSize pOffset) const; 95 virtual VkDeviceSize externalImageMemoryOffset(VkImageAspectFlagBits aspect) const { return 0; } in externalImageMemoryOffset() 121 const VkDeviceSize allocationSize;
|
D | VkImage.hpp | 61 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset); 96 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const; 97 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 124 VkDeviceSize getStorageSize(VkImageAspectFlags flags) const; 125 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 126 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 127 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 128 …VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons… 129 …VkDeviceSize texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subreso… 130 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect) const; [all …]
|
D | VkConfig.hpp | 38 constexpr VkDeviceSize REQUIRED_MEMORY_ALIGNMENT = 16; // 16 bytes for 128-bit vector types. 41 constexpr VkDeviceSize MIN_TEXEL_BUFFER_OFFSET_ALIGNMENT = 256; 42 constexpr VkDeviceSize MIN_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 256; 43 constexpr VkDeviceSize MIN_STORAGE_BUFFER_OFFSET_ALIGNMENT = 256; 79 constexpr VkDeviceSize PHYSICAL_DEVICE_HEAP_SIZE = 0x80000000ull + 15; // 0x80000000 = 2 GiB 80 constexpr VkDeviceSize MAX_MEMORY_ALLOCATION_SIZE = 0x40000000ull; // 0x40000000 = 1 GiB
|
D | VkCommandBuffer.hpp | 79 const VkBuffer *pBuffers, const VkDeviceSize *pOffsets); 86 … Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 102 void bindIndexBuffer(Buffer *buffer, VkDeviceSize offset, VkIndexType indexType); 104 void dispatchIndirect(Buffer *buffer, VkDeviceSize offset); 110 …void updateBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pD… 111 void fillBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data); 128 void drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 129 void drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/ |
D | radix_sort_vk.h | 143 VkDeviceSize offset; 144 VkDeviceSize range; 149 VkDeviceSize offset; 234 VkDeviceSize keyval_size; 236 VkDeviceSize keyvals_size; 237 VkDeviceSize keyvals_alignment; 239 VkDeviceSize internal_size; 240 VkDeviceSize internal_alignment; 242 VkDeviceSize indirect_size; 243 VkDeviceSize indirect_alignment;
|
D | radix_sort_vk_devaddr.h | 28 VkDeviceSize offset; 37 VkDeviceSize offset, 38 VkDeviceSize size, 43 VkDeviceSize offset);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.hpp | 63 VkDeviceSize getOffset (void) const { return m_offset; } in getOffset() 69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr); 73 const VkDeviceSize m_offset; 133 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig… 143 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme… 156 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… 157 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 158 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 184 const VkDeviceSize size);
|
D | vkRayTracingUtil.hpp | 105 virtual VkDeviceSize getVertexStride (void) const = 0; 106 virtual VkDeviceSize getAABBStride (void) const = 0; 110 virtual VkDeviceSize getIndexStride (void) const = 0; 227 VkDeviceSize getVertexStride (void) const override; 228 VkDeviceSize getAABBStride (void) const override; 232 VkDeviceSize getIndexStride (void) const override; 322 VkDeviceSize RaytracedGeometry<V,I>::getVertexStride (void) const in getVertexStride() 324 return ((!isTrianglesType()) ? 0ull : static_cast<VkDeviceSize>(getBlockSize())); in getVertexStride() 328 VkDeviceSize RaytracedGeometry<V, I>::getAABBStride (void) const in getAABBStride() 330 return (isTrianglesType() ? 0ull : static_cast<VkDeviceSize>(getBlockSize())); in getAABBStride() [all …]
|
D | vkMemUtil.cpp | 50 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 62 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… in HostPtr() 96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() 189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation() 206 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() 323 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… in mapMemory() 331 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in flushMappedMemoryRange() 345 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in invalidateMappedMemoryRange() 439 const VkDeviceSize size) in zeroBuffer()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkMemory.h | 45 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 46 VkDeviceSize size); 47 void InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 48 VkDeviceSize size); 52 void GetNonCoherentMappedMemoryRange(const GrVkAlloc&, VkDeviceSize offset, VkDeviceSize size, 53 VkDeviceSize alignment, VkMappedMemoryRange*);
|
D | GrVkMemory.cpp | 130 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange() 131 VkDeviceSize size, VkDeviceSize alignment, in GetNonCoherentMappedMemoryRange() 135 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() 153 void GrVkMemory::FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, in FlushMappedAlloc() 154 VkDeviceSize size) { in FlushMappedAlloc() 166 VkDeviceSize offset, VkDeviceSize size) { in InvalidateMappedAlloc()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.h | 38 VkDeviceSize lastAllocationOffset; 107 vk::BufferHelper &getBufferAndOffset(VkDeviceSize *offsetOut) in getBufferAndOffset() 123 VkDeviceSize offset, 124 VkDeviceSize length, 129 VkDeviceSize offset, 130 VkDeviceSize length, 172 VkDeviceSize *stagingBufferOffset, 176 VkDeviceSize stagingBufferOffset, 192 VkDeviceSize offset, 193 VkDeviceSize size, [all …]
|
D | VertexArrayVk.h | 60 VkDeviceSize indirectBufferOffset, 62 VkDeviceSize *indirectBufferOffsetOut); 66 VkDeviceSize indirectBufferOffset, 68 VkDeviceSize *indirectBufferOffsetOut); 75 const gl::AttribArray<VkDeviceSize> &getCurrentArrayBufferOffsets() const in getCurrentArrayBufferOffsets() 85 VkDeviceSize getCurrentElementArrayBufferOffset() const in getCurrentElementArrayBufferOffset() 98 VkDeviceSize srcIndirectBufOffset, 100 VkDeviceSize *indirectBufferVkOffsetOut); 139 gl::AttribArray<VkDeviceSize> mCurrentArrayBufferOffsets; 146 VkDeviceSize mCurrentElementArrayBufferOffset;
|
D | vk_mem_alloc_wrapper.h | 25 VkDeviceSize preferredLargeHeapBlockSize, in VK_DEFINE_HANDLE() 33 VkDeviceSize blockSize, in VK_DEFINE_HANDLE() 65 VkDeviceSize offset, in VK_DEFINE_HANDLE() 66 VkDeviceSize size); in VK_DEFINE_HANDLE() 70 VkDeviceSize offset, in VK_DEFINE_HANDLE() 71 VkDeviceSize size); in VK_DEFINE_HANDLE()
|
D | RendererVk.h | 72 VkDeviceSize allocatedMemory; 73 VkDeviceSize allocatedMemoryMax; 74 VkDeviceSize importedMemory; 75 VkDeviceSize importedMemoryMax; 78 VkDeviceSize mCurrentTotalAllocatedMemory; 79 VkDeviceSize mMaxTotalAllocatedMemory; 81 VkDeviceSize mCurrentTotalImportedMemory; 82 VkDeviceSize mMaxTotalImportedMemory; 92 VkResult initialize(RendererVk *renderer, VkDeviceSize preferredLargeHeapBlockSize); 233 VkDeviceSize getMaxVertexAttribStride() const { return mMaxVertexAttribStride; } in getMaxVertexAttribStride() [all …]
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 2082 VkDeviceSize size, 2089 VkDeviceSize size, 2284 VkDeviceSize preferredLargeHeapBlockSize; 2329 …const VkDeviceSize* VMA_NULLABLE VMA_LEN_IF_NOT_NULL("VkPhysicalDeviceMemoryProperties::memoryHeap… 2446 VkDeviceSize usedBytes; 2448 VkDeviceSize unusedBytes; 2449 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax; 2450 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax; 2480 VkDeviceSize blockBytes; 2491 VkDeviceSize allocationBytes; [all …]
|
/third_party/skia/include/gpu/vk/ |
D | GrVkMemoryAllocator.h | 115 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize, VkDeviceSize) {} in flushMappedMemory() argument 116 virtual VkResult flushMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, in flushMemory() 117 VkDeviceSize size) { in flushMemory() 121 virtual void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize, VkDeviceSize) {} in invalidateMappedMemory() argument 122 virtual VkResult invalidateMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, in invalidateMemory() 123 VkDeviceSize size) { in invalidateMemory()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessBufferAccessTests.cpp | 65 static VkDeviceSize min (VkDeviceSize a, VkDeviceSize b) in min() 120 VkDeviceSize readAccessRange, 131 const VkDeviceSize m_readAccessRange; 144 VkDeviceSize writeAccessRange, 153 const VkDeviceSize m_writeAccessRange; 166 VkDeviceSize inBufferAccessRange, 167 VkDeviceSize outBufferAccessRange, 177 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic… 178 bool isOutBufferValueUnchanged (VkDeviceSize offsetInBytes, VkDeviceSize valueSize); 190 const VkDeviceSize m_inBufferAccessRange; [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer.h | 160 VkDeviceSize size, 167 VkDeviceSize size, 182 VkDeviceSize offset, 183 VkDeviceSize size); 186 VkDeviceSize offset, 187 VkDeviceSize size); 316 VkDeviceSize size, in vn_renderer_bo_create_from_device_memory() 338 VkDeviceSize size, in vn_renderer_bo_create_from_dma_buf() 388 VkDeviceSize offset, in vn_renderer_bo_flush() 389 VkDeviceSize end) in vn_renderer_bo_flush() [all …]
|
D | vn_device_memory.h | 19 VkDeviceSize used; 25 VkDeviceSize size; 35 VkDeviceSize base_offset; 37 VkDeviceSize map_end;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferComputeInstance.cpp | 56 (VkDeviceSize)bufferSize, // size in createDataBuffer() 103 (VkDeviceSize) bufferSize, // size in createColorDataBuffer() 167 …fferInfo resultInfo = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanc… in createDescriptorSet() 168 … bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDeviceSize)offset, (vk::VkDeviceSize)si… in createDescriptorSet() 204 …BufferInfo resultInfo = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanc… in createDescriptorSet() 207 …vk::makeDescriptorBufferInfo(viewA, (vk::VkDeviceSize)offsetA, (vk::VkDeviceSize)sizeof(tcu::Vec4[… in createDescriptorSet() 208 …vk::makeDescriptorBufferInfo(viewB, (vk::VkDeviceSize)offsetB, (vk::VkDeviceSize)sizeof(tcu::Vec4[… in createDescriptorSet()
|