-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
26 lines (17 loc) · 878 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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