Re: [AD] Allegro 5's new graphics core

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


Martijn Versteegh wrote:

http://pages.infinit.net/voidstar/new_gfx.c

Sorry, but I haven't yet had time to look at it,
I still want to give my opninion on thids discussion.

While an OpenGL driver would be quite useful, I don't seen any reason why
we would not let AllegroGL provide this functionality.

Also in the light of modularisation (what a word) it would be better
to let the few things that are already modularized stay that way,
instead of incorporating them in the main lib.


Well, after Allegro being patched a dozen times or so to even support AllegroGL, I'd say the fact that it's still an add-on is probably more due to its immaturity more than it being modularizable :)


This would still allow for easier porting, since you can just
port allegro without gfx drivers and use allegrGL for that.

While I agree a simple 2d GL driver could be useful, it would
IMHO lead to lots of code duplication when we would
have such a 2d driver inside allegro, and a 3d one in allegroGL.


If there's a GL driver in Allegro, then AllegroGL will remove all that duplicated code, since it won't do anything in there anyway. AllegroGL could then provide other nice things for 3D games (like nice 3D text), perhaps supoprt for more texture types (4.4.4.4, or 16.16.16.16 even), all of which don't really belong in Allegro.



the old allegro mantra :
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,
use add-ons, add-ons are good, use add-ons, add-ons are good,

I think I made myself clear ;-)



I think you've watched too many movies :)




--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/



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