Searched refs:fAllocator (Results 1 - 16 of 16) sorted by relevance

/external/skia/src/gpu/
H A DGrAllocator.h140 : fAllocator(allocator)
151 if (fIndexInBlock == fAllocator->fItemsPerBlock) {
155 return fItemIndex < fAllocator->fCount;
163 SkASSERT(fItemIndex >= 0 && fItemIndex < fAllocator->fCount);
164 return (char*) fAllocator->fBlocks[fBlockIndex] + fIndexInBlock * fAllocator->fItemSize;
168 const GrAllocator* fAllocator; member in class:GrAllocator::Iter
240 : fAllocator(sizeof(T), itemsPerBlock, NULL) {}
248 void* item = fAllocator.push_back();
255 void* item = fAllocator
367 GrAllocator fAllocator; member in class:GrTAllocator
[all...]
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.h17 : fAllocator(allocator) // FIXME: replace with const, tune this
27 : fAllocator(allocator)
61 SkChunkAlloc* fAllocator; member in class:SkOpEdgeBuilder
H A DSkOpEdgeBuilder.cpp193 fCurrentContour->addLine(pointsPtr, fAllocator);
196 fCurrentContour->addQuad(pointsPtr, fAllocator);
199 fCurrentContour->addConic(pointsPtr, *weightPtr++, fAllocator);
224 fCurrentContour->addCurve(v1, curve1, fAllocator)->setCubicType(cubicType);
225 fCurrentContour->addCurve(v2, curve2, fAllocator)->setCubicType(cubicType);
227 fCurrentContour->addCubic(pointsPtr, fAllocator);
230 fCurrentContour->addCubic(pointsPtr, fAllocator);
/external/skia/tests/
H A DNameAllocatorTest.cpp22 fAllocator(kFirstName, kFirstName + kRange),
56 GrGLuint name = fAllocator.allocateName();
78 GrGLuint name = fAllocator.allocateName();
114 fAllocator.free(name);
123 GrGLNameAllocator fAllocator; member in class:NameLeakTest
/external/skia/experimental/PdfViewer/pdfparser/native/
H A DSkPdfNativeDoc.cpp74 : fAllocator(new SkPdfAllocator())
87 : fAllocator(new SkPdfAllocator())
194 SkPdfNativeObject* obj = fAllocator->allocObject();
195 current = nextObject(current, end, obj, fAllocator, this);
238 delete fAllocator;
336 current = nextObject(current, trailerEnd, &token, fAllocator, NULL);
382 SkPdfNativeTokenizer tokenizer(current, (int) (end - current), fAllocator, this);
387 SkPdfNativeObject* dict = fAllocator->allocObject();
428 current = nextObject(current, end, dict, fAllocator, this);
508 SkPdfNativeObject* obj = fAllocator
[all...]
H A DSkPdfNativeDoc.h149 SkPdfAllocator* fAllocator; member in class:SkPdfNativeDoc
H A DSkPdfNativeTokenizer.cpp895 , fAllocator(allocator)
917 , fAllocator(allocator)
949 fUncompressedStream = nextObject(fUncompressedStream, fUncompressedStreamEnd, &obj, fAllocator, fDoc);
958 SkPdfNativeObject* pobj = fAllocator->allocObject();
1097 SkPdfImageDictionary* inlineImage = (SkPdfImageDictionary*)fAllocator->allocObject();
1103 SkPdfNativeObject* key = fAllocator->allocObject();
1105 fAllocator, fDoc);
1114 SkPdfNativeObject* obj = fAllocator->allocObject();
1116 fAllocator, fDoc);
H A DSkPdfNativeTokenizer.h185 SkPdfAllocator* fAllocator; member in class:SkPdfNativeTokenizer
/external/skia/src/images/
H A DSkImageDecoder.cpp19 , fAllocator(NULL)
31 SkSafeUnref(fAllocator);
39 other->setAllocator(fAllocator);
92 SkRefCnt_SafeAssign(fAllocator, alloc);
105 return bitmap->tryAllocPixels(fAllocator, ctable);
/external/skia/src/pipe/utils/
H A DSamplePipeControllers.cpp86 : fAllocator(kMinBlockSize)
99 fBlock = fAllocator.allocThrow(blockSize);
H A DSamplePipeControllers.h76 // Stream of draw commands written by the SkGPipeWriter. Allocated by fAllocator, which will
84 SkChunkAlloc fAllocator; member in class:ThreadSafePipeController
/external/skia/src/core/
H A DSkResourceCache.h226 SkBitmap::Allocator* allocator() const { return fAllocator; };
244 SkBitmap::Allocator* fAllocator; member in class:SkResourceCache
H A DSkResourceCache.cpp66 fAllocator = NULL;
187 fAllocator = SkNEW_ARGS(SkResourceCacheDiscardableAllocator, (factory));
196 SkSafeUnref(fAllocator);
H A DSkDraw.cpp49 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator,
59 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator,
64 // Owned by fAllocator, which will handle the delete.
66 SkTBlitterAllocator fAllocator; member in class:SkAutoBlitterChoose
82 localMatrix, &fAllocator));
88 // since fAllocator will destroy shader, we insist that owners == 2
102 SkTBlitterAllocator fAllocator; member in class:SkAutoBitmapShaderInstall
/external/skia/include/core/
H A DSkImageDecoder.h163 SkBitmap::Allocator* getAllocator() const { return fAllocator; }
405 SkBitmap::Allocator* fAllocator; member in class:SkImageDecoder
/external/skia/src/utils/
H A DSkDeferredCanvas.cpp90 bool hasPendingCommands() const { return fAllocator.totalUsed() != 0; }
91 size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); }
103 SkChunkAlloc fAllocator; member in class:DeferredPipeController
109 fAllocator(kMinBlockSize) {
115 fAllocator.reset();
129 fBlock = fAllocator.allocThrow(blockSize);
153 fAllocator.reset();

Completed in 161 milliseconds