Awesome Open Source
Awesome Open Source
Sponsorship

eglo -- Minimalistic X11/EGL abstraction for Pocket C.H.I.P

This is a minimalistic library to abstract away X11 and EGL API calls for applications and games intended to run on the Pocket C.H.I.P, so that one can simply link against libGLESv1_CM or libGLESv2 and start coding. No utilities, no audio functions, no toys.

Build dependencies:

sudo apt-get install build-essential libx11-dev chip-mali-userspace

How to build the library and example app:

make

How to run the example:

./egloapp

For apps that don't work well with the small screen (480x272), you can set the environment variable EGLO_SCALE to enable the experimental FBO scaling code, for example:

env EGLO_SCALE=2 ./egloapp    # Uses virtual screen size 960x544
env EGLO_SCALE=4 ./egloapp    # Uses virtual screen size 1920x1088

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (16,504
library (1,176
x11 (75

Find Open Source By Browsing 7,000 Topics Across 59 Categories