Teruma/Ma'aser: When To Separate: Cooking Outside

Situation You cook, outside, fruit from a privately owned tree in Eretz Yisrael.
What To Do You must separate teruma and ma'aser if you bring the cooked fruit indoors.