/third_party/skia/src/core/ |
H A D | SkTBlockList.h | 65 : fAllocator(policy, in SkTBlockList() 103 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in reserve() 107 fAllocator->template reserve<alignof(T)>( in reserve() 118 SkBlockAllocator::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 in count() 269 SkSBlockAllocator<StartingSize> fAllocator; global() member in SkTBlockList [all...] |
H A D | SkBlockAllocator.h | 699 BlockIter(AllocatorT* allocator) : fAllocator(allocator) {} in BlockIter() 733 Item begin() const { return Item(Forward ? &fAllocator->fHead : fAllocator->fTail); } in begin() 737 AllocatorT* fAllocator; member in final::GrowthPolicy::SkBlockAllocator::BlockIter
|
H A D | SkDevice.h | 382 , fAllocator(allocator) in CreateInfo() 389 SkRasterHandleAllocator* fAllocator = nullptr; member
|
/third_party/skia/src/gpu/ |
H A 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 SkBlockAllocator fAllocator; // Must be the last field, in order to use extra allocated space member in GrMemoryPool
|
H A D | GrMemoryPool.cpp | 33 : fAllocator(SkBlockAllocator::GrowthPolicy::kFixed, minAllocSize, in GrMemoryPool() 34 preallocSize - offsetof(GrMemoryPool, fAllocator) - sizeof(SkBlockAllocator)) { in GrMemoryPool() 65 SkBlockAllocator::ByteRange alloc = fAllocator.allocate<kAlignment, sizeof(Header)>(size); in allocate() 111 SkBlockAllocator::Block* block = fAllocator.owningBlock<kAlignment>(header, header->fStart); in release() 125 fAllocator.releaseBlock(block); in release() 135 fAllocator.validate(); in validate() 138 for (const auto* b : fAllocator.blocks()) { in validate()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkAMDMemoryAllocator.cpp | 125 : fAllocator(allocator) in GrVkAMDMemoryAllocator() 135 vmaDestroyAllocator(fAllocator); in ~GrVkAMDMemoryAllocator() 136 fAllocator = VK_NULL_HANDLE; in ~GrVkAMDMemoryAllocator() 218 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateImageMemory() 231 VkResult result2 = vmaSwapReservedBlock(fAllocator, image, &info, &allocation, nullptr); in allocateImageMemory() 236 FirstPreAllocMemory(fAllocator, info); in allocateImageMemory() 245 PreAllocMemory(fAllocator, allocation); in allocateImageMemory() 248 VkResult result3 = vmaAllocateMemoryForImage(fAllocator, image, &info, &newAllocation, nullptr); in allocateImageMemory() 320 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateBufferMemory() 331 vmaFreeMemory(fAllocator, allocatio in freeMemory() [all...] |
H A D | GrVkMemory.cpp | 155 if (alloc.fAllocator != nullptr) { 156 allocator = alloc.fAllocator; 237 if (alloc.fAllocator != nullptr) { 238 allocator = alloc.fAllocator; 247 if (alloc.fAllocator != nullptr) { 248 allocator = alloc.fAllocator; 261 if (alloc.fAllocator != nullptr) { 262 allocator = alloc.fAllocator; 297 if (alloc.fAllocator != nullptr) { 298 allocator = alloc.fAllocator; [all...] |
H A D | GrVkAMDMemoryAllocator.h | 81 VmaAllocator fAllocator; member in GrVkAMDMemoryAllocator
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DAMDMemoryAllocator.h | 27 ~GrD3DAMDMemoryAllocator() override { fAllocator->Release(); } 52 GrD3DAMDMemoryAllocator(D3D12MA::Allocator* allocator) : fAllocator(allocator) {} in GrD3DAMDMemoryAllocator() 54 D3D12MA::Allocator* fAllocator; member in GrD3DAMDMemoryAllocator
|
H A D | GrD3DAMDMemoryAllocator.cpp | 39 HRESULT hr = fAllocator->CreateResource(&allocationDesc, resourceDesc, in createResource() 56 HRESULT hr = fAllocator->CreateAliasingResource(alloc->fAllocation, localOffset, resourceDesc, in createAliasingResource()
|
H A D | GrD3DCommandList.cpp | 25 , fAllocator(std::move(allocator)) { in GrD3DCommandList() 55 GR_D3D_CALL_ERRCHECK(fAllocator->Reset()); in reset() 56 GR_D3D_CALL_ERRCHECK(fCommandList->Reset(fAllocator.get(), nullptr)); in reset()
|
H A D | GrD3DCommandList.h | 148 gr_cp<ID3D12CommandAllocator> fAllocator; member in GrD3DCommandList
|
/third_party/skia/src/gpu/mock/ |
H A D | GrMockOpTarget.h | 38 void resetAllocator() { fAllocator.reset(); } in resetAllocator() 39 SkArenaAlloc* allocator() override { return &fAllocator; } 123 SkSTArenaAllocWithReset<1024 * 1024> fAllocator; member in GrMockOpTarget
|
/third_party/skia/include/gpu/vk/ |
H A D | GrVkTypes.h | 30 GrVkMemoryAllocator* fAllocator = nullptr; member 50 fAllocator == that.fAllocator && in operator ==()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_host.cpp | 42 : fAllocator (allocator) in dng_host() 72 if (fAllocator) in Allocator() 75 return *fAllocator; in Allocator()
|
H A D | dng_simple_image.cpp | 35 , fAllocator (allocator) in dng_simple_image() 63 fAllocator)); in Clone()
|
H A D | dng_memory_stream.cpp | 33 , fAllocator (allocator) in dng_memory_stream() 174 fPageList [fPageCount] = fAllocator.Allocate (fPageSize); in DoSetLength()
|
H A D | dng_simple_image.h | 38 dng_memory_allocator &fAllocator; member in dng_simple_image
|
H A D | dng_memory_stream.h | 38 dng_memory_allocator &fAllocator; member in dng_memory_stream
|
H A D | dng_host.h | 55 dng_memory_allocator *fAllocator; member in dng_host
|
H A D | dng_xmp.h | 44 dng_memory_allocator &fAllocator; member in dng_xmp
|
H A D | dng_xmp.cpp | 35 : fAllocator (allocator) in dng_xmp() 54 : fAllocator (xmp.fAllocator) in dng_xmp() 567 return fSDK->Serialize (fAllocator, in Serialize() 583 fSDK->PackageForJPEG (fAllocator, in PackageForJPEG()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsTypes.h | 54 return fAllocator; in allocator() 184 SkArenaAlloc* fAllocator; member in SkOpGlobalState
|
H A D | SkPathOpsTypes.cpp | 235 : fAllocator(allocator)
|
/third_party/skia/tests/ |
H A D | SkTBlockListTest.cpp | 44 return (size_t) list.fAllocator->scratchBlockSize(); in ScratchBlockSize() 49 return list.fAllocator->totalSize(); in TotalSize()
|