Home
last modified time | relevance | path

Searched refs:GrSubRunAllocator (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/
DGrSubRunAllocator.cpp79 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()
DGrRenderTargetProxy.h35 GrSubRunAllocator* subRunAlloc() { return &fSubRunAllocator; } in subRunAlloc()
41 GrSubRunAllocator fSubRunAllocator{1024};
DGrSubRunAllocator.h157 class GrSubRunAllocator {
175 GrSubRunAllocator(char* block, int blockSize, int firstHeapAllocation);
176 explicit GrSubRunAllocator(int firstHeapAllocation = 0);
DGrRecordingContext.cpp111 GrSubRunAllocator* subRunAllocator) in Arenas()
137 fRecordTimeSubRunAllocator = std::make_unique<GrSubRunAllocator>(); in get()
DGrRecordingContextPriv.h41 GrSubRunAllocator* recordTimeSubRunAllocator() { in recordTimeSubRunAllocator()
DBUILD.bazel185 "GrSubRunAllocator.cpp",
186 "GrSubRunAllocator.h",
/third_party/skia/tests/
DGrTextBlobTest.cpp209 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/
DGrRecordingContext.h29 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/
DGrTextBlob.h66 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;
DGrTextBlob.cpp176 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/
DSurfaceFillContext_v1.h54 GrSubRunAllocator* subRunAlloc() { return this->arenas()->subRunAlloc(); } in subRunAlloc()
DSurfaceDrawContext.cpp336 GrSubRunAllocator* const alloc = this->subRunAlloc(); in drawGlyphRunListNoCache()
/third_party/skia/gn/
Dgpu.gni202 "$_src/gpu/GrSubRunAllocator.cpp",
203 "$_src/gpu/GrSubRunAllocator.h",