Tag 'mesa_7_0' created by Brian <brian.p...@tungstengraphics.com> at 2007-06-22 22:44 +0000
Mesa 7.0 release Changes since mesa_6_5_3: Aapo Tahkola (6): don't use hw to perform vertex transform etc. when using swtcl. This for compatibility with vertex programs and the fact that swtcl very rarely gets hit with tcl capable hw. r300: fix primary color on rs480 r300: fix broken vbos rs480: fix textures and secondary color(?). clipping is still busted. tested on r480 Merge branch 'master' of git+ssh://aa...@git.freedesktop.org/git/mesa/mesa rs480: fix secondary color for real this time Brian (72): 7.0 release notes (template) added 6.5.3 MD5 sums added 7.0 relnotes link updates for 7.0 Version bumps for 7.0 7.0 blurb fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787) use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788) only load front/back face attrib if using a shader (bug 10788) Rewrite of slang_inline_asm_function() to do full parameter/argument substitution. fog, mix() bug fixes implement acos(), asin(), atan() regenerated add *gc, *syn files to tarballs fix some StepX/StepY mix-ups in alpha interpolation fix some renderbuffer/wrapper bugs Document a deficiency in the _swrast_Translate() function with regard to point size. fix some DDX,DDY mix-ups Resuscitate some of the DDX,DDY code. changes to get DDX/DDY working again document recent GLSL, R300 fixes New test of the dFdx(), dFdy() functions. get rid of OSMESA stuff get rid of normal vector add some #includes to silence warnings fix some matrix/state token indexing bugs (see bug 10848) document R300 bug fix 10848 Assorted miniglx updates. Makefile clean-ups for miniglx. add </ol> tag better comments for _mesa_debug(), _mesa_warning(), etc a somewhat nicer demo w/ command line options special case for -pthread (bug 10876) remove some debug code Check that texture units/samplers specified with glUniform1i() are legal. Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable. add pointers to git repo for drm/libpciaccess, replace & with & Tweak the shell scripting for descending into and building subdirs. Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled lines, remove obsolete comments. document tex sampler bug fix, code changes Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function. regenerated document exp(), mod() fixes re-indent some code more indentation fixes, remove 'register' keywords When feeding back texcoords, don't divide by W. See bug 10913. Remove unused FB_* tokens, re-indent code. remove some unneeded code in init_machine() don't ignore return value of _slang_codegen_global_variable() user-declared uniform structs not supported yet (see bug 10908) comment about fixing uniform structs master/trunk is now for Mesa 7.1 devel: bump versions version should be 7.0 version 7.0, not 7.1 In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983. document glXDestroyPbuffer fix fix STATE_HALF_VECTOR value (bug 10987) set version to 7.0 if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009) Fix point attentuation problem (bug 11042) document point attentuation fix restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 document bug 11049 fix remove old comment about DEFAULT_SOFTWARE_DEPTH_BITS disable depthBits check in check_compatible(), see bug 11161 fix GLX_USE_TLS breakage Fix TEXREL issues when using GLX_USE_TLS (see bug 7459). fix TEXTREL problem (bug 7459) set tentative 7.0 release date bring in Eric's FreeBSD fixes for -pthread update version fix date for 7.0 release Bruce Merry (1): in __glXGetArrayType() return type, not enabled (bug 10938) Christoph Bill (2): r300: Added some Doxygen comments. r300: Added a few more Doxygen comments. Dave Airlie (5): nouveau: disable nouveau build by default radeon: enable xpress chipsets miniglx/glut: should use the x/y pos to create window miniglx: fixup use of create windows x and y coordinates i915/miniglx: remove unused code Ian Romanick (8): Refactor Enable / Disable and IsEnabled bits related to texture targets. Refactor the way TestProxyTexImage is called in texture_error_check. Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB). Refactor the loop in unbind_texobj_from_texunits. Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabled Fix reversed enable logic in enable_texture Bring framebuffer_texture's error checking more in-line with the spec. Refactor determining whether a texture target can use compressed format Keith Packard (1): additional checks that attr is a texcoord Michel Dänzer (3): r300: radeonMakeCurrent cleanups. r300: Page flipping fixes. r300: Don't crash in radeonUpdatePageFlipping when !radeon->glCtx->DrawBuffer. Oliver McFadden (127): r300: Use the defined values for R300_VAP_CNTL_STATUS. r300: Point size is now set in a separate function; removed the deprecated code. r300: R300_ZS_... is now set in separate functions; removed the deprecated code. r300: Removed more deprecated state code that is now set in separate functions. r300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG. r300: Cleaned up a lot of cruft in r300_render.c. r300: Clean up the vertex buffer emission code and reduced code duplication. r300: Print the OpenGL define instead of a 2-digit char code in the warning. r300: Moved the pipeline stages together for readability. r300: General render clean up; added some Doxygen documentation, too. r300: Cleaned up r300_render.c using Indent with appropriate options. r300: Merged some comments into the Doxygen documentation. r300: Last few r300_render.c clean up. r300: Removed some deprecated code from r300_context.c and corrected an unused r300: Renamed the VBO functions to the R300 name format. r300: Removed obsolete pixel_shader.h header file. r300: Renamed vertex_shader.h to r300_vertprog.h r300: Removed the ugly CARD32 type. r300: Use an array for the vertex program sources and corrected an error from r300: Removed the obsolete pfs_reg_t type from r300_fragprog.h. r300: Indented r300_ioctl.[ch]. r300: Indented r300_maos.[ch]. r300: Indented r300_shader.[ch]. r300: Indented r300_cmdbuf.[ch]. r300: Indented r300_emit.h. r300: Indented r300_state.[ch]. r300: Added the Linux Kernel indent script. r300: Updated .gitignore. mesa: Added Vim swap files to .gitignore. r300: Removed some obsolete code from r300_tex.c. r300: Added a warning when texture state update fails. r300: Converted a few fprintf calls to _mesa_warning calls. r300: Converted exit calls to _mesa_exit calls. r300: Corrected the exit codes for consistency; they are all -1 for error now. r300: Corrected an error in r300_vertprog.c. r300: Corrected a couple of "control reaches end of non-void function" warnings. r300: Cleaned up the R300 Makefile. r300: Indented r300_fragprog.[ch]. r300: Indented r300_vertprog.[ch]. r300: Don't indent the tables in r300_texstate.c. r300: Removed some disabled R200 code from the R300 driver. r300: Removed a disabled/obsolete e32 in the AOS function. r300: Removed the unused immediate vertices mode macro. r300: Indented r300_context.[ch]. r300: Indented r300_tex.[ch]. r300: Indented r300_texstate.[ch] r300: Indented r300_texmem.[ch]. r300: Indented r300_state.[ch]. r300: Indented r300_cmdbuf.[ch]. r300: Last of the indent changes. :) Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa r300: Added a "not implemented yet" comment back. r300: Changed r300_run_vb_render calls to r300RunRender in some conditionally r300: Fixed some more function names. r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse. r300: Fixed indenting from previous commit r300: Fix a couple of static errors. r300: The empty check_space doesn't and never has done anything; removed it. r300: Removed the deprecated VTXFMT code. r300: Indented both copies of radeon_span.[ch] in preparation for merging. r300: Further reduced the diff between radeon_span.[ch]. r300: Removed the obsolete GLX_DIRECT_RENDERING define. r300: Don't need to sleep here; might cause performance problems the first time. r300: Converted "rp" variables (r300_fragment_program) to "fp". r300; Indent would destroy r300_reg.h, so add *INDENT-OFF*. r300: Don't need to include the deprecated r300_program.h in some files. r300: Removed a bit of disabled code. r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag. r300: I have no idea why this was forced on, but it seems to work fine when r300: Further reduced the radeon_span.c diff. r300: Indented radeon_span.h r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300 r300: radeon_span.h is now common code; radeon_span.c still needs some work. r300: Cleaned up radeon_context.h slightly; mostly Indent. r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)". r300: Removed the "texmicrotile" variable; the tiling code is disabled via a r300: Added some more Doxygen documentation and made some functions static. r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so the r300: Return -1 for error. r300: Name the render functions in r300_render.c consistently. r300: Moved some more of the emit code into r300_render.c. r300: Moved some more emit code into r300_render.c. r300: Removed obsolete start_index16_packet/start_index32_packet. r300: Corrected a compile error introduced by one of the previous commits. r300: Added TODO comment regarding texture tiling; I'm not sure about this. r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now. r300: Cleaned up function naming in r300_emit.c. r300: Cleaned up function names in r300_state.c. r300: Function naming correction in r300_texmem.c. r300: Removed some checking in r300NumVerts that is not needed. r300: Moved some code around in r300_render.c and general clean up. r300: Assert if the primitive type is unknown; this can't really happen. r300: Use __FUNCTION__ not __func__. r300: Indented r300_mem.c; I forgot this because it used to be radeon_mm.c. r300: Removed deprecated/disabled VBO code from r300_mem.c r300: Removed the r300BindProgram function; mesa default does better checking. r300: Cleaned up the blend factor function. r300: Corrected a small error from 37cbf38c344012f9d6e938937dac3697b73721a8. r300: Enable hardware 3D texture support. Fixes the stex3d demo. r300: Cleaned up function names in r300_texstate.c. r300: Merged radeon_span.c. r300: Initial work on merging radeon_lock.[ch]. r300: Reduced the diff on radeon_lock.[ch]. r300: Corrected some macro errors from the previous commit. r300: Corrected another error; regexp replaced something it shouldn't have. Revert "r300: Merged radeon_span.c." r300: Added insert_at_tail to the ALLOC_STATE macro. r300: Moved r300PackFloat24 near r300PackFloat32. r300: Removed the unused CPT macro. r300: Removed unused FORCE_32BITS_ELTS define. r300: Perform the locking closer to the DRM texture upload call. r300: Renamed r300DoEmitState to r300EmitAtoms. r300: Removed the name argument to ALLOC_STATE; do the name via the macro. Revert "r300: Perform the locking closer to the DRM texture upload call." r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01]. r300: Use the defined values for the interpolater (interp_magic) magic values. r300: A few very minor indenting corrections. r300: Removed a couple of obsolete/commented out includes. r300: Use #if 0 for disabled code, rather than commenting it out. r300: Removed the unused r300_aos_rec (replaced by r300_dma_region) structure. r300: Changed a couple of functions in r300_state.c to static functions. r300: Changed some more functions to static functions. r300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values. r300: Use the defined values when writing to R300_SE_VTE_CNTL. r300: Use the defined values when writing to R300_RS_ROUTE_0. r300: Use e32(0x0) rather than e32(0); makes greping for hex values easier. r300: Enable the non-user-buffers code to compile. Patrick Baggett (1): Fix some bugs related to loop counters and conditional branching. Roland Scheidegger (5): bring over recent radeonMakeCurrent fixes for r300 to radeon/r200 fix small s3tc mipmaps (#10968) fix miptree comparison with compressed textures fix copy & paste bug of previous commit, breaking dxt5 formats fix miptree layout (i915) for small compressed mipmaps --- .gitignore | 3 Makefile | 24 bin/mklib | 8 configs/default | 6 configs/freebsd-dri | 4 configs/linux-dri | 2 configs/linux-solo | 13 docs/MiniGLX.html | 13 docs/contents.html | 2 docs/download.html | 6 docs/fbdev-dri.html | 213 -- docs/intro.html | 20 docs/news.html | 7 docs/relnotes-6.5.3.html | 10 docs/relnotes-7.0.html | 85 docs/relnotes.html | 1 docs/subset.html | 17 include/GL/gl.h | 4 progs/Makefile | 4 progs/glsl/Makefile | 7 progs/glsl/deriv.c | 319 +++ progs/miniglx/miniglxtest.c | 239 +- src/Makefile | 6 src/glut/mini/window.c | 2 src/glx/mini/Makefile | 21 src/glx/mini/miniglx.c | 6 src/glx/x11/glx_pbuffer.c | 2 src/glx/x11/indirect_vertex_array.c | 2 src/mesa/drivers/dri/Makefile | 14 src/mesa/drivers/dri/Makefile.template | 17 src/mesa/drivers/dri/i915/i915_texstate.c | 8 src/mesa/drivers/dri/i915/intel_tex.c | 34 src/mesa/drivers/dri/i915/server/intel_dri.c | 27 src/mesa/drivers/dri/i915tex/i915_tex_layout.c | 4 src/mesa/drivers/dri/i915tex/intel_tex_validate.c | 17 src/mesa/drivers/dri/i915tex/server/intel_dri.c | 55 src/mesa/drivers/dri/i965/brw_cc.c | 1 src/mesa/drivers/dri/i965/brw_draw.c | 2 src/mesa/drivers/dri/intel/intel_tex_layout.c | 2 src/mesa/drivers/dri/r200/r200_context.c | 1 src/mesa/drivers/dri/r300/.gitignore | 3 src/mesa/drivers/dri/r300/Lindent | 2 src/mesa/drivers/dri/r300/Makefile | 35 src/mesa/drivers/dri/r300/pixel_shader.h | 103 src/mesa/drivers/dri/r300/r300_cmdbuf.c | 550 ++--- src/mesa/drivers/dri/r300/r300_cmdbuf.h | 52 src/mesa/drivers/dri/r300/r300_context.c | 163 - src/mesa/drivers/dri/r300/r300_context.h | 274 +- src/mesa/drivers/dri/r300/r300_emit.c | 627 +++++ src/mesa/drivers/dri/r300/r300_emit.h | 88 src/mesa/drivers/dri/r300/r300_fragprog.c | 1681 +++++++--------- src/mesa/drivers/dri/r300/r300_fragprog.h | 23 src/mesa/drivers/dri/r300/r300_ioctl.c | 365 +-- src/mesa/drivers/dri/r300/r300_ioctl.h | 14 src/mesa/drivers/dri/r300/r300_maos.c | 627 ----- src/mesa/drivers/dri/r300/r300_maos.h | 53 src/mesa/drivers/dri/r300/r300_mem.c | 385 +++ src/mesa/drivers/dri/r300/r300_mem.h | 37 src/mesa/drivers/dri/r300/r300_program.h | 6 src/mesa/drivers/dri/r300/r300_reg.h | 12 src/mesa/drivers/dri/r300/r300_render.c | 571 ++--- src/mesa/drivers/dri/r300/r300_shader.c | 85 src/mesa/drivers/dri/r300/r300_state.c | 1642 +++++++-------- src/mesa/drivers/dri/r300/r300_state.h | 20 src/mesa/drivers/dri/r300/r300_tex.c | 388 +-- src/mesa/drivers/dri/r300/r300_tex.h | 3 src/mesa/drivers/dri/r300/r300_texmem.c | 183 - src/mesa/drivers/dri/r300/r300_texstate.c | 391 +-- src/mesa/drivers/dri/r300/r300_vertprog.c | 1179 ++++++----- src/mesa/drivers/dri/r300/r300_vertprog.h | 89 src/mesa/drivers/dri/r300/radeon_context.c | 14 src/mesa/drivers/dri/r300/radeon_context.h | 53 src/mesa/drivers/dri/r300/radeon_lock.c | 110 - src/mesa/drivers/dri/r300/radeon_lock.h | 55 src/mesa/drivers/dri/r300/radeon_mm.c | 492 ---- src/mesa/drivers/dri/r300/radeon_mm.h | 40 src/mesa/drivers/dri/r300/radeon_span.c | 233 +- src/mesa/drivers/dri/r300/radeon_span.h | 46 src/mesa/drivers/dri/r300/radeon_state.c | 3 src/mesa/drivers/dri/r300/radeon_state.h | 2 src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c | 656 ------ src/mesa/drivers/dri/r300/vertex_shader.h | 92 src/mesa/drivers/dri/radeon/radeon_context.c | 2 src/mesa/drivers/dri/radeon/radeon_context.h | 669 +++--- src/mesa/drivers/dri/radeon/radeon_lock.c | 117 - src/mesa/drivers/dri/radeon/radeon_lock.h | 26 src/mesa/drivers/dri/radeon/radeon_screen.c | 3 src/mesa/drivers/dri/radeon/radeon_span.c | 217 +- src/mesa/drivers/dri/radeon/radeon_span.h | 14 src/mesa/drivers/x11/glxapi.c | 2 src/mesa/drivers/x11/xm_dd.c | 12 src/mesa/glapi/gl_x86_asm.py | 15 src/mesa/glapi/glapi.c | 20 src/mesa/main/attrib.c | 1 src/mesa/main/config.h | 9 src/mesa/main/context.c | 7 src/mesa/main/enable.c | 132 - src/mesa/main/fbobject.c | 129 - src/mesa/main/image.c | 171 - src/mesa/main/imports.c | 36 src/mesa/main/light.c | 11 src/mesa/main/points.c | 11 src/mesa/main/teximage.c | 81 src/mesa/main/texobj.c | 30 src/mesa/main/texstate.c | 152 - src/mesa/main/version.h | 14 src/mesa/shader/arbprogram.c | 16 src/mesa/shader/prog_execute.c | 291 -- src/mesa/shader/prog_execute.h | 3 src/mesa/shader/prog_statevars.c | 16 src/mesa/shader/shader_api.c | 10 src/mesa/shader/slang/library/slang_common_builtin.gc | 49 src/mesa/shader/slang/library/slang_common_builtin_gc.h | 1183 +++++------ src/mesa/shader/slang/slang_codegen.c | 127 - src/mesa/shader/slang/slang_compile.c | 3 src/mesa/shader/slang/slang_ir.c | 2 src/mesa/swrast/s_aalinetemp.h | 4 src/mesa/swrast/s_aatritemp.h | 6 src/mesa/swrast/s_feedback.c | 112 - src/mesa/swrast/s_fragprog.c | 15 src/mesa/swrast/s_pointtemp.h | 2 src/mesa/swrast/s_span.c | 4 src/mesa/swrast/s_tritemp.h | 12 src/mesa/swrast_setup/ss_context.c | 9 src/mesa/tnl/t_vb_points.c | 10 src/mesa/tnl/t_vb_program.c | 2 src/mesa/tnl/t_vertex.c | 10 src/mesa/x86/3dnow_normal.S | 48 src/mesa/x86/glapi_x86.S | 15 129 files changed, 7748 insertions(+), 8757 deletions(-) ---