Searched refs:GrSubRunAllocator (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/src/gpu/ |
D | GrSubRunAllocator.cpp | 79 GrSubRunAllocator::GrSubRunAllocator(char* bytes, int size, int firstHeapAllocation) in GrSubRunAllocator() function in GrSubRunAllocator 82 GrSubRunAllocator::GrSubRunAllocator(int firstHeapAllocation) in GrSubRunAllocator() function in GrSubRunAllocator 83 : GrSubRunAllocator(nullptr, 0, firstHeapAllocation) {} in GrSubRunAllocator() 85 void* GrSubRunAllocator::alignedBytes(int unsafeSize, int unsafeAlignment) { in alignedBytes()
|
D | GrRenderTargetProxy.h | 35 GrSubRunAllocator* subRunAlloc() { return &fSubRunAllocator; } in subRunAlloc() 41 GrSubRunAllocator fSubRunAllocator{1024};
|
D | GrSubRunAllocator.h | 157 class GrSubRunAllocator { 175 GrSubRunAllocator(char* block, int blockSize, int firstHeapAllocation); 176 explicit GrSubRunAllocator(int firstHeapAllocation = 0);
|
D | GrRecordingContext.cpp | 111 GrSubRunAllocator* subRunAllocator) in Arenas() 137 fRecordTimeSubRunAllocator = std::make_unique<GrSubRunAllocator>(); in get()
|
D | GrRecordingContextPriv.h | 41 GrSubRunAllocator* recordTimeSubRunAllocator() { in recordTimeSubRunAllocator()
|
D | BUILD.bazel | 185 "GrSubRunAllocator.cpp", 186 "GrSubRunAllocator.h",
|
/third_party/skia/tests/ |
D | GrTextBlobTest.cpp | 209 class GrSTSubRunAllocator : private GrBagOfBytes::Storage<inlineSize>, public GrSubRunAllocator { 213 : GrSubRunAllocator{this->data(), SkTo<int>(this->size()), firstHeapAllocation} {} in GrSTSubRunAllocator() 216 DEF_TEST(GrSubRunAllocator, r) { in DEF_TEST() argument 231 auto exercise = [&](GrSubRunAllocator* alloc) { in DEF_TEST() 263 GrSubRunAllocator arena{0}; in DEF_TEST() 276 GrSubRunAllocator arena{block.get(), 1024, 0}; in DEF_TEST() 284 GrSubRunAllocator arena; in DEF_TEST() 287 Node(std::unique_ptr<Node, GrSubRunAllocator::Destroyer> next) in DEF_TEST() 290 std::unique_ptr<Node, GrSubRunAllocator::Destroyer> fNext; in DEF_TEST() 293 std::unique_ptr<Node, GrSubRunAllocator::Destroyer> current = nullptr; in DEF_TEST() [all …]
|
/third_party/skia/include/gpu/ |
D | GrRecordingContext.h | 29 class GrSubRunAllocator; variable 103 Arenas(SkArenaAlloc*, GrSubRunAllocator*); 109 GrSubRunAllocator* recordTimeSubRunAllocator() { return fRecordTimeSubRunAllocator; } in recordTimeSubRunAllocator() 113 GrSubRunAllocator* fRecordTimeSubRunAllocator; 134 std::unique_ptr<GrSubRunAllocator> fRecordTimeSubRunAllocator;
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.h | 66 using GrAtlasSubRunOwner = std::unique_ptr<GrAtlasSubRun, GrSubRunAllocator::Destroyer>; 107 using GrSubRunOwner = std::unique_ptr<GrSubRun, GrSubRunAllocator::Destroyer>; 273 GrSubRunAllocator fAlloc; 301 GrSubRunAllocator*, 326 GrSubRunAllocator* const fAlloc;
|
D | GrTextBlob.cpp | 176 std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> pathData); 192 GrSubRunAllocator* alloc); 204 const std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> fPathData; 211 std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> pathData) in PathSubRun() 279 GrSubRunAllocator* alloc) { in Make() 319 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc); 350 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make() 460 GrSubRunAllocator* alloc); 526 GrSubRunAllocator* alloc) { in Make() 854 GrSubRunAllocator* alloc); [all …]
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceFillContext_v1.h | 54 GrSubRunAllocator* subRunAlloc() { return this->arenas()->subRunAlloc(); } in subRunAlloc()
|
D | SurfaceDrawContext.cpp | 336 GrSubRunAllocator* const alloc = this->subRunAlloc(); in drawGlyphRunListNoCache()
|
/third_party/skia/gn/ |
D | gpu.gni | 202 "$_src/gpu/GrSubRunAllocator.cpp", 203 "$_src/gpu/GrSubRunAllocator.h",
|