/external/skia/src/gpu/ |
D | GrTBlockList.h | 65 : fAllocator(policy, 103 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in reserve() 107 fAllocator->template reserve<alignof(T)>( in reserve() 118 GrBlockAllocator::Block* block = fAllocator->currentBlock(); in pop_back() 125 fAllocator->releaseBlock(block); in pop_back() 132 fAllocator->setMetadata(fAllocator->metadata() - 1); in pop_back() 146 fAllocator->reset(); in reset() 156 for (const auto* b :fAllocator->blocks()) { in count() 162 SkASSERT(count == fAllocator->metadata()); in count() 164 return fAllocator->metadata(); in count() [all …]
|
D | GrMemoryPool.h | 70 return fAllocator.currentBlock() == fAllocator.headBlock() && in isEmpty() 71 fAllocator.currentBlock()->metadata() == 0; in isEmpty() 84 size_t size() const { return fAllocator.totalSize() - fAllocator.preallocSize(); } in size() 91 return offsetof(GrMemoryPool, fAllocator) + fAllocator.preallocSize(); in preallocSize() 98 fAllocator.resetScratchSpace(); in resetScratchSpace() 126 GrBlockAllocator fAllocator; // Must be the last field, in order to use extra allocated space variable
|
D | GrMemoryPool.cpp | 34 : fAllocator(GrBlockAllocator::GrowthPolicy::kFixed, minAllocSize, in GrMemoryPool() 35 preallocSize - offsetof(GrMemoryPool, fAllocator) - sizeof(GrBlockAllocator)) { in GrMemoryPool() 66 GrBlockAllocator::ByteRange alloc = fAllocator.allocate<kAlignment, sizeof(Header)>(size); in allocate() 112 GrBlockAllocator::Block* block = fAllocator.owningBlock<kAlignment>(header, header->fStart); in release() 126 fAllocator.releaseBlock(block); in release() 136 fAllocator.validate(); in validate() 139 for (const auto* b : fAllocator.blocks()) { in validate()
|
D | GrBlockAllocator.h | 693 BlockIter(AllocatorT* allocator) : fAllocator(allocator) {} in BlockIter() 727 Item begin() const { return Item(Forward ? &fAllocator->fHead : fAllocator->fTail); } in begin() 731 AllocatorT* fAllocator;
|
/external/skqp/src/gpu/ |
D | GrAllocator.h | 160 : fAllocator(allocator) in Iter() 171 if (fIndexInBlock == fAllocator->fItemsPerBlock) { in next() 175 return fItemIndex < fAllocator->fCount; in next() 183 SkASSERT(fItemIndex >= 0 && fItemIndex < fAllocator->fCount); in get() 184 return (char*) fAllocator->fBlocks[fBlockIndex] + fIndexInBlock * fAllocator->fItemSize; in get() 188 const GrAllocator* fAllocator; 260 : fAllocator(sizeof(T), itemsPerBlock, nullptr) {} in GrTAllocator() 268 void* item = fAllocator.push_back(); in push_back() 275 void* item = fAllocator.push_back(); in push_back() 282 void* item = fAllocator.push_back(); in emplace_back() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 17 : fAllocator(VK_NULL_HANDLE) in GrVkAMDMemoryAllocator() 56 vmaCreateAllocator(&info, &fAllocator); in GrVkAMDMemoryAllocator() 60 vmaDestroyAllocator(fAllocator); in ~GrVkAMDMemoryAllocator() 61 fAllocator = VK_NULL_HANDLE; in ~GrVkAMDMemoryAllocator() 84 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateMemoryForImage() 139 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer() 144 result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer() 157 vmaFreeMemory(fAllocator, allocation); in freeMemory() 164 vmaGetAllocationInfo(fAllocator, allocation, &vmaInfo); in getAllocInfo() 167 vmaGetMemoryTypeProperties(fAllocator, vmaInfo.memoryType, &memFlags); in getAllocInfo() [all …]
|
D | GrVkAMDMemoryAllocator.h | 46 VmaAllocator fAllocator;
|
/external/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 96 : fAllocator(allocator) in GrVkAMDMemoryAllocator() 101 vmaDestroyAllocator(fAllocator); in ~GrVkAMDMemoryAllocator() 102 fAllocator = VK_NULL_HANDLE; in ~GrVkAMDMemoryAllocator() 130 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateImageMemory() 199 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateBufferMemory() 210 vmaFreeMemory(fAllocator, allocation); in freeMemory() 217 vmaGetAllocationInfo(fAllocator, allocation, &vmaInfo); in getAllocInfo() 220 vmaGetMemoryTypeProperties(fAllocator, vmaInfo.memoryType, &memFlags); in getAllocInfo() 240 return vmaMapMemory(fAllocator, allocation, data); in mapMemory() 246 vmaUnmapMemory(fAllocator, allocation); in unmapMemory() [all …]
|
D | GrVkAMDMemoryAllocator.h | 69 VmaAllocator fAllocator; variable
|
/external/skia/src/gpu/d3d/ |
D | GrD3DAMDMemoryAllocator.h | 27 ~GrD3DAMDMemoryAllocator() override { fAllocator->Release(); } in ~GrD3DAMDMemoryAllocator() 52 GrD3DAMDMemoryAllocator(D3D12MA::Allocator* allocator) : fAllocator(allocator) {} in GrD3DAMDMemoryAllocator() 54 D3D12MA::Allocator* fAllocator; variable
|
D | GrD3DAMDMemoryAllocator.cpp | 39 HRESULT hr = fAllocator->CreateResource(&allocationDesc, resourceDesc, in createResource() 56 HRESULT hr = fAllocator->CreateAliasingResource(alloc->fAllocation, localOffset, resourceDesc, in createAliasingResource()
|
D | GrD3DCommandList.cpp | 24 , fAllocator(std::move(allocator)) { in GrD3DCommandList() 54 GR_D3D_CALL_ERRCHECK(fAllocator->Reset()); in reset() 55 GR_D3D_CALL_ERRCHECK(fCommandList->Reset(fAllocator.get(), nullptr)); in reset()
|
D | GrD3DCommandList.h | 150 gr_cp<ID3D12CommandAllocator> fAllocator; variable
|
/external/skia/src/gpu/mock/ |
D | GrMockOpTarget.h | 36 void resetAllocator() { fAllocator.reset(); } in resetAllocator() 37 SkArenaAlloc* allocator() override { return &fAllocator; } in allocator() 121 SkSTArenaAllocWithReset<1024 * 1024> fAllocator; variable
|
/external/dng_sdk/source/ |
D | dng_host.cpp | 42 : fAllocator (allocator) in dng_host() 72 if (fAllocator) in Allocator() 75 return *fAllocator; in Allocator()
|
D | dng_simple_image.cpp | 35 , fAllocator (allocator) in dng_simple_image() 63 fAllocator)); in Clone()
|
D | dng_memory_stream.cpp | 33 , fAllocator (allocator) in dng_memory_stream() 174 fPageList [fPageCount] = fAllocator.Allocate (fPageSize); in DoSetLength()
|
D | dng_simple_image.h | 38 dng_memory_allocator &fAllocator; variable
|
D | dng_memory_stream.h | 38 dng_memory_allocator &fAllocator;
|
D | dng_host.h | 55 dng_memory_allocator *fAllocator;
|
/external/skqp/include/private/ |
D | GrCCPerOpListPaths.h | 28 SkSTArenaAlloc<10 * 1024> fAllocator{10 * 1024 * 2};
|
/external/skqp/src/core/ |
D | SkDevice.h | 307 , fAllocator(allocator) in CreateInfo() 314 SkRasterHandleAllocator* fAllocator = nullptr; member
|
/external/skqp/src/pathops/ |
D | SkPathOpsTypes.h | 54 return fAllocator; in allocator() 184 SkArenaAlloc* fAllocator;
|
/external/skia/src/pathops/ |
D | SkPathOpsTypes.h | 54 return fAllocator; in allocator() 184 SkArenaAlloc* fAllocator;
|
/external/skia/src/core/ |
D | SkDevice.h | 387 , fAllocator(allocator) in CreateInfo() 394 SkRasterHandleAllocator* fAllocator = nullptr; member
|