summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* st/egl_g3d: Do not reuse the pipe transfer in ximage.Chia-I Wu2010-01-201-18/+22
| | | | | A pipe transfer is supposed to be temporary. It should be created before X*PutImage and destroyed afterwards.
* mklib: Fix static library generation/installation on SolarisAlan Coopersmith2010-01-191-1/+1
| | | | | | | | Change ar flag from -v (-verbose) to -c (silence console output) so that it stops causing make_ar_static_lib() to return a bunch of output other than the resulting library file. Signed-off-by: Alan Coopersmith <[email protected]>
* Remove hardcoded -Wall from Radeon DRI makefilesAlan Coopersmith2010-01-194-5/+3
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r300g: Move GB_AA_CONFIG to its eventual new home.Corbin Simpson2010-01-194-6/+8
|
* r300g: Make invariant state into an atom.Corbin Simpson2010-01-195-4/+7
|
* Merge remote branch 'origin/opengl-es-v2'Chia-I Wu2010-01-20100-349/+23002
|\
| * docs: Add documentation for OpenGL ES.Chia-I Wu2010-01-121-0/+78
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * progs/es2: Correctly set renderable type and client version.Chia-I Wu2010-01-123-7/+23
| | | | | | | | | | | | | | | | Correctly set EGL_RENDERABLE_TYPE and EGL_CONTEXT_CLIENT_VERSION for OpenGL ES 2.0. Because es2_info is copied from es1_info, the fix for it actually goes to es1_info. Signed-off-by: Chia-I Wu <[email protected]>
| * progs/es1: Bind texture image after rendering.Chia-I Wu2010-01-121-3/+5
| | | | | | | | | | | | Unlike FBO, eglBindTexImage is supposed to be called after rendering. Signed-off-by: Chia-I Wu <[email protected]>
| * configure.ac: Fix es state tracker build.Chia-I Wu2010-01-121-3/+9
| | | | | | | | | | | | | | | | mesa/es should be built before the es state trackers. This is done by separating those that need to be built early from SRC_DIRS to CORE_DIRS. The new variable is not exported, and will be prepended to SRC_DIRS. Signed-off-by: Chia-I Wu <[email protected]>
| * st/es: Clean up install target.Chia-I Wu2010-01-121-7/+7
| | | | | | | | | | | | Use DESTDIR and MINSTALL. Signed-off-by: Chia-I Wu <[email protected]>
| * st/es: Fix build issue after merge.Chia-I Wu2010-01-123-20/+20
| | | | | | | | | | | | | | | | In c847a13d38d4e8c5f4c386d060dcc8ec09e491a3, auxiliaries becomes a single library; In e388d62b4712bcd75cecad53f5ca20a2bb6f89b1, the default build is changed to have -fvisibility=hidden. Signed-off-by: Chia-I Wu <[email protected]>
| * mesa/es: Update sources.mk.Chia-I Wu2010-01-121-4/+3
| | | | | | | | | | | | | | 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 <[email protected]>
| * mesa/es: Fix build issue after merge.Chia-I Wu2010-01-123-13/+15
| | | | | | | | | | | | | | | | | | 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]>
| * Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121874-46514/+131815
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | Add es state tracker to autoconf.Chia-I Wu2010-01-051-5/+13
| | | | | | | | | | | | | | | | | | mesa/es is needed in SRC_DIRS to build es state tracker. Signed-off-by: Chia-I Wu <[email protected]>
| * | Clean up ES_FILES.Chia-I Wu2010-01-051-2/+2
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | progs/es1: Add compressed paletted texture tests to torus.Chia-I Wu2010-01-041-2/+149
| | | | | | | | | | | | | | | | | | | | | The tests can be toggled by `t'. It will print current texture format and the size of the image. 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-046-19/+199
| | | | | | | | | | | | | | | | | | | | | | | | 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: Add more extensions to glapi.Chia-I Wu2010-01-043-13/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[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-046-4117/+8
| | | | | | | | | | | | | | | | | | | | | 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]>
| * | Update config linux-opengl-es.Chia-I Wu2009-11-101-1/+7
| | | | | | | | | | | | | | | | | | | | | Build demos that require EGL_MESA_screen_surface, and build egl_i915.so that supports EGL_MESA_screen_surface. Signed-off-by: Chia-I Wu <[email protected]>
| * | progs/es1: Port eglgears to OpenGL ES 1.1.Chia-I Wu2009-11-103-0/+379
| | | | | | | | | | | | | | | | | | This demo requires EGL_MESA_screen_surface to run. Signed-off-by: Chia-I Wu <[email protected]>
| * | progs/es1: Port egltri to OpenGL ES 1.1.Chia-I Wu2009-11-105-0/+466
| | | | | | | | | | | | | | | | | | This demo requires EGL_MESA_screen_surface to run. Signed-off-by: Chia-I Wu <[email protected]>
| * | st/egl: Allow APIs other than OpenGL.Chia-I Wu2009-11-105-20/+41
| | | | | | | | | | | | | | | | | | | | | | | | This is done by stopping linking to libmesagallium.a and removing DRI related stuff. The state tracker an application links to decides the API supported. Signed-off-by: Chia-I Wu <[email protected]>
| * | egl_softpipe: Clean up Makefile.Chia-I Wu2009-11-101-10/+5
| | | | | | | | | | | | | | | | | | Fix generation of depend. Link to the dynamic libraries used. Signed-off-by: Chia-I Wu <[email protected]>
| * | progs/es: Add .gitignore.Chia-I Wu2009-11-102-0/+11
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add .gitignore.Chia-I Wu2009-11-101-0/+5
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | Add new config for OpenGL ES.Chia-I Wu2009-11-062-0/+22
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | gallium: Allow state trackers to install files.Chia-I Wu2009-11-061-1/+5
| | | | | | | | | | | | | | | | | | State trackers like es or vega need to install their libraries. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/main: linear_to_nonlinear is not always available.Chia-I Wu2009-11-061-24/+38
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Improve support for parallel execution of make.Chia-I Wu2009-11-062-5/+15
| | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * | mesa/es: Fix symbol conflicts and warnings.Chia-I Wu2009-11-063-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * | glapi: Add OpenGL ES compatibility mode to scripts.Chia-I Wu2009-11-064-19/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the mode is on, the scripts would generate headers that are suitable for OpenGL ES. There are two differences. One is that they will generate function prototypes for OpenGL ES specific functions. The other is that, when a function has multiple names, SET/GET/CALL macros would be generated for each of names. Signed-off-by: Chia-I Wu <[email protected]>
| * | progs/es: OpenGL ES 1.x and 2.X demo programs.Chia-I Wu2009-11-0511-0/+4461
| | | | | | | | | | | | | | | | | | | | | | | | The demo programs are written by Brian Paul, and cherry-picked from opengl-es branch. Several minor issues such as a linking problem are fixed. Signed-off-by: Chia-I Wu <[email protected]>
| * | st/es: Add OpenGL ES state trackers.Chia-I Wu2009-11-053-0/+90
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu2009-11-0514-3/+654
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add OpenGL ES overlay.Chia-I Wu2009-11-0517-2/+7087
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * | mesa/es: Add OpenGL ES XMLs.Chia-I Wu2009-11-0513-0/+7612
| | | | | | | | | | | | | | | | | | These XMLs define OpenGL ES 1.x and 2.x APIs. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again.Chia-I Wu2009-11-052-2/+8
| | | | | | | | | | | | | | | | | | They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Include headers with directory prefixes.Chia-I Wu2009-11-0511-25/+25
| | | | | | | | | | | | | | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>