draw allocates local texture