Xsprite

From jeb
Jump to: navigation, search

X11, the server — client concept used by most *nix'es and some others too, has very little support for sprite drawing in its standard libraries. It assumes the programmer will take care of all necessary coding to make such applications.

Xsprite is a small library to make the necessary canvas, layers, movable objects, redraw routines, and support routines to make this go fast. It is a look alike from the programmer's point of view, even if it is completely implemented on the client side and run on all server implementations unaltered.

During stress testing it was found to be able to handle 150-200 000 sprites generated per second on a sluggish P2 266. Actual redraw speed depends on the graphics hardware, and wetter the application runs on a host and draw on a terminal or the graphics hardware is local on the computer. Further stress tests indicated that the same hardware with a local Matrox Millennium card was able to handle 20-30 000 redraws of point sprites and around 10 000 redraws of small rectangles.

This was a concept study and never published.

Views
Personal tools
Navigation
Toolbox
LANGUAGES
Toolbox