Tag 'mesa_6_5_1' 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 (126): 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. make prog2 a legal program (texture reference fix) latest version from OpenGL ARB remove extension defines/protos that are now in glext.h check if ext->name is null before strcmp() Convert VERSIONS and RELNOTES-6.5.1 to html, update links to them. updated 6.5.1 relnotes link remove VERSIONS from tarballs update link version bump get rid of GL_BOOLEAN definition (bug 8113) updated info about glxproto.h Consolidate common case of _mesa_set_program_error() followed by _mesa_error() fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/ Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced in document vertex.weight hack for VERTEX_ATTRIB_WEIGHT, use break, not return remove stray tab Fixes from Christopher Bell: comment out EXTRA_LIB_PATH, ?= causes problems on HP-UX don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems init accum buffer fields in _mesa_update_framebuffer_visual() undo some accidental changes in _mesa_is_legal_format_and_type() Win32 fixes (SF bug 1554931) make triangle smoothing a sw fallback (Martign van Oosterhout) fix broken do_EXP() just comments and const qualifiers added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1) updated comment set 6.5.1 release date replace GLAPI w/ static and init var to 0 (Michel Donais) added #ifdef tests for Windows for int64_t, uint64_t update 6.5.1 release date 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 (5): 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. Fix a leak of the screen's option cache on cleanup (copied from radeon). Ian Romanick (30): 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 Fix problems with vertex program protocol Add API description for GLX_SGI_swap_control. Use correct opcodes for GLX_EXT_texture_from_pixmap. Jerome Glisse (4): r300_emit.h cleanup. Removing some of r200 dependency, cleaning up code a bit, Fix compilation warning. Fallback if ColorLogicOp is enabled. Cleanup a bit the fallback Jouk Jansen (2): OpenVMS compile support update OpenVMS compile support update Karl Schultz (2): export new _mesa_* functions Handle API and dispatch table changes that removed a bunch of extension entry points. Keith Whitwell (23): Test for fragment.position in points primitives. Currently renders add point-position.c When using the old technique to set up the front buffer mapping, there fix a couple of cases where a message reg is used as an instruction source. Catch a few more cases of using a message reg as an instruction source Don't export NV_vertex_program as it's not supported, it confuses Fixes for calculating point attenuation Dynamically allocate instruction store for tnl programs according to Simplify the immediate and displaylist code. Treat VertexAttrib*ARB Make sure bmBufferOffset is called for all active buffers every time Use lower alignments where possible. Also pad out allocated blocks to Fix glitch with pool alignments. Add some asserts, fix some not-quite-bugs. Cope with memory pool fragmentation by allowing a second attempt at Consistent return values from the bm* functions. Basic facility for playing back captured aubfiles. Requires a small Encode a unique id in the aub header date fields. Add code to tweak aubfile state and primitives on replay. Disassemble active program when DEBUG_VS is set. Potential fix for doom3 lockups. Seems that there is a conflict quieten debug VS nr of urb entries is constrained to be one of a fixed set of values, npot version of redbook/mipmap.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 (2): Bug #7169: Attempt to make libGL symbols visible to drivers. Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian. Roland Scheidegger (20): 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). do not abort with not supported vertex prog output configuration, fallback instead make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060. fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042). fog state atom contains (only) fog params necessary for tcl. Must not be emitted if vertex progs are enabled as it overlaps vertex param #94. only allow VERT_ATTRIB_MAX instead of _TNL_ATTRIB_MAX for inputs of vertex programs (fixes a segfault since the result of the shift is undefined otherwise, and it may happen that _TNL_ATTRIB_POINTSIZE will be tried to read, unlike all other attribs this however may be unitialized (might be a bug in itself)). make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1). cause a vtxfmt fallback directly when hitting NewList for radeon and r200 drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure. cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv conversion appears only to work on first unit. remove code to deal with non-normalized texture coordinates for tex rect targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles). make sure we upload the new vertex program if the program string changes. fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting is not enabled (?). This fixes demos/cubemap as well as glean texCube test. don't use derived value _ColorLogicOpEnabled as it's not current by the time we call the blend/logic op functions. Fixes glean logicOp test on r200. Always mark tex state atom as dirty when the texture image is dirty, this ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200). detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888 always use argb8888 instead of rgba8888, this is far more likely to hit a faster memcopy path in mesa (at least on little endian systems, possibly on big endian too) Rune Petersen (5): A small logic error. Give the user posibility to choose speed over correctness. re-apply shader fix. add missing change to skip low impact RAST fallback... Managed to make a commit that can't build... Sorry again... 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 | 9 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 | 20 configs/freebsd | 5 configs/freebsd-dri | 8 configs/hpux10 | 6 configs/hpux10-gcc | 2 configs/hpux10-static | 8 configs/hpux11-32 | 12 configs/hpux11-32-static | 6 configs/hpux11-32-static-nothreads | 4 configs/hpux11-64 | 14 configs/hpux11-64-static | 8 configs/hpux11-ia64 | 12 configs/hpux11-ia64-static | 8 configs/hpux9 | 6 configs/hpux9-gcc | 6 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/contents.html | 2 docs/download.html | 11 docs/enums.txt | 5 docs/faq.html | 18 docs/glfbdev-driver.html | 71 docs/install.html | 24 docs/modelers.html | 2 docs/news.html | 129 docs/relnotes-6.5.1.html | 89 docs/relnotes.html | 1 docs/versions.html | 1813 ++ include/GL/gl.h | 81 include/GL/gl_mangle.h | 7 include/GL/glext.h | 210 include/GL/glfbdev.h | 1 include/GL/glxext.h | 53 include/GL/internal/glcore.h | 18 include/GL/vms_x_fix.h | 762 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 | 2 progs/tests/arbfptest1.c | 2 progs/tests/arbnpot-mipmap.c | 184 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/glu/sgi/libutil/mipmap.c | 8 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 | 3124 +-- 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.c | 2 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.c | 2 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 | 15 src/mesa/drivers/dri/i915/intel_context.h | 1 src/mesa/drivers/dri/i915/intel_screen.c | 3 src/mesa/drivers/dri/i915/intel_tris.c | 2 src/mesa/drivers/dri/i965/Makefile | 97 src/mesa/drivers/dri/i965/brw_attrib.h | 113 src/mesa/drivers/dri/i965/brw_attrib_tmp.h | 485 src/mesa/drivers/dri/i965/brw_aub.c | 353 src/mesa/drivers/dri/i965/brw_aub.h | 172 src/mesa/drivers/dri/i965/brw_aub_playback.c | 443 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 | 93 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 | 175 src/mesa/drivers/dri/i965/brw_context.h | 708 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 | 457 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 | 1003 + src/mesa/drivers/dri/i965/brw_eu_util.c | 126 src/mesa/drivers/dri/i965/brw_exec.c | 125 src/mesa/drivers/dri/i965/brw_exec.h | 150 src/mesa/drivers/dri/i965/brw_exec_api.c | 716 src/mesa/drivers/dri/i965/brw_exec_array.c | 283 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 | 532 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 | 171 src/mesa/drivers/dri/i965/brw_save_api.c | 1162 + 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 | 154 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 | 129 src/mesa/drivers/dri/i965/brw_vs.h | 80 src/mesa/drivers/dri/i965/brw_vs_constval.c | 226 src/mesa/drivers/dri/i965/brw_vs_emit.c | 1032 + src/mesa/drivers/dri/i965/brw_vs_state.c | 102 src/mesa/drivers/dri/i965/brw_vs_tnl.c | 1682 + src/mesa/drivers/dri/i965/brw_vtbl.c | 192 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 | 194 src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 252 src/mesa/drivers/dri/i965/bufmgr.h | 211 src/mesa/drivers/dri/i965/bufmgr_fake.c | 1434 + src/mesa/drivers/dri/i965/intel_batchbuffer.c | 261 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 | 656 src/mesa/drivers/dri/i965/intel_context.h | 524 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 | 247 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 | 294 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 | 272 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 | 250 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/r128/r128_tris.c | 2 src/mesa/drivers/dri/r200/r200_context.c | 3 src/mesa/drivers/dri/r200/r200_context.h | 4 src/mesa/drivers/dri/r200/r200_state.c | 21 src/mesa/drivers/dri/r200/r200_state_init.c | 4 src/mesa/drivers/dri/r200/r200_tcl.c | 1 src/mesa/drivers/dri/r200/r200_texstate.c | 23 src/mesa/drivers/dri/r200/r200_vertprog.c | 157 src/mesa/drivers/dri/r200/r200_vtxfmt.c | 10 src/mesa/drivers/dri/r300/r300_cmdbuf.c | 59 src/mesa/drivers/dri/r300/r300_context.c | 6 src/mesa/drivers/dri/r300/r300_context.h | 29 src/mesa/drivers/dri/r300/r300_emit.h | 364 src/mesa/drivers/dri/r300/r300_fragprog.c | 10 src/mesa/drivers/dri/r300/r300_ioctl.c | 16 src/mesa/drivers/dri/r300/r300_maos.c | 617 src/mesa/drivers/dri/r300/r300_maos.h | 2 src/mesa/drivers/dri/r300/r300_program.h | 2 src/mesa/drivers/dri/r300/r300_reg.h | 69 src/mesa/drivers/dri/r300/r300_render.c | 209 src/mesa/drivers/dri/r300/r300_shader.c | 20 src/mesa/drivers/dri/r300/r300_state.c | 376 src/mesa/drivers/dri/r300/r300_texmem.c | 20 src/mesa/drivers/dri/r300/r300_texstate.c | 105 src/mesa/drivers/dri/r300/r300_vertexprog.c | 11 src/mesa/drivers/dri/r300/radeon_context.c | 2 src/mesa/drivers/dri/r300/radeon_context.h | 1 src/mesa/drivers/dri/r300/radeon_ioctl.c | 10 src/mesa/drivers/dri/r300/radeon_ioctl.h | 2 src/mesa/drivers/dri/r300/radeon_lock.h | 3 src/mesa/drivers/dri/r300/radeon_mm.c | 4 src/mesa/drivers/dri/r300/radeon_state.c | 10 src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c | 212 src/mesa/drivers/dri/radeon/radeon_context.c | 5 src/mesa/drivers/dri/radeon/radeon_screen.c | 29 src/mesa/drivers/dri/radeon/radeon_state.c | 38 src/mesa/drivers/dri/radeon/radeon_swtcl.c | 122 src/mesa/drivers/dri/radeon/radeon_tcl.c | 8 src/mesa/drivers/dri/radeon/radeon_tex.c | 8 src/mesa/drivers/dri/radeon/radeon_texstate.c | 55 src/mesa/drivers/dri/radeon/radeon_vtxfmt.c | 10 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 | 119 src/mesa/drivers/windows/gdi/wmesa.c | 52 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/xm_dd.c | 3 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 | 222 src/mesa/glapi/glX_server_table.py | 406 src/mesa/glapi/gl_API.dtd | 1 src/mesa/glapi/gl_API.xml | 1287 - 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/framebuffer.c | 15 src/mesa/main/get.c | 18 src/mesa/main/get_gen.py | 7 src/mesa/main/getstring.c | 5 src/mesa/main/image.c | 19 src/mesa/main/imports.c | 29 src/mesa/main/imports.h | 5 src/mesa/main/mm.c | 18 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 | 201 src/mesa/main/texstore.h | 6 src/mesa/main/varray.c | 6 src/mesa/shader/arbprogparse.c | 483 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 | 15 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_readpix.c | 2 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 | 62 src/mesa/tnl/t_vb_arbprogram.h | 6 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 494 files changed, 80275 insertions(+), 23121 deletions(-) ---