Re: [AD] Rewritting set_gfx_mode (was: GFX_WINDOWED)

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



On Sat, 7 Apr 2001, Grzegorz Adam Hankiewicz wrote:

> Also, for the linux dynamic driver loading, IIRC there were several
> options:
>
> 1) Direct use of dlopen with external libraries.
> 2) Use of dlopen with wrappers around external libraries.
> 3) Preconfiguration of custom shared lib with dummy symbols when some
>    external library is not available: other end users will have same
>    symbols but possibly working external lib.
>
> AFAICS number three is prefered by Peter and Eduard Bloch: should be go
> this way? I once thought that with the dlopen thingy Allegro would be
> compiled *without* graphic drivers and would load them dynamically in a
> plugin like fashion (like when you open Gimp and all filters/plugins are
> scanned). 3) will make this inviable, replacing the dynamic library would
> solve this, but won't this force people recompile their binaries too
> because of new symbols/defines and such things?

I vote for number 1. Though I have no free time to implement it :-(

> I am voting for a set_gfx_mode rewrite (possibly seconded by everybody),
> and for implementing it myself (which is surely a bad idea :-).
> Suggestions?

Just do it.

Have a nice day.

Stepan Roh



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