Warning: This site is under construction, most links will be broken.
LightX API -> lxgfxwrap
Last modified on Tue, 10th Apr 2007 at 00:13 UTC by zippletUnit: lxgfxwrap.pas
Required libraries in search path: directx gfxwrap btime idlevblank
Description
lxgfxwrap combines the software rendering engine and basic directdraw/GDI output to provide a simple rendering engine that should work on any windows system.
gfxwrap can output the final frame using either GDI or directdraw; the frame is rendered in software beforehand. Consequently, gfxwrap is slow but compatible with almost anything.
Notes
- In fullscreen mode, double buffering is forced even if you do not ask for it. The flip and outputframe calls do exactly the same thing. This is because gfxwrap always initialises fullscreen mode with a double buffering scheme.
- It's probably faster if you force the backbuffer to be in system memory when you are in fullscreen mode. This is because many LX software rendering functions read from the primary surface which will be in video memory in fullscreen mode, and this is a very slow operation with an AGP graphics card.
- Triple buffering is not supported with this rendering engine.
- Fullscreen mode is not supported when gfxwrap is using GDI to display the output.
Fields
- forcedib: boolean;
- backbuffersystem: boolean;
<<< Back to LightX documentation root