#include <allocation.h>
Public Member Functions | |
| Allocation () | |
| ~Allocation () | |
| uint8_t * | GetBuffer () const |
| size_t | GetLength () const |
| size_t | GetReservedLength () const |
| bool | Truncate (size_t length, bool npot=true) |
Static Public Member Functions | |
| static uint32_t | NextPowerOfTwoSize (uint32_t x) |
Definition at line 15 of file allocation.h.
|
default |
| impeller::Allocation::~Allocation | ( | ) |
Definition at line 16 of file allocation.cc.
| uint8_t * impeller::Allocation::GetBuffer | ( | ) | const |
Definition at line 20 of file allocation.cc.
Referenced by impeller::ProcTableGLES::GetProgramInfoLogString().
| size_t impeller::Allocation::GetLength | ( | ) | const |
Definition at line 24 of file allocation.cc.
| size_t impeller::Allocation::GetReservedLength | ( | ) | const |
Definition at line 28 of file allocation.cc.
|
static |
Definition at line 41 of file allocation.cc.
Referenced by impeller::scene::Skin::GetJointsTexture(), impeller::InlinePassContext::GetRenderPass(), and impeller::OptimumAtlasSizeForFontGlyphPairs().
| bool impeller::Allocation::Truncate | ( | size_t | length, |
| bool | npot = true |
||
| ) |
Definition at line 32 of file allocation.cc.
Referenced by impeller::ProcTableGLES::GetProgramInfoLogString().