Tag 'texmem_0_2_20060912' created by Brian Paul <brian.p...@tungstengraphics.com> at 1970-01-01 00:00 +0000
Changes since mesa-6_5-20060712: Aapo Tahkola (8): fix #6991 support shorts as vertex data gcc-4.1.1 compile fix fix broken write-only depth setting. use early z where possible. extend some DrawRangeElements cases to support rendering more than 65535 verts in one blast. ut2k4 cases in other words ... remove duplicate pieces of code. fix #8008 close #6318 Adam Jackson (2): linux-indirect target fixes. mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet Alan Hourihane (4): Fix some breakage after the PROGRAM_UNDEFINED change Fixup more PROGRAM_UNDEFINED problems. Fix writemasks on texture arb fp instructions. Fix bug 8010 - locking issues. Brian Paul (93): New config var DRI_DRIVER_SEARCH_DIR to specify where libGL should search download/install updates LIB_DIR is now just 'lib' or 'lib64' define FLT_MAX_EXP to 128 if undefined Compute ctx->Color._LogicOpEnabled in one place instead of four places! add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage() indentation fix more 6.5.1 additions Several loops over the map1/2 evaluator arrays were incorrect. For glGetTexImage(), move the _mesa_validate_pbo_access() error check into remove unused NEED_TWO_SIDED_LIGHTING() macro Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel use ctx->Light.ShadeModel instead of ctx->_TriangleCaps move/update comments bump MESA_TINY to 1 Some structure renaming. Prefix vertex/fragment-related structs with check for non-nill pwc in WMesaMakeCurrent(), bug 7585 added arrayobj.[ch] files just reindent load SLANG_FRAGMENT_FIXED_SECONDARYCOLOR GLUT on fbdev driver. Sean D'Epagnier added glut fbdev files renderbuffer fixes (Sean D'Epagnier) code to draw engine block casts and assertions fix link for Aqsis Initial work for GL_EXT_texture_sRGB. added GL_EXT_texture_sRGB New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose(). Added a check to prevent rebuilding Mesa with a different configuration use WRITE_MASK_* instead of 0x1, 0x2, etc more work for GL_EXT_texture_sRGB. fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT fix typo, indentation remove stray text from previous check-in implement some of the sRGB texstore functions finish up texstore for SL8 texture format latest updates for 6.5.1 6.5.1 relnotes s/GLvoid/void/ to fix gcc 4.2 issue (bug 7875) change tex memory allocation calls (debian bug 383209) change #ifdef to #if added FEATURE_EXT_timer_query and tests sort the FEATURE_ defines Fix-ups for linux-fbdev config. No longer build Xlib driver sources. updates for 6.5.1 various updates remove FBDEV_DRIVER_OBJECTS assignment (in sources file) move ALL_SOURCES to sources file update glut fbdev sources list Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid silence warning Check if mesa_vp->Base.Parameters is null before dereferencing (bug report added glut/mini/ sources to glut tarball fix fragment.position initialization bug Added _mesa_realloc_instructions() utility function. use _mesa_realloc_instructions() Check for NULL program string in r200_translate_vertex_program(). fix bad casts, carry over r200 fix to check for null program string in r300_translate_vertex_shader() Functions for vertex/fragment program transformations, optimizations, etc. scalar sources such as 'time.x' weren't accepted by parser Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB target According to GL_NV_fragment_program, max frag prog length is 1024 instructions. update MAX_INSTRUCTIONS limit recent bug fixes added _mesa_alloc_instructions() utility function use _mesa_alloc_instructions() Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). improved comments In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END if Rearrange glBindProgram() code to do all error checking before changing Remove XFree86 CVS keyword. clamp result.depth to [0,1] if written to Free vertex program TnlData, if any. Fixes a mem leak. Error detection/reporting was broken in several places. 6.5.1 bug fixes include texobj.h to silence warning delete buffers, destroy window upon exit check for GL_ARB_point_parameters omit installmesa script from tarballs fix the check for force_s3tc_enable (bug 8042) remove unused var Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to replace abort with _mesa_problem() remove assertion that referenced &glSetFenceNV for debug test set 6.5.1 release to Aug 31 _mesa_debug() should be a no-op when not compiled with DEBUG defined. Move call to _swrast_update_rasterflags() since it depends on the init a local var to silence warning Use XAddExtension() to register an XCloseDisplay() callback function. fix Xlib driver mem leaks s/0/VERT_RESULT_HPOS/ Check that we don't try to reference more than one target of a texture unit. Claudio Ciccani (4): Clear window's event mask before enabling handled events. Fixed warnings. Moved glutDeviceGet() to events.c. Handle GLUT_DEVICE_KEY_REPEAT,GLUT_OWN_JOYSTICK,GLUT_JOYSTICK_POLL_RATE in glutDeviceGet(). Eric Anholt (4): Fix build failure in the savage driver. Add PROGRAM_FILE_MAX for i965 driver. Add Intel i965G/Q DRI driver. Add padding to match the current xf86-video-intel DDX->DRI interface. Ian Romanick (27): Move initialization of server_support from __glXProcessServerString to Convert comment header for __GLcontextModesRec to Doxygen style. Fix long standing bug that prevented newer drivers from working with Fix white-space problem in the prototype for glBlitFramebufferEXT that Add comments explaining a couple "mystery" bits. Remove extraneous trailing semicolon. Add test for GL_EXT_gpu_program_parameters. Add support for GL_EXT_gpu_program_parameters. Any driver that enables Enable support for GL_EXT_gpu_program_parameters for R300. When available, which is most of the time, use posix_memalign to implement Add new attribute called static_dispatch to the <function> element. This The TLS dispatch functions for x86-64 are fixed-size, just like on Correct the name of the GL_NV_texture_expand_normal extension. New script and API description file to enable generate of GLX protocol Fix some problems with the generation of the size tables. Enable Make sure that _GNU_SOURCE is enabled in the linux configs that set Add a new offset mode to the GL API XML. This mode, called "assign," GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions. Add missing enums for GL_SGI_color_table. Add a couple of the missing GL 2.0 functions. Enable GLX protocol for Explicitly store the names for each function that should have a static Add dependencies for all API XML files. Add two new gl_function methods. dispatch_name returns the name of Clean up GLX function exports. More static dispatch function removal. Deprecate GL_EXT_vertex_weighting. Add missing parenthesis so that glXSwapIntervalSGI protocol is Jerome Glisse (1): r300_emit.h cleanup. Karl Schultz (1): export new _mesa_* functions Keith Whitwell (2): Test for fragment.position in points primitives. Currently renders add point-position.c Michal Krol (19): Optimize shaders. More text. Fix dependencies. Add support for GL_MESA_shader_debug. Program to convert .syn file to .h headers. Commit enums for GL_MESA_shader_debug.spec. Add support for GL_MESA_shader_debug. Move GL_MESA_shader_debug from glext.h to gl.h. Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. Fix mmFindBlock function. Add vec4 extension. Add test for vec4 extension. Change fragment shader to utilize faster vec4 operations. Enable vec4 extension for x86 back-end. More GLSL code - more support for vec4 operations on x86 back-end. GLSL 1.20 built-in library. GLSL 1.20 constructors and operators. More GLSL preprocessor code: Add missing vec4 instructions to the interpreter. Michel Dänzer (1): Bug #7169: Attempt to make libGL symbols visible to drivers. Roland Scheidegger (5): remove the now confusing option to manually enable software ARB_vp if drm is not new enough on r200 move initialization code aroudn so glPointParameter isn't called before checking the extension is present fix typo causing a segfault when a vertex program uses more than 96 parameters fix initialization of native resource usage of vertex/fragment programs Minor r200 vertex program cleanups. Remove disabled leftovers from r300 vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong). Rune Petersen (1): A small logic error. Sean D'Epagnier (7): Modularized code into multiple files. Modified config to use glut/fbdev, added demo and sample directories. Added initial multisampling support to glfbdev driver. The driver now compiles correctly without any x headers or libraries installed Removed ifeq from makefile, and corrected fbdev driver so it compiles VT switching now uses correct keys. The colormap code is now simpler, 15bpp works where it did not before. Tilman Sauerbeck (3): fix a memleak fix another memleak fix a memleak (that code block has been commented out for years for unknown reasons) --- Makefile | 8 bin/installmesa | 8 configs/aix-64 | 8 configs/aix-64-static | 4 configs/aix-gcc | 6 configs/aix-static | 2 configs/beos | 6 configs/darwin | 6 configs/darwin-x86ppc | 6 configs/default | 18 configs/freebsd | 5 configs/freebsd-dri | 8 configs/hpux10 | 2 configs/hpux10-gcc | 2 configs/hpux10-static | 4 configs/hpux11-32 | 8 configs/hpux11-32-static | 2 configs/hpux11-64 | 10 configs/hpux11-64-static | 4 configs/hpux11-ia64 | 8 configs/hpux11-ia64-static | 4 configs/hpux9 | 2 configs/hpux9-gcc | 2 configs/irix6-64 | 4 configs/irix6-64-static | 4 configs/irix6-n32 | 4 configs/irix6-n32-static | 4 configs/irix6-o32 | 4 configs/irix6-o32-static | 4 configs/linux | 3 configs/linux-alpha | 6 configs/linux-alpha-static | 6 configs/linux-directfb | 4 configs/linux-dri | 5 configs/linux-dri-x86-64 | 2 configs/linux-dri-xcb | 2 configs/linux-fbdev | 14 configs/linux-glide | 6 configs/linux-ia64-icc | 8 configs/linux-ia64-icc-static | 2 configs/linux-icc | 4 configs/linux-icc-static | 2 configs/linux-indirect | 2 configs/linux-osmesa | 2 configs/linux-osmesa16 | 2 configs/linux-osmesa32 | 2 configs/linux-profile | 6 configs/linux-solo | 10 configs/linux-sparc | 29 configs/linux-sparc5 | 14 configs/linux-ultrasparc | 14 configs/linux-x86-64 | 2 configs/linux-x86-64-static | 2 configs/linux-x86-glide | 6 configs/linux-x86-static | 2 configs/netbsd | 2 configs/openbsd | 6 configs/osf1 | 6 configs/osf1-static | 2 configs/solaris-x86 | 2 configs/solaris-x86-gcc | 6 configs/solaris-x86-gcc-static | 6 configs/sunos4 | 2 configs/sunos4-gcc | 2 configs/sunos4-static | 2 configs/sunos5 | 8 configs/sunos5-gcc | 4 configs/sunos5-smp | 8 configs/sunos5-v8 | 8 configs/sunos5-v8-static | 2 configs/sunos5-v9 | 10 configs/sunos5-v9-static | 4 configs/ultrix-gcc | 2 docs/MESA_shader_debug.spec | 139 docs/RELNOTES-6.5.1 | 60 docs/VERSIONS | 19 docs/download.html | 9 docs/enums.txt | 5 docs/faq.html | 18 docs/glfbdev-driver.html | 71 docs/install.html | 15 docs/modelers.html | 2 docs/relnotes.html | 1 include/GL/gl.h | 64 include/GL/gl_mangle.h | 7 include/GL/glfbdev.h | 1 include/GL/internal/glcore.h | 18 progs/demos/Makefile | 8 progs/demos/arbfslight.c | 61 progs/demos/engine.c | 216 progs/demos/glslnoise.c | 45 progs/demos/pointblast.c | 5 progs/demos/spriteblast.c | 6 progs/demos/vao_demo.c | 13 progs/directfb/Makefile | 2 progs/egl/Makefile | 20 progs/fp/Makefile | 1 progs/fp/point-position.c | 119 progs/osdemos/Makefile | 8 progs/redbook/Makefile | 2 progs/samples/Makefile | 2 progs/slang/Makefile | 22 progs/slang/cltest.txt | 173 progs/slang/vstest.c | 2 progs/tests/Makefile | 1 progs/tests/bufferobj.c | 14 progs/tests/prog_parameter.c | 285 progs/xdemos/Makefile | 2 src/Makefile | 6 src/egl/drivers/demo/Makefile | 6 src/egl/drivers/dri/Makefile | 6 src/egl/main/Makefile | 6 src/glu/Makefile | 4 src/glu/mesa/Makefile | 10 src/glu/sgi/Makefile | 10 src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc | 6 src/glut/beos/Makefile | 10 src/glut/directfb/Makefile | 6 src/glut/directfb/events.c | 102 src/glut/directfb/state.c | 39 src/glut/directfb/window.c | 5 src/glut/fbdev/Makefile | 93 src/glut/fbdev/bitmap.c | 78 src/glut/fbdev/callback.c | 172 src/glut/fbdev/colormap.c | 170 src/glut/fbdev/cursor.c | 264 src/glut/fbdev/cursors.h | 7099 ++++++++ src/glut/fbdev/ext.c | 152 src/glut/fbdev/fbdev.c | 863 src/glut/fbdev/gamemode.c | 306 src/glut/fbdev/glut_fbdev.c | 2199 ++ src/glut/fbdev/input.c | 759 src/glut/fbdev/internal.h | 175 src/glut/fbdev/menu.c | 307 src/glut/fbdev/overlay.c | 56 src/glut/fbdev/state.c | 196 src/glut/fbdev/stroke.c | 81 src/glut/fbdev/vidresize.c | 55 src/glut/ggi/Makefile | 6 src/glut/glx/Makefile | 10 src/glut/mini/Makefile | 6 src/glut/mini/teapot.c | 2 src/glw/Makefile | 10 src/glx/mini/Makefile | 12 src/glx/x11/Makefile | 12 src/glx/x11/XF86dri.c | 4 src/glx/x11/dri_glx.c | 23 src/glx/x11/glxclient.h | 3 src/glx/x11/glxcmds.c | 307 src/glx/x11/glxext.c | 5 src/glx/x11/glxextensions.c | 18 src/glx/x11/glxextensions.h | 7 src/glx/x11/indirect.c | 3128 +-- src/glx/x11/indirect.h | 276 src/glx/x11/indirect_init.c | 174 src/mesa/Makefile | 54 src/mesa/drivers/beos/Makefile | 10 src/mesa/drivers/directfb/Makefile | 2 src/mesa/drivers/directfb/idirectfbgl_mesa.c | 138 src/mesa/drivers/dri/Makefile | 6 src/mesa/drivers/dri/Makefile.template | 10 src/mesa/drivers/dri/common/dri_util.c | 4 src/mesa/drivers/dri/common/extension_helper.h | 1166 - src/mesa/drivers/dri/common/utils.c | 18 src/mesa/drivers/dri/glcore/Makefile | 6 src/mesa/drivers/dri/i915/i830_context.h | 1 src/mesa/drivers/dri/i915/i830_metaops.c | 3 src/mesa/drivers/dri/i915/i830_vtbl.c | 11 src/mesa/drivers/dri/i915/i915_context.h | 3 src/mesa/drivers/dri/i915/i915_fragprog.c | 16 src/mesa/drivers/dri/i915/i915_metaops.c | 3 src/mesa/drivers/dri/i915/i915_program.c | 52 src/mesa/drivers/dri/i915/i915_state.c | 7 src/mesa/drivers/dri/i915/i915_vtbl.c | 11 src/mesa/drivers/dri/i915/intel_batchbuffer.c | 8 src/mesa/drivers/dri/i915/intel_context.c | 13 src/mesa/drivers/dri/i915/intel_context.h | 1 src/mesa/drivers/dri/i915/intel_tris.c | 2 src/mesa/drivers/dri/i965/Makefile | 97 src/mesa/drivers/dri/i965/brw_attrib.h | 121 src/mesa/drivers/dri/i965/brw_aub.c | 346 src/mesa/drivers/dri/i965/brw_aub.h | 170 src/mesa/drivers/dri/i965/brw_cc.c | 172 src/mesa/drivers/dri/i965/brw_clip.c | 264 src/mesa/drivers/dri/i965/brw_clip.h | 170 src/mesa/drivers/dri/i965/brw_clip_line.c | 233 src/mesa/drivers/dri/i965/brw_clip_point.c | 54 src/mesa/drivers/dri/i965/brw_clip_state.c | 96 src/mesa/drivers/dri/i965/brw_clip_tri.c | 467 src/mesa/drivers/dri/i965/brw_clip_unfilled.c | 484 src/mesa/drivers/dri/i965/brw_clip_util.c | 354 src/mesa/drivers/dri/i965/brw_context.c | 169 src/mesa/drivers/dri/i965/brw_context.h | 709 src/mesa/drivers/dri/i965/brw_curbe.c | 379 src/mesa/drivers/dri/i965/brw_defines.h | 850 src/mesa/drivers/dri/i965/brw_draw.c | 414 src/mesa/drivers/dri/i965/brw_draw.h | 104 src/mesa/drivers/dri/i965/brw_draw_current.c | 103 src/mesa/drivers/dri/i965/brw_draw_upload.c | 678 src/mesa/drivers/dri/i965/brw_eu.c | 130 src/mesa/drivers/dri/i965/brw_eu.h | 863 src/mesa/drivers/dri/i965/brw_eu_debug.c | 90 src/mesa/drivers/dri/i965/brw_eu_emit.c | 999 + src/mesa/drivers/dri/i965/brw_eu_util.c | 126 src/mesa/drivers/dri/i965/brw_exec.c | 129 src/mesa/drivers/dri/i965/brw_exec.h | 160 src/mesa/drivers/dri/i965/brw_exec_api.c | 877 + src/mesa/drivers/dri/i965/brw_exec_array.c | 340 src/mesa/drivers/dri/i965/brw_exec_draw.c | 227 src/mesa/drivers/dri/i965/brw_exec_eval.c | 255 src/mesa/drivers/dri/i965/brw_exec_generic.c | 530 src/mesa/drivers/dri/i965/brw_fallback.c | 468 src/mesa/drivers/dri/i965/brw_fallback.h | 47 src/mesa/drivers/dri/i965/brw_gs.c | 198 src/mesa/drivers/dri/i965/brw_gs.h | 74 src/mesa/drivers/dri/i965/brw_gs_emit.c | 146 src/mesa/drivers/dri/i965/brw_gs_state.c | 89 src/mesa/drivers/dri/i965/brw_hal.c | 52 src/mesa/drivers/dri/i965/brw_hal.h | 27 src/mesa/drivers/dri/i965/brw_metaops.c | 483 src/mesa/drivers/dri/i965/brw_misc_state.c | 529 src/mesa/drivers/dri/i965/brw_program.c | 147 src/mesa/drivers/dri/i965/brw_save.c | 126 src/mesa/drivers/dri/i965/brw_save.h | 172 src/mesa/drivers/dri/i965/brw_save_api.c | 1734 + src/mesa/drivers/dri/i965/brw_save_draw.c | 209 src/mesa/drivers/dri/i965/brw_sf.c | 188 src/mesa/drivers/dri/i965/brw_sf.h | 105 src/mesa/drivers/dri/i965/brw_sf_emit.c | 609 src/mesa/drivers/dri/i965/brw_sf_state.c | 219 src/mesa/drivers/dri/i965/brw_state.h | 146 src/mesa/drivers/dri/i965/brw_state_batch.c | 122 src/mesa/drivers/dri/i965/brw_state_cache.c | 469 src/mesa/drivers/dri/i965/brw_state_pool.c | 153 src/mesa/drivers/dri/i965/brw_state_upload.c | 264 src/mesa/drivers/dri/i965/brw_structs.h | 1330 + src/mesa/drivers/dri/i965/brw_tex.c | 158 src/mesa/drivers/dri/i965/brw_tex_layout.c | 162 src/mesa/drivers/dri/i965/brw_urb.c | 215 src/mesa/drivers/dri/i965/brw_util.c | 188 src/mesa/drivers/dri/i965/brw_util.h | 45 src/mesa/drivers/dri/i965/brw_vs.c | 128 src/mesa/drivers/dri/i965/brw_vs.h | 80 src/mesa/drivers/dri/i965/brw_vs_constval.c | 224 src/mesa/drivers/dri/i965/brw_vs_emit.c | 989 + src/mesa/drivers/dri/i965/brw_vs_state.c | 98 src/mesa/drivers/dri/i965/brw_vs_tnl.c | 1663 + src/mesa/drivers/dri/i965/brw_vtbl.c | 190 src/mesa/drivers/dri/i965/brw_wm.c | 349 src/mesa/drivers/dri/i965/brw_wm.h | 261 src/mesa/drivers/dri/i965/brw_wm_debug.c | 234 src/mesa/drivers/dri/i965/brw_wm_emit.c | 1250 + src/mesa/drivers/dri/i965/brw_wm_fp.c | 874 + src/mesa/drivers/dri/i965/brw_wm_iz.c | 216 src/mesa/drivers/dri/i965/brw_wm_pass0.c | 464 src/mesa/drivers/dri/i965/brw_wm_pass1.c | 278 src/mesa/drivers/dri/i965/brw_wm_pass2.c | 338 src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 253 src/mesa/drivers/dri/i965/brw_wm_state.c | 190 src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 250 src/mesa/drivers/dri/i965/bufmgr.h | 203 src/mesa/drivers/dri/i965/bufmgr_fake.c | 1320 + src/mesa/drivers/dri/i965/intel_batchbuffer.c | 250 src/mesa/drivers/dri/i965/intel_batchbuffer.h | 127 src/mesa/drivers/dri/i965/intel_blit.c | 494 src/mesa/drivers/dri/i965/intel_blit.h | 66 src/mesa/drivers/dri/i965/intel_buffer_objects.c | 207 src/mesa/drivers/dri/i965/intel_buffer_objects.h | 70 src/mesa/drivers/dri/i965/intel_buffers.c | 555 src/mesa/drivers/dri/i965/intel_context.c | 659 src/mesa/drivers/dri/i965/intel_context.h | 536 src/mesa/drivers/dri/i965/intel_ioctl.c | 182 src/mesa/drivers/dri/i965/intel_ioctl.h | 46 src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 245 src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 166 src/mesa/drivers/dri/i965/intel_reg.h | 91 src/mesa/drivers/dri/i965/intel_regions.c | 289 src/mesa/drivers/dri/i965/intel_regions.h | 139 src/mesa/drivers/dri/i965/intel_screen.c | 699 src/mesa/drivers/dri/i965/intel_screen.h | 113 src/mesa/drivers/dri/i965/intel_span.c | 279 src/mesa/drivers/dri/i965/intel_span.h | 41 src/mesa/drivers/dri/i965/intel_state.c | 330 src/mesa/drivers/dri/i965/intel_tex.c | 315 src/mesa/drivers/dri/i965/intel_tex.h | 42 src/mesa/drivers/dri/i965/intel_tex_validate.c | 245 src/mesa/drivers/dri/i965/server/i830_common.h | 203 src/mesa/drivers/dri/i965/server/i830_dri.h | 63 src/mesa/drivers/dri/i965/server/intel.h | 328 src/mesa/drivers/dri/i965/server/intel_dri.c | 1282 + src/mesa/drivers/dri/r200/r200_context.c | 3 src/mesa/drivers/dri/r200/r200_context.h | 4 src/mesa/drivers/dri/r200/r200_vertprog.c | 126 src/mesa/drivers/dri/r300/r300_cmdbuf.c | 53 src/mesa/drivers/dri/r300/r300_context.c | 2 src/mesa/drivers/dri/r300/r300_context.h | 24 src/mesa/drivers/dri/r300/r300_emit.h | 361 src/mesa/drivers/dri/r300/r300_fragprog.c | 8 src/mesa/drivers/dri/r300/r300_ioctl.c | 16 src/mesa/drivers/dri/r300/r300_maos.c | 619 src/mesa/drivers/dri/r300/r300_maos.h | 2 src/mesa/drivers/dri/r300/r300_program.h | 2 src/mesa/drivers/dri/r300/r300_render.c | 119 src/mesa/drivers/dri/r300/r300_shader.c | 20 src/mesa/drivers/dri/r300/r300_state.c | 273 src/mesa/drivers/dri/r300/r300_vertexprog.c | 11 src/mesa/drivers/dri/r300/radeon_context.c | 2 src/mesa/drivers/dri/r300/radeon_mm.c | 4 src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c | 212 src/mesa/drivers/dri/radeon/radeon_screen.c | 14 src/mesa/drivers/dri/savage/savage_3d_reg.h | 14 src/mesa/drivers/dri/tdfx/tdfx_context.c | 3 src/mesa/drivers/dri/tdfx/tdfx_tex.c | 3 src/mesa/drivers/dri/tdfx/tdfx_texman.c | 13 src/mesa/drivers/fbdev/glfbdev.c | 152 src/mesa/drivers/windows/gdi/mesa.def | 5 src/mesa/drivers/windows/gdi/wmesa.c | 2 src/mesa/drivers/x11/fakeglx.c | 84 src/mesa/drivers/x11/glxheader.h | 6 src/mesa/drivers/x11/xm_api.c | 16 src/mesa/drivers/x11/xmesaP.h | 2 src/mesa/glapi/APPLE_vertex_array_object.xml | 8 src/mesa/glapi/EXT_framebuffer_object.xml | 35 src/mesa/glapi/Makefile | 18 src/mesa/glapi/dispatch.h | 4426 ++--- src/mesa/glapi/extension_helper.py | 7 src/mesa/glapi/glX_API.xml | 215 src/mesa/glapi/glX_server_table.py | 406 src/mesa/glapi/gl_API.dtd | 1 src/mesa/glapi/gl_API.xml | 1253 - src/mesa/glapi/gl_SPARC_asm.py | 17 src/mesa/glapi/gl_XML.py | 86 src/mesa/glapi/gl_and_glX_API.xml | 7 src/mesa/glapi/gl_apitemp.py | 33 src/mesa/glapi/gl_offsets.py | 4 src/mesa/glapi/gl_procs.py | 19 src/mesa/glapi/gl_x86-64_asm.py | 16 src/mesa/glapi/gl_x86_asm.py | 22 src/mesa/glapi/glapi.c | 42 src/mesa/glapi/glapioffsets.h | 1294 - src/mesa/glapi/glapitable.h | 774 src/mesa/glapi/glapitemp.h | 2950 +-- src/mesa/glapi/glprocs.h | 1855 +- src/mesa/main/attrib.c | 2 src/mesa/main/blend.c | 17 src/mesa/main/bufferobj.c | 125 src/mesa/main/bufferobj.h | 3 src/mesa/main/config.h | 30 src/mesa/main/context.c | 8 src/mesa/main/context.h | 88 src/mesa/main/dd.h | 10 src/mesa/main/dlist.c | 96 src/mesa/main/enable.c | 16 src/mesa/main/enums.c | 5137 ++--- src/mesa/main/enums.h | 6 src/mesa/main/extensions.c | 27 src/mesa/main/extensions.h | 6 src/mesa/main/getstring.c | 5 src/mesa/main/imports.c | 29 src/mesa/main/imports.h | 5 src/mesa/main/mm.c | 2 src/mesa/main/mtypes.h | 45 src/mesa/main/occlude.c | 12 src/mesa/main/state.c | 60 src/mesa/main/texcompress.c | 13 src/mesa/main/texcompress_s3tc.c | 135 src/mesa/main/texenvprogram.c | 21 src/mesa/main/texformat.c | 168 src/mesa/main/texformat.h | 26 src/mesa/main/texformat_tmp.h | 97 src/mesa/main/teximage.c | 100 src/mesa/main/texstate.c | 10 src/mesa/main/texstore.c | 181 src/mesa/main/texstore.h | 6 src/mesa/shader/arbprogparse.c | 54 src/mesa/shader/arbprogparse.h | 4 src/mesa/shader/arbprogram.c | 102 src/mesa/shader/arbprogram.h | 10 src/mesa/shader/nvfragparse.c | 35 src/mesa/shader/nvfragparse.h | 4 src/mesa/shader/nvprogram.c | 52 src/mesa/shader/nvvertexec.c | 2 src/mesa/shader/nvvertexec.h | 2 src/mesa/shader/nvvertparse.c | 9 src/mesa/shader/nvvertparse.h | 4 src/mesa/shader/program.c | 262 src/mesa/shader/program.h | 53 src/mesa/shader/programopt.c | 147 src/mesa/shader/programopt.h | 37 src/mesa/shader/shaderobjects.c | 4 src/mesa/shader/shaderobjects.h | 18 src/mesa/shader/shaderobjects_3dlabs.c | 112 src/mesa/shader/shaderobjects_3dlabs.h | 7 src/mesa/shader/slang/library/gc_to_bin.c | 3 src/mesa/shader/slang/library/slang_120_core.gc | 1716 + src/mesa/shader/slang/library/slang_builtin_120_common.gc | 200 src/mesa/shader/slang/library/slang_builtin_120_fragment.gc | 30 src/mesa/shader/slang/library/slang_builtin_vec4.gc | 220 src/mesa/shader/slang/library/slang_builtin_vec4_gc.h | 62 src/mesa/shader/slang/library/slang_common_builtin_gc.h | 2 src/mesa/shader/slang/library/slang_core_gc.h | 2 src/mesa/shader/slang/library/slang_fragment_builtin_gc.h | 2 src/mesa/shader/slang/library/slang_pp_version.syn | 121 src/mesa/shader/slang/library/slang_pp_version_syn.h | 69 src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | 2 src/mesa/shader/slang/library/syn_to_c.c | 72 src/mesa/shader/slang/slang_assemble.c | 211 src/mesa/shader/slang/slang_assemble.h | 14 src/mesa/shader/slang/slang_assemble_assignment.c | 139 src/mesa/shader/slang/slang_assemble_constructor.c | 46 src/mesa/shader/slang/slang_compile.c | 82 src/mesa/shader/slang/slang_compile.h | 13 src/mesa/shader/slang/slang_execute.c | 172 src/mesa/shader/slang/slang_execute.h | 3 src/mesa/shader/slang/slang_execute_x86.c | 160 src/mesa/shader/slang/slang_preprocess.c | 75 src/mesa/shader/slang/slang_preprocess.h | 3 src/mesa/shader/slang/slang_storage.c | 119 src/mesa/shader/slang/slang_storage.h | 22 src/mesa/sources | 13 src/mesa/sparc/glapi_sparc.S | 1278 - src/mesa/swrast/s_arbshader.c | 149 src/mesa/swrast/s_arbshader.h | 4 src/mesa/swrast/s_context.c | 20 src/mesa/swrast/s_nvfragprog.c | 35 src/mesa/swrast/s_span.c | 10 src/mesa/tnl/t_array_import.c | 2 src/mesa/tnl/t_context.h | 7 src/mesa/tnl/t_pipeline.h | 2 src/mesa/tnl/t_save_api.c | 26 src/mesa/tnl/t_save_api.h | 1 src/mesa/tnl/t_vb_arbprogram.c | 28 src/mesa/tnl/t_vb_arbprogram.h | 4 src/mesa/tnl/t_vb_arbshader.c | 4 src/mesa/tnl/t_vb_cliptmp.h | 6 src/mesa/tnl/t_vb_program.c | 2 src/mesa/tnl/t_vp_build.c | 20 src/mesa/tnl/t_vtx_api.c | 5 src/mesa/tnl/t_vtx_api.h | 1 src/mesa/tnl/t_vtx_eval.c | 41 src/mesa/tnl/tnl.h | 2 src/mesa/tnl_dd/t_dd_dmatmp.h | 23 src/mesa/tnl_dd/t_dd_dmatmp2.h | 13 src/mesa/tnl_dd/t_dd_unfilled.h | 13 src/mesa/x86-64/glapi_x86-64.S |10473 ++++-------- src/mesa/x86/glapi_x86.S | 719 src/mesa/x86/rtasm/x86sse.c | 14 src/mesa/x86/rtasm/x86sse.h | 2 windows/VC6/mesa/mesa/mesa.dsp | 8 windows/VC7/mesa/mesa/mesa.vcproj | 3 450 files changed, 76276 insertions(+), 21848 deletions(-) ---