Home
last modified time | relevance | path

Searched refs:fAllocator (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/
DGrAllocator.h156 : fAllocator(sizeof(T), itemsPerBlock, NULL) {} in GrTAllocator()
164 void* item = fAllocator.push_back(); in push_back()
171 void* item = fAllocator.push_back(); in push_back()
181 int c = fAllocator.count(); in reset()
183 ((T*)fAllocator[i])->~T(); in reset()
185 fAllocator.reset(); in reset()
192 return fAllocator.count(); in count()
198 bool empty() const { return fAllocator.empty(); } in empty()
204 return *(T*)fAllocator.back(); in back()
211 return *(const T*)fAllocator.back(); in back()
[all …]
/external/skia/legacy/src/images/
DSkImageDecoder.cpp46 : fReporter(NULL), fPeeker(NULL), fChooser(NULL), fAllocator(NULL), in SkImageDecoder()
54 SkSafeUnref(fAllocator); in ~SkImageDecoder()
73 SkRefCnt_SafeAssign(fAllocator, alloc); in setAllocator()
103 return bitmap->allocPixels(fAllocator, ctable); in allocPixelRef()
/external/skia/src/images/
DSkImageDecoder.cpp50 : fReporter(NULL), fPeeker(NULL), fChooser(NULL), fAllocator(NULL), in SkImageDecoder()
58 SkSafeUnref(fAllocator); in ~SkImageDecoder()
77 SkRefCnt_SafeAssign(fAllocator, alloc); in setAllocator()
107 return bitmap->allocPixels(fAllocator, ctable); in allocPixelRef()
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp83 : fAllocator(kMinBlockSize) in ThreadSafePipeController()
96 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
DSamplePipeControllers.h82 SkChunkAlloc fAllocator; variable
/external/skia/src/utils/
DSkDeferredCanvas.cpp70 bool hasPendingCommands() const { return fAllocator.blockCount() != 0; } in hasPendingCommands()
71 size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); } in storageAllocatedForRecording()
83 SkChunkAlloc fAllocator; member in DeferredPipeController
89 fAllocator(kMinBlockSize) { in DeferredPipeController()
95 fAllocator.reset(); in ~DeferredPipeController()
109 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
133 fAllocator.reset(); in playback()
/external/skia/legacy/include/images/
DSkImageDecoder.h146 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator()
393 SkBitmap::Allocator* fAllocator; variable
/external/skia/include/images/
DSkImageDecoder.h155 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator()
402 SkBitmap::Allocator* fAllocator; variable