aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/es/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Move drawtex functionality to main/Kristian Høgsberg2010-04-282-225/+0
|
* mesa: Move glQueryMatrixxOES() implementation to core mesaKristian Høgsberg2010-04-281-199/+0
|
* mesa: Move GLES1 texgen functions to texgen.cKristian Høgsberg2010-04-281-73/+0
|
* mesa: Move support for paletted textures to main/teximage.cKristian Høgsberg2010-04-281-231/+0
|
* mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()Kristian Høgsberg2010-04-281-91/+0
|
* mesa: Move get_es*.c to main/Kristian Høgsberg2010-04-271-807/+0
|
* es: Prefix the get* functions with _es1/2 so they don't conflictKristian Høgsberg2010-04-271-12/+9
|
* mesa: Move GL_RGB565 workaround into fbobject.cKristian Høgsberg2010-04-271-37/+0
|
* mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.cKristian Høgsberg2010-04-271-108/+0
| | | | This let's us drop stubs.c.
* mesa: Move GLES2 shader stubs to main/shaders.cKristian Høgsberg2010-04-271-23/+0
|
* mesa: Move api_exec_es*.c into mesa/mainKristian Høgsberg2010-04-275-5989/+0
| | | | | This requires renaming a few functions to have unique names so that they can all live within the same driver.
* mesa: Move references to main/remap_helper.h to api_exec.cKristian Høgsberg2010-04-271-0/+26
|
* mesa: Move struct _glapi_table allocation out of context.cKristian Høgsberg2010-04-221-2/+10
| | | | | | We now allocate the table from api_exec.c and dlist.c where we fill out the table. This way, context.c doesn't need to know the actual contents of struct _glapi_table.
* mesa: Compute extension string according to APIKristian Høgsberg2010-04-223-307/+2
| | | | We can now stop special casing glGetString() and drop specials_es*.c.
* main: Report GL_SHADING_LANGUAGE_VERSION according to APIKristian Høgsberg2010-04-221-2/+0
|
* mesa: Compute GL version according to APIKristian Høgsberg2010-04-222-59/+0
|
* mesa: Move API specific context intialization into context.cKristian Høgsberg2010-04-222-31/+0
|
* mesa: Add OES_EGL_image to extension list.Chia-I Wu2010-04-062-0/+10
|
* mesa/es: Use core mesa's mfeatures.h.Chia-I Wu2010-03-303-243/+0
| | | | | Remove mfeatures_es1.h and mfeatures_es2.h. Build the overlay with either FEATURE_ES1 or FEATURE_ES2 defined.
* mesa/es: Update GLAPI and APISpec for GL_OES_EGL_image.Chia-I Wu2010-03-053-0/+43
| | | | | This generates the entrypoints and dispatches for GL_OES_EGL_image. There is no real support yet.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-252-2/+2
| | | | | | glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-192-2/+2
|
* mesa/es: Fix build issue after merge.Chia-I Wu2010-01-121-2/+3
| | | | | | | | | 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 <[email protected]>
* mesa/es: Improve support for GL_OES_compressed_paletted_texture.Chia-I Wu2010-01-041-142/+133
| | | | | | | | | | 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 <[email protected]>
* mesa/es: Fix GL_RGB565 support in FBO.Chia-I Wu2010-01-042-10/+10
| | | | | | | | 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 <[email protected]>
* mesa/es: Fix GL_OES_texture_cube_map support.Chia-I Wu2010-01-045-19/+197
| | | | | | | | 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 <[email protected]>
* mesa/es: Clean up extension string.Chia-I Wu2010-01-042-6/+12
| | | | | | | Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Add more exnteions to APIspec.Chia-I Wu2010-01-042-21/+130
| | | | | | | | | | | | | | 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 <[email protected]>
* mesa/es: Generate code for special functions.Chia-I Wu2010-01-046-20/+37
| | | | | | | | | | | | 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 <[email protected]>
* mesa/es: Remove unused code in es_generator.py.Chia-I Wu2010-01-041-44/+0
| | | | | | Remove unused GetLoopSizeExpression. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Generate _mesa_GetFixedv.Chia-I Wu2010-01-043-266/+31
| | | | | | | 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 <[email protected]>
* mesa/es: Add a sanity check to APIspec.py.Chia-I Wu2010-01-041-1/+17
| | | | | | | Some attributes are constant in a switch. Raise an exception if they are not. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Switch to APIspec.xml.Chia-I Wu2010-01-045-4113/+4
| | | | | | | Update Makefile and ES generator to use APIspec.xml. Remove APIspec.txt and related files. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Add APIspec.xml and its parser.Chia-I Wu2010-01-044-0/+5320
| | | | | | | 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 <[email protected]>
* mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu2009-11-056-0/+309
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Add OpenGL ES overlay.Chia-I Wu2009-11-0514-0/+6780
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 <[email protected]>