Flutter Engine
The Flutter Engine
Static Public Member Functions | Static Public Attributes | List of all members
TBlockListTestAccess Class Reference

Static Public Member Functions

template<int N>
static size_t ScratchBlockSize (SkTBlockList< C, N > &list)
 
template<int N>
static size_t TotalSize (SkTBlockList< C, N > &list)
 

Static Public Attributes

static constexpr size_t kAddressAlign = SkBlockAllocator::kAddressAlign
 

Detailed Description

Definition at line 50 of file SkTBlockListTest.cpp.

Member Function Documentation

◆ ScratchBlockSize()

template<int N>
static size_t TBlockListTestAccess::ScratchBlockSize ( SkTBlockList< C, N > &  list)
inlinestatic

Definition at line 53 of file SkTBlockListTest.cpp.

53 {
54 return (size_t) list.fAllocator->scratchBlockSize();
55 }

◆ TotalSize()

template<int N>
static size_t TBlockListTestAccess::TotalSize ( SkTBlockList< C, N > &  list)
inlinestatic

Definition at line 58 of file SkTBlockListTest.cpp.

58 {
59 return list.fAllocator->totalSize();
60 }
size_t totalSize() const

Member Data Documentation

◆ kAddressAlign

constexpr size_t TBlockListTestAccess::kAddressAlign = SkBlockAllocator::kAddressAlign
staticconstexpr

Definition at line 62 of file SkTBlockListTest.cpp.


The documentation for this class was generated from the following file: