exflame (3) - Linux Manuals

exflame: How to write directly to video memory improving performance. Allegro game programming library.

NAME

exflame - How to write directly to video memory improving performance. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

Example exflame

DESCRIPTION

This program demonstrates how to write directly to video memory. It implements a simple fire effect, first by calling getpixel() and putpixel(), then by accessing video memory directly a byte at a time, and finally using block memory copy operations.