Home
last modified time | relevance | path

Searched refs:fBlock (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/
DGrAllocPool.cpp58 fBlock = NULL; in GrAllocPool()
70 Block* block = fBlock; in reset()
76 fBlock = NULL; in reset()
83 if (!fBlock || !fBlock->canAlloc(size)) { in alloc()
85 fBlock = Block::Create(blockSize, fBlock); in alloc()
88 return fBlock->alloc(size); in alloc()
94 while (bytes && NULL != fBlock) { in release()
95 bytes = fBlock->release(bytes); in release()
96 if (fBlock->empty()) { in release()
97 Block* next = fBlock->fNext; in release()
[all …]
DGrAllocPool.h41 Block* fBlock; variable
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp17 fBlock = NULL; in PipeController()
22 sk_free(fBlock); in ~PipeController()
26 sk_free(fBlock); in requestBlock()
28 fBlock = sk_malloc_throw(fBlockSize); in requestBlock()
31 return fBlock; in requestBlock()
85 fBlock = NULL; in ThreadSafePipeController()
90 if (fBlock) { in requestBlock()
92 PipeBlock previousBloc(fBlock, fBytesWritten); in requestBlock()
96 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
99 return fBlock; in requestBlock()
[all …]
DSamplePipeControllers.h23 const void* getData() { return (const char*) fBlock + fBytesWritten; } in getData()
26 void* fBlock;
73 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } in PipeBlock()
76 void* fBlock; member
80 void* fBlock; variable
/external/skia/legacy/src/core/
DSkChunkAlloc.cpp52 : fBlock(NULL), fMinSize(SkAlign4(minSize)), fPool(NULL), fTotalCapacity(0) in SkChunkAlloc()
61 fBlock->freeChain(); in reset()
62 fBlock = NULL; in reset()
69 if (fPool && fBlock) { in reuse()
70 fPool->tail()->fNext = fBlock; in reuse()
72 fPool = fBlock; in reuse()
73 fBlock = NULL; in reuse()
105 Block* block = fBlock; in alloc()
112 block->fNext = fBlock; in alloc()
113 fBlock = block; in alloc()
[all …]
/external/skia/src/core/
DSkChunkAlloc.cpp51 fBlock = NULL; in SkChunkAlloc()
63 Block::FreeChain(fBlock); in reset()
64 fBlock = NULL; in reset()
95 Block* block = fBlock; in alloc()
102 block->fNext = fBlock; in alloc()
103 fBlock = block; in alloc()
116 Block* block = fBlock; in unalloc()
130 const Block* block = fBlock; in contains()
DSkTLList.h37 Block* fBlock; // owning block. member
58 Block* block = node->fBlock; in ~SkTLList()
230 ++node->fBlock->fNodesInUse; in createNode()
235 node->fBlock = block; in createNode()
240 block->fNodes[i].fBlock = block; in createNode()
251 if (0 == --node->fBlock->fNodesInUse) { in removeNode()
252 Block* block = node->fBlock; in removeNode()
278 Block* block = freeNode->fBlock; in validate()
299 Block* block = activeNode->fBlock; in validate()
/external/skia/src/utils/
DSkDeferredCanvas.cpp77 PipeBlock(void* block, size_t size) { fBlock = block, fSize = size; } in PipeBlock()
78 void* fBlock; member
81 void* fBlock; member in DeferredPipeController
90 fBlock = NULL; in DeferredPipeController()
103 if (fBlock) { in requestBlock()
105 PipeBlock previousBloc(fBlock, fBytesWritten); in requestBlock()
109 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
112 return fBlock; in requestBlock()
122 fReader.playback(fBlockList[currentBlock].fBlock, fBlockList[currentBlock].fSize, in playback()
127 if (fBlock) { in playback()
[all …]
/external/skia/legacy/include/core/
DSkChunkAlloc.h61 Block* fBlock; variable
/external/skia/include/core/
DSkChunkAlloc.h57 Block* fBlock; variable