/external/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() 47 VkDeviceSize size = 0;
|
D | VkBuffer.cpp | 87 void Buffer::bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset) in bind() 92 void Buffer::copyFrom(const void *srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom() 99 void Buffer::copyTo(void *dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() 111 void Buffer::fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data) in fill() 127 void Buffer::update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData) in update() 134 void *Buffer::getOffsetPointer(VkDeviceSize offset) const in getOffsetPointer()
|
D | VkImage.hpp | 55 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset); 83 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const; 84 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 101 VkDeviceSize getStorageSize(VkImageAspectFlags flags) const; 102 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 103 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 104 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 105 …VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons… 106 …VkDeviceSize texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresourceLayers &s… 107 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect) const; [all …]
|
D | VkDeviceMemory.hpp | 41 VkResult map(VkDeviceSize offset, VkDeviceSize size, void **ppData); 42 VkDeviceSize getCommittedMemoryInBytes() const; 43 void *getOffsetPointer(VkDeviceSize pOffset) const; 56 VkDeviceSize size = 0;
|
D | VkCommandBuffer.hpp | 85 const VkBuffer *pBuffers, const VkDeviceSize *pOffsets); 92 … Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 108 void bindIndexBuffer(Buffer *buffer, VkDeviceSize offset, VkIndexType indexType); 110 void dispatchIndirect(Buffer *buffer, VkDeviceSize offset); 120 …void updateBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pD… 121 void fillBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data); 139 void drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 140 void drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 180 VkDeviceSize offset;
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 305 Move<VkImage> makeImage (const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 qu… in makeImage() 307 const VkDeviceSize sizeInPixels = (size + 3u) / 4u; in makeImage() 336 Move<VkBuffer> makeBuffer(const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 q… in makeBuffer() 406 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory() 418 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory() 443 MemoryRange (VkDeviceSize offset_ = ~(VkDeviceSize)0, VkDeviceSize size_ = ~(VkDeviceSize)0) in MemoryRange() 449 VkDeviceSize offset; 450 VkDeviceSize size; 456 : allocationSize (~(VkDeviceSize)0) in TestConfig() 461 VkDeviceSize allocationSize; [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 …]
|
/external/vulkan-validation-layers/layers/ |
D | drawdispatch.cpp | 114 …VkDeviceSize end_offset = (index_size * ((VkDeviceSize)firstIndex + indexCount)) + index_buffer_bi… in PreCallValidateCmdDrawIndexed() 140 …lidateCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_… in PreCallValidateCmdDrawIndirect() 162 …RecordCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_… in PreCallRecordCmdDrawIndirect() 167 …:PostCallRecordCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, in PostCallRecordCmdDrawIndirect() 175 …ValidateCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, in PreCallValidateCmdDrawIndexedIndirect() 199 …llRecordCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, in PreCallRecordCmdDrawIndexedIndirect() 205 … VkDeviceSize offset, uint32_t count, uint32_t stride) { in PostCallRecordCmdDrawIndexedIndirect() 229 …lValidateCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) { in PreCallValidateCmdDispatchIndirect() 242 …allRecordCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) { in PreCallRecordCmdDispatchIndirect() 247 VkDeviceSize offset) { in PostCallRecordCmdDispatchIndirect() [all …]
|
D | vk_mem_alloc.h | 1675 VkDeviceSize size); 1681 VkDeviceSize size); 1800 VkDeviceSize preferredLargeHeapBlockSize; 1845 const VkDeviceSize* pHeapSizeLimit; 1926 VkDeviceSize usedBytes; 1928 VkDeviceSize unusedBytes; 1929 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax; 1930 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax; 2310 VkDeviceSize blockSize; 2345 VkDeviceSize size; [all …]
|
/external/deqp/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 | 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()
|
D | vkVirtualDeviceInterface.inl | 12 …mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 16 …tDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemo… 17 …mory (VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) c… 18 …emory (VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) c… 37 …t32 firstQuery, deUint32 queryCount, deUintptr dataSize, void* pData, VkDeviceSize stride, VkQuery… 92 …ndIndexBuffer (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndex… 93 … firstBinding, deUint32 bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) cons… 96 …DrawIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint3… 97 …ndexedIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint3… 99 …patchIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) const =… [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkMemory.h | 45 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 46 VkDeviceSize size); 47 void InvalidateMappedAlloc(const 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 | 87 const VkDeviceSize kMaxSmallImageSize = 16 * 1024; 137 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in MapAlloc() 166 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange() 167 VkDeviceSize size, VkDeviceSize alignment, in GetNonCoherentMappedMemoryRange() 171 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() 189 void GrVkMemory::FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, in FlushMappedAlloc() 190 VkDeviceSize size) { in FlushMappedAlloc() 198 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in FlushMappedAlloc() 209 VkDeviceSize offset, VkDeviceSize size) { in InvalidateMappedAlloc() 217 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in InvalidateMappedAlloc()
|
/external/skia/src/gpu/vk/ |
D | GrVkMemory.h | 45 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 46 VkDeviceSize size); 47 void InvalidateMappedAlloc(const 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 | 86 const VkDeviceSize kMaxSmallImageSize = 256 * 1024; 142 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in MapAlloc() 171 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange() 172 VkDeviceSize size, VkDeviceSize alignment, in GetNonCoherentMappedMemoryRange() 176 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() 194 void GrVkMemory::FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, in FlushMappedAlloc() 195 VkDeviceSize size) { in FlushMappedAlloc() 203 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in FlushMappedAlloc() 214 VkDeviceSize offset, VkDeviceSize size) { in InvalidateMappedAlloc() 222 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in InvalidateMappedAlloc()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
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() 92 mCurrentElementArrayBufferOffset = reinterpret_cast<VkDeviceSize>(offset); in updateCurrentElementArrayBufferOffset() 103 VkDeviceSize srcIndirectBufOffset, 105 VkDeviceSize *indirectBufferVkOffsetOut); 142 gl::AttribArray<VkDeviceSize> mCurrentArrayBufferOffsets; [all …]
|
/external/angle/third_party/VulkanMemoryAllocator/src/ |
D | vk_mem_alloc.h | 2012 VkDeviceSize size, 2019 VkDeviceSize size, 2214 VkDeviceSize preferredLargeHeapBlockSize; 2259 const VkDeviceSize* pHeapSizeLimit; 2375 VkDeviceSize usedBytes; 2377 VkDeviceSize unusedBytes; 2378 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax; 2379 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax; 2409 VkDeviceSize blockBytes; 2420 VkDeviceSize allocationBytes; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessBufferAccessTests.cpp | 65 static VkDeviceSize min (VkDeviceSize a, VkDeviceSize b) in min() 118 VkDeviceSize readAccessRange, 129 const VkDeviceSize m_readAccessRange; 142 VkDeviceSize writeAccessRange, 151 const VkDeviceSize m_writeAccessRange; 164 VkDeviceSize inBufferAccessRange, 165 VkDeviceSize outBufferAccessRange, 175 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic… 176 bool isOutBufferValueUnchanged (VkDeviceSize offsetInBytes, VkDeviceSize valueSize); 188 const VkDeviceSize m_inBufferAccessRange; [all …]
|
/external/deqp/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()
|
/external/vulkan-validation-layers/layers/generated/ |
D | parameter_validation.h | 96 VkDeviceSize offset, 97 VkDeviceSize size, 114 VkDeviceSize* pCommittedMemoryInBytes); 119 VkDeviceSize memoryOffset); 124 VkDeviceSize memoryOffset); 217 VkDeviceSize stride, 466 VkDeviceSize offset, 473 const VkDeviceSize* pOffsets); 490 VkDeviceSize offset, 496 VkDeviceSize offset, [all …]
|
D | thread_safety.h | 617 VkDeviceSize offset, 618 VkDeviceSize size, 625 VkDeviceSize offset, 626 VkDeviceSize size, 664 VkDeviceSize* pCommittedMemoryInBytes); 669 VkDeviceSize* pCommittedMemoryInBytes); 675 VkDeviceSize memoryOffset); 681 VkDeviceSize memoryOffset, 688 VkDeviceSize memoryOffset); 694 VkDeviceSize memoryOffset, [all …]
|
D | layer_chassis_dispatch.h | 124 VkDeviceSize offset, 125 VkDeviceSize size, 142 VkDeviceSize* pCommittedMemoryInBytes); 147 VkDeviceSize memoryOffset); 152 VkDeviceSize memoryOffset); 245 VkDeviceSize stride, 494 VkDeviceSize offset, 501 const VkDeviceSize* pOffsets); 518 VkDeviceSize offset, 524 VkDeviceSize offset, [all …]
|
/external/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 1095 VkDeviceSize size); 1101 VkDeviceSize size); 1187 VkDeviceSize preferredLargeHeapBlockSize; 1231 const VkDeviceSize* pHeapSizeLimit; 1305 VkDeviceSize usedBytes; 1307 VkDeviceSize unusedBytes; 1308 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax; 1309 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax; 1613 VkDeviceSize blockSize; 1648 VkDeviceSize size; [all …]
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 1095 VkDeviceSize size); 1101 VkDeviceSize size); 1187 VkDeviceSize preferredLargeHeapBlockSize; 1231 const VkDeviceSize* pHeapSizeLimit; 1305 VkDeviceSize usedBytes; 1307 VkDeviceSize unusedBytes; 1308 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax; 1309 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax; 1613 VkDeviceSize blockSize; 1648 VkDeviceSize size; [all …]
|