[Ohrrpgce] SVN: teeemcee/3175 Run-time loading of graphics backends. You may now link to all 4 backend

Ralph Versteegen teeemcee at gmail.com
Tue Dec 15 11:05:46 PST 2009


2009/12/16 James Paige <Bob at hamsterrepublic.com>:
> On Mon, Dec 14, 2009 at 05:44:45PM -0800, subversion at HamsterRepublic.com wrote:
>> teeemcee
>> 2009-12-14 17:44:45 -0800 (Mon, 14 Dec 2009)
>> 348
>> Run-time loading of graphics backends. You may now link to all 4 backends at once if you wish to, but there's no runtime switching yet. Now I need to figure out how to update the build scripts to actually allow that - that's the hard part :(
>
> Would backend dll files be the desired solution?
>
> ---
> James

I think the only benefit to that would be that libraries the backends
depend on could be missing, and yet the program could still run (and
skip the nonfunctional backend). But if that's desired, it's would be
less hassle dynamically load the library itself.

BTW, right now the best build options look like directx+sdl+fb. We
might as well throw in gfx_fb because it only adds about 10kb -
apparently all of fbgfx is always being linked.



More information about the Ohrrpgce mailing list