andreluizeng/glcubes-demo
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
INSTALATION: ------------ Copy the content in /bin to your rootfs folder, make sure to have the GPU libraries and driver correctly installed. CROSS-COMPILING: ------------ this step can be done in two ways: 1) setting env. variables a - export TOOLCHAIN=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi b - export ROOTFS=/home/user/your_rootfs_folder c - export EGL_FLAVOR=x11 (x11 based applications) or export EGL_FLAVOR=fb (fb based applications) d - make 2) passing as arguments a - export TOOLCHAIN=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi b - ./make ROOTFS=/home/user/your_rootfs_folder EGL_FLAVOR=x11 (or EGL_FLAVOR=fb) THE DEMO: ------------ This demo shows a simple opengl es 2.0 usage (10 cubes bouncing around the screen) texturized with data from bitmap files. TROUBLESHOTS ------------ Make sure to have the images in the same folder as the binary (you can find them in ../bin folder). Otherwise errors will occur. AUTHOR: -------- Andre Silva andreluizeng@yahoo.com.br andre.silva@freescale.com