A deferred drawing library for Allegro 5
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
fast_draw.c
fast_draw.h
test.c
test.tga

README.md

FastDraw

by SiegeLord

A mini-library that implements a possibly faster deferred bitmap drawing than the one that comes with Allegro. It does this by removing the ability to change the transformations while the drawing is held.

It is contained in two files that you're probably best including in your project:

fast_draw.h fast_draw.c

test.c is a test file that benchmarks the various drawing techniques.

Usage:

FAST_DRAW_CACHE* cache = fd_create_cache(0, true);
fd_draw_bitmap(cache, bmp, 0, 0);
fd_flush_cache(cache);