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:
“O polished perturbation! golden care!
That keepst the ports of slumber open wide
To many a watchful night.”
—William Shakespeare (15641616)
“It is true, we are such poor navigators that our thoughts, for the most part, stand off and on upon a harborless coast, are conversant only with the bights of the bays of poesy, or steer for the public ports of entry, and go into the dry docks of science, where they merely refit for this world, and no natural currents concur to individualize them.”
—Henry David Thoreau (18171862)
“I need not tell you of the inadequacy of the American shipping marine on the Pacific Coast.... For this reason it seems to me that there is no subject to which Congress can better devote its attention in the coming session than the passage of a bill which shall encourage our merchant marine in such a way as to establish American lines directly between New York and the eastern ports and South American ports, and both our Pacific Coast ports and the Orient and the Philippines.”
—William Howard Taft (18571930)