Re: [AD] transforms and held drawing

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On November 21, 2010, Elias Pschernig wrote:
> On Sat, 2010-11-20 at 19:24 -0700, Thomas Fjellstrom wrote:
> > On November 20, 2010, Pavel Sountsov wrote:
> > > It's expected (and documented, perhaps poorly). Changing state while
> > > holding drawing is unsupported with some minor exceptions (blending
> > > color). As for whether it is desired or not? I don't know.
> > > 
> > > Incidentally... since there is no blending color anymore, no state
> > > changes at all are supported during bitmap holding... I should update
> > > the documentation...
> > 
> > Elias seemed to hint that code was added to support transforms and
> > primitives. That is, it'd merge the current transform with the held
> > operation when it was added to the op list.
> > 
> > If that isn't done, can it? Should it? I'm not sure.
> 
> I guess I was wrong though, things like al_draw_filled_rectangle never
> were intended to be supported by the held drawing.

I suppose if theres no way to draw some verticies textured, and some not, with 
the same glDrawArrays type call. Otherwise it aught to be possible. And could 
save a few gl calls.

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/