use refcounted objects for textures instead of pass-by-value int structs

(0) -30 -10 -1 +1 +10 +30 tip

mercurial