Home
last modified time | relevance | path

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

/external/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.h145 class GrSubRunAllocator {
163 GrSubRunAllocator(char* block, int blockSize, int firstHeapAllocation);
164 explicit GrSubRunAllocator(int firstHeapAllocation = 0);
DGrRecordingContext.cpp103 GrSubRunAllocator* subRunAllocator) in Arenas()
129 fRecordTimeSubRunAllocator = std::make_unique<GrSubRunAllocator>(); in get()
DGrRecordingContextPriv.h46 GrSubRunAllocator* recordTimeSubRunAllocator() { in recordTimeSubRunAllocator()
DGrSurfaceFillContext.h199 GrSubRunAllocator* subRunAlloc() { return this->arenas()->subRunAlloc(); } in subRunAlloc()
DGrSurfaceDrawContext.cpp363 GrSubRunAllocator* const alloc = this->subRunAlloc(); in drawGlyphRunListNoCache()
/external/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 …]
/external/skia/include/gpu/
DGrRecordingContext.h29 class GrSubRunAllocator; variable
104 Arenas(SkArenaAlloc*, GrSubRunAllocator*);
110 GrSubRunAllocator* recordTimeSubRunAllocator() { return fRecordTimeSubRunAllocator; } in recordTimeSubRunAllocator()
114 GrSubRunAllocator* fRecordTimeSubRunAllocator;
135 std::unique_ptr<GrSubRunAllocator> fRecordTimeSubRunAllocator;
/external/skia/src/gpu/text/
DGrTextBlob.h55 using GrAtlasSubRunOwner = std::unique_ptr<GrAtlasSubRun, GrSubRunAllocator::Destroyer>;
96 using GrSubRunOwner = std::unique_ptr<GrSubRun, GrSubRunAllocator::Destroyer>;
264 GrSubRunAllocator fAlloc;
292 GrSubRunAllocator* alloc,
311 GrSubRunAllocator* const fAlloc;
DGrTextBlob.cpp171 std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> pathData);
187 GrSubRunAllocator* alloc);
199 const std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> fPathData;
206 std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> pathData) in PathSubRun()
275 GrSubRunAllocator* alloc) { in Make()
312 const SkStrikeSpec& spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc);
343 const SkStrikeSpec &spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make()
448 GrSubRunAllocator* alloc);
513 GrSubRunAllocator* alloc) { in Make()
840 GrSubRunAllocator* alloc);
[all …]
/external/skia/gn/
Dgpu.gni223 "$_src/gpu/GrSubRunAllocator.cpp",
224 "$_src/gpu/GrSubRunAllocator.h",
/external/skia/
DAndroid.bp509 "src/gpu/GrSubRunAllocator.cpp",
1493 "src/gpu/GrSubRunAllocator.cpp",