Lines Matching full:controller
198 * This memory is owned by the controller and has the same lifetime unless you
280 // Flatten obj into an SkFlatData with this index. controller owns the SkFlatData*.
282 static SkFlatData* Create(SkFlatController* controller, const T& obj, int index) {
285 SkWriteBuffer buffer(storage, sizeof(storage), controller->getWriteBufferFlags());
287 buffer.setBitmapHeap(controller->getBitmapHeap());
288 buffer.setTypefaceRecorder(controller->getTypefaceSet());
289 buffer.setNamedFactoryRecorder(controller->getNamedFactorySet());
297 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
385 explicit SkFlatDictionary(SkFlatController* controller)
386 : fController(SkRef(controller))
387 , fScratch(controller->getWriteBufferFlags())
394 * memory that was allocated for each entry (that's owned by controller).
541 // We use the controller for this allocation to extend the allocation's lifetime and allow
542 // the controller to do whatever memory management it wants.
560 // All SkFlatData* stored in fIndexedData and fHash are owned by the controller.