Searched refs:GrBagOfBytes (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrSubRunAllocator.cpp | 16 GrBagOfBytes::GrBagOfBytes(char* bytes, size_t size, size_t firstHeapAllocation) in GrBagOfBytes() function in GrBagOfBytes 29 GrBagOfBytes::GrBagOfBytes(size_t firstHeapAllocation) in GrBagOfBytes() function in GrBagOfBytes 30 : GrBagOfBytes(nullptr, 0, firstHeapAllocation) {} in GrBagOfBytes() 32 GrBagOfBytes::~GrBagOfBytes() { in ~GrBagOfBytes() 41 GrBagOfBytes::Block::Block(char* previous, char* startOfBlock) in Block() 45 void* GrBagOfBytes::alignedBytes(int size, int alignment) { in alignedBytes() 53 void GrBagOfBytes::setupBytesAndCapacity(char* bytes, int size) { in setupBytesAndCapacity() 61 void GrBagOfBytes::needMoreBytes(int requestedSize, int alignment) { in needMoreBytes()
|
D | GrSubRunAllocator.h | 18 class GrBagOfBytes { 20 GrBagOfBytes(char* block, size_t blockSize, size_t firstHeapAllocation); 21 explicit GrBagOfBytes(size_t firstHeapAllocation = 0); 22 ~GrBagOfBytes(); 218 GrBagOfBytes fAlloc;
|
/external/skia/tests/ |
D | GrTextBlobTest.cpp | 150 GrBagOfBytes::PlatformMinimumSizeWithOverhead(0, 16); in DEF_TEST() 151 GrBagOfBytes::PlatformMinimumSizeWithOverhead( in DEF_TEST() 154 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(0, 1, 16, 16) == 31); in DEF_TEST() 155 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(1, 1, 16, 16) == 32); in DEF_TEST() 156 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(63, 1, 16, 16) == 94); in DEF_TEST() 157 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(0, 8, 16, 16) == 24); in DEF_TEST() 158 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(1, 8, 16, 16) == 32); in DEF_TEST() 159 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(63, 8, 16, 16) == 88); in DEF_TEST() 160 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(0, 16, 16, 16) == 16); in DEF_TEST() 161 REPORTER_ASSERT(r, GrBagOfBytes::MinimumSizeWithOverhead(1, 16, 16, 16) == 32); in DEF_TEST() [all …]
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 1497 size_t bytesNeededForSubRun = GrBagOfBytes::PlatformMinimumSizeWithOverhead( in Make()
|