summaryrefslogtreecommitdiff
path: root/src/mesa/es
AgeCommit message (Collapse)Author
2010-01-24mesa/es: Improve Makefile rules.Chia-I Wu
Make sure glapi headers are cleaned when "make clean". Make sure all sources depend on subdirs-stamp-tmp so that sources/headers are generated first. subdirs-stamp-tmp will be removed after a successful build. It might be a problem when a build fails. But it is much better than where we currently are: glapi headers are never cleaned or re-generated.
2010-01-12mesa/es: Update sources.mk.Chia-I Wu
Add/remove files that are unused/used to the omit list. Finally, they should all be features that can be omitted. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12mesa/es: Fix build issue after merge.Chia-I Wu
In cd6b8dd9e82fedc55d033131fbc0f8ee950567c8, color read/type fields are moved; Based on 068596c9a7e8d330ffdff8ad8700bd6093b5bdea and cc020425e929110613ddb405d3e82313d27a35ed, GLSL builtin library is autogenerated and GLSL libraries are built and used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Improve support for GL_OES_compressed_paletted_texture.Chia-I Wu
Add error checking and fix handling of level (it should be negative). Besides, always use the palette entry format/type when calling _mesa_TexImage2D. It respects the base internal formats of the cpal formats, and is simpler and faster, except for cases where the unpack alignment needs to be changed. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
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: Fix GL_OES_texture_cube_map support.Chia-I Wu
Unlike in OpenGL, GL_OES_texture_cube_map says that all coordinates are changed the same time by the token GL_TEXTURE_GEN_STR_OES, and the initial mode is GL_REFLECTION_MAP_OES. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Clean up extension string.Chia-I Wu
Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add more exnteions to APIspec.Chia-I Wu
This commit adds definitions of GL_EXT_texture_compression_dxt1 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_multi_draw_arrays to APIspec.xml and get_gen.py. Some of the enums are not avaiable in the header files and the defining extensions are disabled. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add more extensions to glapi.Chia-I Wu
This commit adds definitions of GL_OES_texture_half_float_linear, GL_OES_texture_float_linear GL_OES_texture_half_float, GL_OES_texture_float GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_get_program_binary GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays to glapi. 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>
2010-01-04mesa/es: Remove unused code in es_generator.py.Chia-I Wu
Remove unused GetLoopSizeExpression. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Generate _mesa_GetFixedv.Chia-I Wu
Have get_gen.py generate _mesa_GetFixedv. The generated function does all the checkings and thus simplifies APIspec.xml a bit. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add a sanity check to APIspec.py.Chia-I Wu
Some attributes are constant in a switch. Raise an exception if they are not. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Switch to APIspec.xml.Chia-I Wu
Update Makefile and ES generator to use APIspec.xml. Remove APIspec.txt and related files. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add APIspec.xml and its parser.Chia-I Wu
APIspec.xml is based on APIspec.txt. The new format has less code duplications and should be easier to read. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-10mesa/es: Add .gitignore.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06mesa/es: Improve support for parallel execution of make.Chia-I Wu
Running make with -j for the first time might fail because glapi headers haven't been generated. This commit should make it more reliable. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06mesa/es: Fix symbol conflicts and warnings.Chia-I Wu
drawtex.c was listed in LOCAL_ES1_SOURCES twice. My mistake when merging the patches. Also, run gl_apitemp.py with -c to silence warnings and add target "install". Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu
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>
2009-11-05mesa/es: Add OpenGL ES XMLs.Chia-I Wu
These XMLs define OpenGL ES 1.x and 2.x APIs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>