Re: [AD] Rewritting set_gfx_mode (was: GFX_WINDOWED) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers List <conductors@xxxxxxxxxx>
- Subject: Re: [AD] Rewritting set_gfx_mode (was: GFX_WINDOWED)
- From: Stepan Roh <stepan@xxxxxxxxxx>
- Date: Sat, 7 Apr 2001 11:59:10 +0200 (CEST)
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