HomeSort by relevance Sort by last modified time
    Searched defs:SkArenaAlloc (Results 1 - 2 of 2) sorted by null

  /external/skia/src/core/
SkArenaAlloc.cpp 10 #include "SkArenaAlloc.h"
14 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t extraSize, Tracking tracking)
38 SkArenaAlloc::~SkArenaAlloc() {
42 SkDebugf("SkArenaAlloc initial: %p %u %u total alloc: %u total slop: %d last slop: %d\n",
48 void SkArenaAlloc::reset() {
49 this->~SkArenaAlloc();
50 new (this) SkArenaAlloc{fFirstBlock, fFirstSize, fExtraSize,
54 void SkArenaAlloc::installFooter(FooterAction* action, uint32_t padding)
    [all...]
SkArenaAlloc.h 20 // SkArenaAlloc allocates object and destroys the allocated objects when destroyed. It's designed
21 // to minimize the number of underlying block allocations. SkArenaAlloc allocates first out of an
24 // the user-provided block, SkArenaAlloc never uses the heap, and if it fits in extraSize bytes,
31 // SkArenaAlloc arena(block, almostAllCasesSize);
36 // SkArenaAlloc arena(block.get(), mostCasesSize, almostAllCasesSize);
40 // SkArenaAlloc arena(nullptr, 0, almostAllCasesSize);
47 // SkArenaAlloc arena (storage, almostAllCasesSize);
56 // You can track memory use by adding SkArenaAlloc::kTrack as the last parameter to any constructor.
59 // SkArenaAlloc alloc{storage, SkArenaAlloc::kTrack}
    [all...]

Completed in 191 milliseconds