Re: [AD] core/primitives split

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


--- On Tue, 11/17/09, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> > On 2009-11-17, siegelord@xxxxxxxxxx> <siegelord@xxxxxxxxxx>
> wrote:
> > > Revision: 12727
> > >           http://alleg.svn.sourceforge.net/alleg/?rev=12727&view=rev
> > > Author:   siegelord
> > > Date:     2009-11-17 02:09:47
> +0000 (Tue, 17 Nov 2009)
> > > 
> > > Log Message:
> > > -----------
> > > Implemented deferred bitmap drawing for Direct3D
> driver.
> > > Coincidentally, this also makes the D3D driver
> respond to
> > > transformations set by the primitives addon.
> > 
> > Do you think (parts of) the primitives addon should be
> moved into the
> > core?
> > 
> 
> Or alternatively, move the remaining graphics functions
> from core also
> into the primitives addon, like we did with al_draw_line.

It's certainly possible to rewrite the graphics drivers to use the primitives addon functions (would be easier to put the addon into the core than vice versa, though) but I wouldn't be volunteering to do that.

What I do have planned is putting the transformations into the core, which is what my commit comment was getting at mostly. The only problem with that is that the A5 core software routines are currently not designed to accept arbitrary transformations, which may have to be fixed for consistency (I was planning on just documenting it for now). One way to fix it would be to put the software drawers from the primitive addon, but I don't know how to yank them out without dragging the rest of the addon with them.

-SiegeLord







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