Searched refs:BufferUsage (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkMemory.cpp | 15 using BufferUsage = GrVkMemoryAllocator::BufferUsage; typedef 17 static BufferUsage get_buffer_usage(GrVkBuffer::Type type, bool dynamic) { in get_buffer_usage() 22 return dynamic ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in get_buffer_usage() 25 return BufferUsage::kCpuWritesGpuReads; in get_buffer_usage() 28 return BufferUsage::kCpuOnly; in get_buffer_usage() 31 return BufferUsage::kCpuOnly; // Just returning an arbitrary value. in get_buffer_usage() 42 GrVkMemoryAllocator::BufferUsage usage = get_buffer_usage(type, dynamic); in AllocAndBindBufferMemory() 45 if (usage == GrVkMemoryAllocator::BufferUsage::kCpuWritesGpuReads) { in AllocAndBindBufferMemory()
|
D | GrVkAMDMemoryAllocator.cpp | 92 bool GrVkAMDMemoryAllocator::allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage, in allocateMemoryForBuffer() 103 case BufferUsage::kGpuOnly: in allocateMemoryForBuffer() 107 case BufferUsage::kCpuOnly: in allocateMemoryForBuffer() 112 case BufferUsage::kCpuWritesGpuReads: in allocateMemoryForBuffer() 118 case BufferUsage::kGpuWritesCpuReads: in allocateMemoryForBuffer() 129 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateMemoryForBuffer() 134 SkASSERT(BufferUsage::kGpuOnly != usage); in allocateMemoryForBuffer() 141 if (usage == BufferUsage::kCpuWritesGpuReads) { in allocateMemoryForBuffer()
|
D | GrVkAMDMemoryAllocator.h | 27 bool allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage,
|
/external/skqp/src/gpu/vk/ |
D | GrVkMemory.cpp | 15 using BufferUsage = GrVkMemoryAllocator::BufferUsage; typedef 17 static BufferUsage get_buffer_usage(GrVkBuffer::Type type, bool dynamic) { in get_buffer_usage() 22 return dynamic ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in get_buffer_usage() 25 return BufferUsage::kCpuWritesGpuReads; in get_buffer_usage() 28 return BufferUsage::kCpuOnly; in get_buffer_usage() 31 return BufferUsage::kCpuOnly; // Just returning an arbitrary value. in get_buffer_usage() 42 GrVkMemoryAllocator::BufferUsage usage = get_buffer_usage(type, dynamic); in AllocAndBindBufferMemory() 45 if (usage == GrVkMemoryAllocator::BufferUsage::kCpuWritesGpuReads) { in AllocAndBindBufferMemory()
|
D | GrVkAMDMemoryAllocator.cpp | 92 bool GrVkAMDMemoryAllocator::allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage, in allocateMemoryForBuffer() 103 case BufferUsage::kGpuOnly: in allocateMemoryForBuffer() 107 case BufferUsage::kCpuOnly: in allocateMemoryForBuffer() 112 case BufferUsage::kCpuWritesGpuReads: in allocateMemoryForBuffer() 118 case BufferUsage::kGpuWritesCpuReads: in allocateMemoryForBuffer() 129 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateMemoryForBuffer() 134 SkASSERT(BufferUsage::kGpuOnly != usage); in allocateMemoryForBuffer() 141 if (usage == BufferUsage::kCpuWritesGpuReads) { in allocateMemoryForBuffer()
|
D | GrVkAMDMemoryAllocator.h | 27 bool allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | SchedulerStatistics.cpp | 30 BufferUsage &BU = BufferedResources[Buffer]; in onReservedBuffers() 37 std::pair<unsigned, BufferUsage>(Buffer, {1U, 1U})); in onReservedBuffers() 45 BufferUsage &BU = BufferedResources[Buffer]; in onReleasedBuffers()
|
D | SchedulerStatistics.h | 51 struct BufferUsage { struct 56 std::map<unsigned, BufferUsage> BufferedResources; argument
|
/external/skqp/include/gpu/vk/ |
D | GrVkMemoryAllocator.h | 35 enum class BufferUsage { enum 54 virtual bool allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage,
|
/external/skia/include/gpu/vk/ |
D | GrVkMemoryAllocator.h | 35 enum class BufferUsage { enum 54 virtual bool allocateMemoryForBuffer(VkBuffer buffer, BufferUsage usage,
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 6193 static const struct BufferUsage in init() struct
|