summaryrefslogtreecommitdiff
path: root/src/mesa/es/main/es_fbo.c
AgeCommit message (Collapse)Author
2010-01-04mesa/es: Fix GL_RGB565 support in FBO.Chia-I Wu
In GL_OES_framebuffer_object and OpenGL ES 2.0, GL_RGB565 is a valid internal format. Since it is not supported by the core, map it to GL_RGB5 as a workaround. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Generate code for special functions.Chia-I Wu
es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/es: Add OpenGL ES overlay.Chia-I Wu
This is primitive support for OpenGL ES. It uses a subset of mesa sources to build libesXgallium.a and libesXapi.a, where X is 1 for OpenGL ES 1.x, 2 for OpenGL ES 2.x. The static libraries serve the same purpose as libmesagallium.a and libglapi.a do for OpenGL. This is based on the work of opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>