Go to the source code of this file.
◆ UNMAP_BUFFER
#define UNMAP_BUFFER |
( |
|
block | ) |
|
Value: do { \
TRACE_EVENT_INSTANT1("skia.gpu", "GrBufferAllocPool Unmapping Buffer", \
(float)((block).fBytesFree) / (block).fBuffer->size()); \
SkASSERT(!block.fBuffer->isCpuBuffer()); \
static_cast<GrGpuBuffer*>(block.fBuffer.get())->unmap(); \
} while (false)
#define TRACE_EVENT_SCOPE_THREAD
Definition at line 79 of file GrBufferAllocPool.cpp.
◆ align_down()
static size_t align_down |
( |
size_t |
x, |
|
|
uint32_t |
alignment |
|
) |
| |
|
inlinestatic |
◆ align_up_pad()
static size_t align_up_pad |
( |
size_t |
x, |
|
|
size_t |
alignment |
|
) |
| |
|
inlinestatic |
◆ VALIDATE()
static void VALIDATE |
( |
bool |
= false | ) |
|
|
static |