/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 | 73 ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize); 77 VkDeviceSize getMinImportedHostPointerAlignment (void); 91 VkDeviceSize m_minImportedHostPointerAlignment; 92 VkDeviceSize m_allocationSize; 158 …aseTestInstance::ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize) in ExternalMemoryHostBaseTestInstance() 187 VkDeviceSize ExternalMemoryHostBaseTestInstance::getMinImportedHostPointerAlignment (void) in getMinImportedHostPointerAlignment() 314 VkDeviceSize requiredSize = imageMemoryRequirements.size; in iterate() 318 …VkDeviceSize newHostAllocationSize = VkDeviceSize(deCeilFloatToInt32((float(requiredSize) / float(… in iterate() 330 VkDeviceSize requiredSize = imageMemoryRequirements.size + imageMemoryRequirements.alignment; in iterate() 333 …VkDeviceSize newHostAllocationSize = VkDeviceSize(deCeilFloatToInt32((float(requiredSize) / float(… in iterate() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkBuffer.hpp | 33 void bind(VkDeviceMemory 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; 44 VkDeviceSize size = 0;
|
D | VkBuffer.cpp | 68 void Buffer::bind(VkDeviceMemory pDeviceMemory, VkDeviceSize pMemoryOffset) in bind() 73 void Buffer::copyFrom(const void* srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom() 80 void Buffer::copyTo(void* dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() 92 void Buffer::fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data) in fill() 99 void Buffer::update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData) in update() 106 void* Buffer::getOffsetPointer(VkDeviceSize offset) const in getOffsetPointer()
|
D | VkImage.hpp | 42 void bind(VkDeviceMemory pDeviceMemory, VkDeviceSize pMemoryOffset); 59 VkDeviceSize getStorageSize(const VkImageAspectFlags& flags) const; 60 VkDeviceSize getMipLevelSize(const VkImageAspectFlags& flags, uint32_t mipLevel) const; 61 VkDeviceSize getLayerSize(const VkImageAspectFlags& flags) const; 62 VkDeviceSize getMemoryOffset(const VkImageAspectFlags& flags, uint32_t mipLevel) const; 63 …VkDeviceSize getMemoryOffset(const VkImageAspectFlags& flags, uint32_t mipLevel, uint32_t layer) c… 65 …VkDeviceSize texelOffsetBytesInStorage(const VkOffset3D& offset, const VkImageSubresourceLayers& s… 66 VkDeviceSize getMemoryOffset(const VkImageAspectFlags& flags) const; 80 VkDeviceSize memoryOffset = 0;
|
D | VkCommandBuffer.hpp | 64 const VkBuffer* pBuffers, const VkDeviceSize* pOffsets); 71 … VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 87 void bindIndexBuffer(VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType); 89 void dispatchIndirect(VkBuffer buffer, VkDeviceSize offset); 99 …void updateBuffer(VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* p… 100 void fillBuffer(VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data); 118 void drawIndirect(VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 119 …void drawIndexedIndirect(VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride… 132 VkDeviceSize offset;
|
D | VkDeviceMemory.hpp | 33 VkResult map(VkDeviceSize offset, VkDeviceSize size, void** ppData); 34 VkDeviceSize getCommittedMemoryInBytes() const; 35 void* getOffsetPointer(VkDeviceSize pOffset); 40 VkDeviceSize size = 0;
|
D | VkCommandBuffer.cpp | 127 VertexBufferBind(uint32_t pBinding, const VkBuffer pBuffer, const VkDeviceSize pOffset) : in VertexBufferBind() 139 const VkDeviceSize offset; 256 FillBuffer(VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) : in FillBuffer() 268 VkDeviceSize dstOffset; 269 VkDeviceSize size; 275 …UpdateBuffer(VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData)… in UpdateBuffer() 287 VkDeviceSize dstOffset; 288 VkDeviceSize dataSize; 541 const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) in bindVertexBuffers() 570 VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) in copyQueryPoolResults() [all …]
|
D | VkDeviceMemory.cpp | 54 VkResult DeviceMemory::map(VkDeviceSize pOffset, VkDeviceSize pSize, void** ppData) in map() 61 VkDeviceSize DeviceMemory::getCommittedMemoryInBytes() const in getCommittedMemoryInBytes() 66 void* DeviceMemory::getOffsetPointer(VkDeviceSize pOffset) in getOffsetPointer()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.hpp | 60 VkDeviceSize getOffset (void) const { return m_offset; } in getOffset() 66 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr); 70 const VkDeviceSize m_offset; 128 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig… 138 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme… 150 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… 151 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 152 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 155 …nterface& vkd, VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset, V…
|
D | vkMemUtil.cpp | 45 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… 57 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… in HostPtr() 91 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() 183 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation() 200 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() 303 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… in mapMemory() 311 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in flushMappedMemoryRange() 325 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in invalidateMappedMemoryRange() 356 VkDeviceSize memoryOffset, in bindImagePlaneMemory()
|
D | vkPlatform.hpp | 113 …VkDeviceSize totalDeviceLocalMemory; //!< #bytes of total DEVICE_LOCAL memory tests must not ex… 114 …VkDeviceSize deviceMemoryAllocationGranularity; //!< VkDeviceMemory allocation granularity (typica… 118 VkDeviceSize devicePageSize; //!< Page size on device (must be rounded up to nearest POT) 119 VkDeviceSize devicePageTableEntrySize; //!< Number of bytes per page table size
|
/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 | 87 const VkDeviceSize kMaxSmallImageSize = 256 * 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()
|
D | GrVkAMDMemoryAllocator.h | 37 void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 38 VkDeviceSize size) override; 39 void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 40 VkDeviceSize size) override;
|
/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()
|
D | GrVkAMDMemoryAllocator.h | 37 void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 38 VkDeviceSize size) override; 39 void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 40 VkDeviceSize size) override;
|
/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/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 …]
|
/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/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/skia/include/gpu/vk/ |
D | GrVkMemoryAllocator.h | 71 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 72 VkDeviceSize size) = 0; 73 virtual void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 74 VkDeviceSize size)= 0;
|
/external/skqp/include/gpu/vk/ |
D | GrVkMemoryAllocator.h | 71 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 72 VkDeviceSize size) = 0; 73 virtual void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset, 74 VkDeviceSize size)= 0;
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.h | 280 …ding(layer_data* dev_data, VkDeviceMemory mem, BINDABLE* mem_binding, VkDeviceSize memory_offset, … 289 …fferMemory(layer_data* device_data, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memoryOffset, 293 …moryState(layer_data* device_data, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memoryOffset); 308 …void StoreMemRanges(layer_data* dev_data, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize si… 310 …izeAndTrackMemory(layer_data* dev_data, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… 415 …dImageMemory(layer_data* device_data, VkImage image, VkDeviceMemory mem, VkDeviceSize memoryOffset, 417 …MemoryState(layer_data* device_data, VkImage image, VkDeviceMemory mem, VkDeviceSize memoryOffset); 437 …ect(layer_data const* dev_data, MEMORY_RANGE const* range1, VkDeviceSize offset, VkDeviceSize end); 441 … VkDeviceSize memoryOffset, VkMemoryRequirements memRequirements, bool is_image, bool is_linear, 443 …(layer_data const* dev_data, uint64_t handle, DEVICE_MEM_INFO* mem_info, VkDeviceSize memoryOffset, [all …]
|