Re: [AD] Docs and set_gfx_mode |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Robert Ohannessian wrote:
Isn't this driver dependent, rather than a compile-time OS-specific thing?
Yes, but unfortunately that presents a problem. If it's driver dependant, then you need to know ahead of time whether or not a driver uses single-surface VRAM. Unfortunately, in the case of GFX_AUTODETECT* you can't know which driver will ultimately be picked until it's finally set (and the virtual screen size will play a role in selecting).
I can see this causing problems with OpenGL though (when AllegroGL gets integrated), since AllegroGL doesn't use single surfaces under any platform. Making it driver-specific does have some advantages, too. Mainly that you could emulate a virtual screen with the GDI driver (ala the X11 driver). The problem is implementation.
- Kitty Cat
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |