Home | History | Annotate | Download | only in core

Lines Matching refs:controller

182      * This memory is owned by the controller and has the same lifetime unless you
264 // Flatten obj into an SkFlatData with this index. controller owns the SkFlatData*.
266 static SkFlatData* Create(SkFlatController* controller, const T& obj, int index) {
269 SkWriteBuffer buffer(storage, sizeof(storage), controller->getWriteBufferFlags());
271 buffer.setBitmapHeap(controller->getBitmapHeap());
272 buffer.setTypefaceRecorder(controller->getTypefaceSet());
273 buffer.setNamedFactoryRecorder(controller->getNamedFactorySet());
281 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
369 explicit SkFlatDictionary(SkFlatController* controller)
370 : fController(SkRef(controller))
371 , fScratch(controller->getWriteBufferFlags())
378 * memory that was allocated for each entry (that's owned by controller).
525 // We use the controller for this allocation to extend the allocation's lifetime and allow
526 // the controller to do whatever memory management it wants.
544 // All SkFlatData* stored in fIndexedData and fHash are owned by the controller.