Ports
Because of the way SDL is designed, much of the source code is split into separate modules for each operating system, to make calls to the underlying system. When SDL is compiled, the correct modules are selected for the target system.
On Microsoft Windows, SDL uses a GDI backend by default. A DirectX backend is also available. Older versions of SDL used DirectX 5, but SDL 1.2 (the current stable release) requires DirectX 7 by default. Sam Lantinga has stated that he plans to use DirectX 8 in future SDL releases.
On X Window System platforms, including Linux and OpenVMS, SDL uses Xlib to communicate with the X11 system for graphics and events.
On Mac OS X, SDL uses Quartz.
Read more about this topic: Simple DirectMedia Layer
Famous quotes containing the word ports:
“When its errands are noble and adequate, a steamboat bridging the Atlantic between Old and New England, and arriving at its ports with the punctuality of a planet, is a step of man into harmony with nature.”
—Ralph Waldo Emerson (18031882)
“O polished perturbation! golden care!
That keepst the ports of slumber open wide
To many a watchful night.”
—William Shakespeare (15641616)
“All places that the eye of heaven visits
Are to a wise man ports and happy havens.”
—William Shakespeare (15641616)