BitBank Graphics Library - optimized primitives for RGB565 surfaces on ARMv5
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.
assets
LICENSE
Makefile
README
bbgfx.c
bbgfx.doc
bbgfx.h
bbgfx_asm.s
bbgfx_demo.h
bbgfx_helper.c
demo_main.c
libmini_pil.a
make_demo
mini_io.c
mini_io.h
mini_pil.c
mini_pil.h
opaque_rect.cpp

README

*** BBGFX ***

BBGFX is a C/ASM library of graphics primitives primarily targeted at embedded
and bare metal environments. The benefit of BBGFX over other graphics libraries is
that the functions are written in optimized ARMv5 assembly language. This makes it
useful for less capable ARM systems such as the Cortex-M series or Raspberry Pi's
using the BCM2835 (ARMv6) CPU. BBGFX contains primitives for working with bitmaps,
lines, circles, rectangles and supports operations with transparency and
translucency. 

Here's the demo code running on a Raspberry Pi Zero and SPI LCD display:
https://www.youtube.com/watch?v=8VoxaDIMALA

To build the library, simply type 'make' in the terminal. To build the demo
app, type 'make -f make_demo'. This will build the 'bbgfxdemo' executable to show
that the library is working. By default, the demo will send output to /dev/fb0. It
can also send output to a SPI-connected LCD using my SPI_LCD library. The fb0 device
is assumed to be configured for either 32 or 16-bits per pixel.

BBGFX depends on image functions in a limited version of my imaging library
called 'mini_pil' - mini portable imaging library. This code is included 
with this repo.

Copyright (c) 2009-2017 BitBank Software, Inc.
Written by Larry Bank
bitbank@pobox.com