Home
last modified time | relevance | path

Searched refs:fAllocator (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/src/core/
H A DSkTBlockList.h65 : 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 DSkBlockAllocator.h699 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 DSkDevice.h382 , fAllocator(allocator) in CreateInfo()
389 SkRasterHandleAllocator* fAllocator = nullptr; member
/third_party/skia/src/gpu/
H A DGrMemoryPool.h70 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 DGrMemoryPool.cpp33 : 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 DGrVkAMDMemoryAllocator.cpp125 : 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 DGrVkMemory.cpp155 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 DGrVkAMDMemoryAllocator.h81 VmaAllocator fAllocator; member in GrVkAMDMemoryAllocator
/third_party/skia/src/gpu/d3d/
H A DGrD3DAMDMemoryAllocator.h27 ~GrD3DAMDMemoryAllocator() override { fAllocator->Release(); }
52 GrD3DAMDMemoryAllocator(D3D12MA::Allocator* allocator) : fAllocator(allocator) {} in GrD3DAMDMemoryAllocator()
54 D3D12MA::Allocator* fAllocator; member in GrD3DAMDMemoryAllocator
H A DGrD3DAMDMemoryAllocator.cpp39 HRESULT hr = fAllocator->CreateResource(&allocationDesc, resourceDesc, in createResource()
56 HRESULT hr = fAllocator->CreateAliasingResource(alloc->fAllocation, localOffset, resourceDesc, in createAliasingResource()
H A DGrD3DCommandList.cpp25 , 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 DGrD3DCommandList.h148 gr_cp<ID3D12CommandAllocator> fAllocator; member in GrD3DCommandList
/third_party/skia/src/gpu/mock/
H A DGrMockOpTarget.h38 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 DGrVkTypes.h30 GrVkMemoryAllocator* fAllocator = nullptr; member
50 fAllocator == that.fAllocator && in operator ==()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_host.cpp42 : fAllocator (allocator) in dng_host()
72 if (fAllocator) in Allocator()
75 return *fAllocator; in Allocator()
H A Ddng_simple_image.cpp35 , fAllocator (allocator) in dng_simple_image()
63 fAllocator)); in Clone()
H A Ddng_memory_stream.cpp33 , fAllocator (allocator) in dng_memory_stream()
174 fPageList [fPageCount] = fAllocator.Allocate (fPageSize); in DoSetLength()
H A Ddng_simple_image.h38 dng_memory_allocator &fAllocator; member in dng_simple_image
H A Ddng_memory_stream.h38 dng_memory_allocator &fAllocator; member in dng_memory_stream
H A Ddng_host.h55 dng_memory_allocator *fAllocator; member in dng_host
H A Ddng_xmp.h44 dng_memory_allocator &fAllocator; member in dng_xmp
H A Ddng_xmp.cpp35 : 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 DSkPathOpsTypes.h54 return fAllocator; in allocator()
184 SkArenaAlloc* fAllocator; member in SkOpGlobalState
H A DSkPathOpsTypes.cpp235 : fAllocator(allocator)
/third_party/skia/tests/
H A DSkTBlockListTest.cpp44 return (size_t) list.fAllocator->scratchBlockSize(); in ScratchBlockSize()
49 return list.fAllocator->totalSize(); in TotalSize()

Completed in 16 milliseconds

12