emscripten/tests/glbook
Alon Zakai 6af006a177 add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
..
Chapter_2/Hello_Triangle add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Chapter_8/Simple_VertexShader add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Chapter_9 add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Chapter_10/MultiTexture add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Chapter_11 add glbook files 2012-03-31 18:09:04 -07:00
Chapter_13/ParticleSystem add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Chapter_15/Hello_Triangle_KD add glbook files 2012-03-31 18:09:04 -07:00
Common add another working glbook testcase 2012-04-03 16:23:24 -07:00
CH02_HelloTriangle.png add reftest mechanism for browser tests, and complete glbook test 1 2012-03-31 21:04:59 -07:00
CH08_SimpleVertexShader.png add second working glbook test 2012-04-02 16:26:54 -07:00
CH09_SimpleTexture2D.png missing reftest file 2012-04-03 14:21:56 -07:00
CH09_TextureCubemap.png add another working glbook testcase 2012-04-03 16:23:24 -07:00
CH09_TextureWrap.png add another glbook passing testcase 2012-04-04 15:04:18 -07:00
CH10_MultiTexture.png add yet another working glbook testcase 2012-04-04 17:11:39 -07:00
CH13_ParticleSystem.png add final glbook test 2012-04-05 16:39:22 -07:00
Makefile add final glbook test 2012-04-05 16:39:22 -07:00
README.linux add glbook files 2012-03-31 18:09:04 -07:00

README.linux

OpenGL ES 2.0 Programming Guide - Example code for Linux/X11 environment

Adaptation code for Linux/X11 environment for the examples of the book
OpenGL ES 2.0 Programming Guide written by Jarkko Vatjus-Anttila. All
original example code has remained unmodified. Adaptation changes are
in esUtil.c|h files, which encapsulates all X11 specific internals from
the application layer.

Prerequisites for building the source is a valid GCC toolchain (4.5.2
4.6.1 are tested) and properly setup X11 & GLESv2 & EGL environment.
Mesa project offers such setup, and version 7.11 has been tested with
software rendering. Also native GLESv2 renderer has been tested using
NVidia Tegra2 setup. More details about the tested environments are
below:

The code has been tested with three configurations
- ATI Radeon HD 3200 graphics with Mesa 7.11-0ubuntu3, Ubuntu 11.10
- NVidia Quadro FX 2800M/PCI/SSE2 with Mesa 7.11-0ubuntu3, Ubuntu 11.10
- NVidia Tegra 2, native EGL/GLESv2 drivers, Ubuntu 10.10

Native GLESv2 on Tegra2 renders all the test cases correctly. However,
Mesa 7.11 has problems with the Chapter 13 particle test, which at least
with the mentioned test setups create only a black screen.

Compiling the examples should be as easy as running "make" in the root
linux directory.

31st Oct 2011 - Jarkko Vatjus-Anttila <jvatjusanttila@gmail.com>

Website: http://code.google.com/p/opengles-book-samples/
License: MIT