Tag 'mesa_20050715' created by Brian Paul <brian.p...@tungstengraphics.com> at 1970-01-01 00:00 +0000
Changes since mesa_20050610: Aapo Tahkola (8): lost_context never gets reset. Turn off VBO's. Fix problems with elts when immediate mode is on. Support 16-bit modes. Use depth tiling. Fix gloss breakage when using hw tnl. r300 driver side of color tiling support. -"fix" page flipping Brian Paul (46): pass mask array to PutRowRGB() in simple_z_textured_triangle() be sure we have span texcoords before calling _swrast_texture_span() mingw changes (Nolan Leake) Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're not DirectFB updates (Claudio Ciccani) include light.h to silence warning updated to version 29 check for NULL swrast->Driver.SetBuffer before calling it Remove the xmesa_set_buffer() function. No longer needed since the need parenthesis in realloc call check for null oldBuffer in _mesa_realloc(), cleaned up some comments fix for-loop in _mesa_GetDouble to avoid out of bounds memory read make create_new_program() static added _tnl_ProgramCacheDestroy() prototype Get rid of the MESA_PBUFFER_ALLOC/FREE() macros. remove unused MEMSET16 macro include t_vp_build.h just code clean-ups and new comments fix Darwin dynamic lib naming fix a few glitches Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions. Add a set of predicate functions for testing matrices instead of directly added newline at end of file remove \n from warning message string minor fixes remove OLD_RENDERBUFFER stuff remove OLD_RENDERBUFFER code Remove NEW_RENDERBUFFER stuff. Move the PYTHON2 and PYTHON_FLAGS assignments to configs/current, and fix typo in assertions added some glGetRenderbufferParameterivEXT calls, printfs, and assertions fix dependencies updates to file list for tarballs replace some free() calls with _mesa_free() comment-out some unused code to silence warnings The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries. added a few more fallbackStrings (Andreas Stenglein) eglgears demo (Dane Rushton) replace gcc with $(CC) (Egbert Eich) define CFLAGS and CXXflags with -m32 (Egbert Eich) redo previous check-in, just set ARCH_FLAGS = -m32 remove duplicate "User disable" string added comments Check for null program->Parameters pointer in validate_vertex_program(). need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP query disable call to via_sse_memcpy() until it's fixed Eric Anholt (4): Zero out the ENGPACKET allocated on the stack, to avoid sending uninitialized Explain the reason for TCL fallback when GL_SPHERE_MAP happens with Remove the #if 0-ed out old span code. Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coords Ian Romanick (15): Adds support for MGA DRM version 3.2. Mammoth update to the Python code generator scripts that live in Mark GenQueriesARB at 'always_array="true"'. This eliminates the need Fix non-x86 specific builds. The changes from glTexImage3DEXT to Ignore files generated as part of the build process. Replace add_newer_entrypoints (src/mesa/main/context.c) with Make linux-x86 more like the other linux configs. Add $(CFLAGS) to the link commands. This makes 'make linux-x86 Massive refactor of (most of) the Linux config files. This reduces linux-x86-32 is unnecessary. The same thing can be acomplished by Add support for assembly (static) dispatch functions on x86-64. This Add regression test for bug #3101. Correct the comments in the file headers. Oops. Put back the glPopMatrix. This test was derived from blendminmax.c. Restore linux-x86-32 config for Brian. Jeremy Kolb (4): Fixed some issues where XCB replies were being freed and data was not being copied. ran "make" after update to glX_proto_send.py. Fixed a bug where GenQueriesARB was generating the wrong code for XCB and wouldn't compile. Not sure how that slipped through before but it should work now. Fixed the XCB implementation when always_array is true, thanks to Ian Romanick for pointing it out. Please review. Jerome Glisse (2): Adapt extension string to new GL dispatch schema proposed Adding RV350_NJ ID. Jon Smirl (4): fbSwapBuffers needs to return a status Fix linux-solo build for mga check-in Fix a few compiler warnings Put default back to the normal DRM path Jouk Jansen (1): Committing in . Karl Schultz (14): Fix a prototype Use frexp on Windows; frexpf is not available. Add new files to project. Don't #define __FUNCTION__ on a Microsoft C compiler new enough to have it. Visual Studio 7 solution file for mesa lib VC7 project file for gdi driver VC7 project file for glu VC7 project file for core mesa lib VC7 project file for osmesa VC7 Solution file for building glut and demos VC7 project file for gears demo VC7 project file for building glut lib Add windows VC7 project files to filelist for tar/zip files. Update notes with VC7 info. Keith Whitwell (8): remove debug prints Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs. Add lots of x87 fpu instructions. Add runtime compiled x87 implementations for most of the remaining Cache texenv programs to avoid repeated compilation (Ben Skeggs) Wrap RESTORE_FPU/RND_NEG_FPU declarations with check for USE_SSE_ASM. Add a LDEXPF wrapper macro. Use the LDEXPF wrapper macro. Nicolai Haehnle (3): Make sure texture base addresses are used correctly. Add PCI ID for R420 JI. Back out the actual enabling of depth tiling. Roland Scheidegger (4): Fix crashes with pixel readback when using the optimized assembly functions. remove common macros used in the span functions of most drivers from the individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR. convert sis and radeon driver to use spantmp2 instead of spantmp template. Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too. Re-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?), Vladimir Dergachev (5): Add definition for memory controller latency registers.. Fixed typos. Rename unchecked state to match DRM driver. Uncomment a couple of helper functions. Expose the fact that we do not do either selection of feedback buffers - either with software or hardware rendering. --- Makefile | 31 bin/mklib | 2 configs/darwin | 10 configs/default | 11 configs/freebsd-dri-amd64 | 1 configs/linux | 29 configs/linux-debug | 18 configs/linux-dri | 2 configs/linux-dri-x86 | 4 configs/linux-dri-x86-64 | 3 configs/linux-ppc | 15 configs/linux-ppc-static | 14 configs/linux-static | 11 configs/linux-x86 | 20 configs/linux-x86-32 | 8 configs/linux-x86-64 | 25 configs/linux-x86-64-debug | 25 configs/linux-x86-64-static | 21 configs/linux-x86-debug | 5 configs/linux-x86-static | 18 docs/README.WIN32 | 41 docs/RELNOTES-6.3 | 14 docs/contents.html | 2 docs/intro.html | 6 docs/mesa.css | 1 docs/news.html | 6 include/GL/glext.h | 5 progs/egl/Makefile | 9 progs/egl/demo1.c | 1 progs/egl/demo3.c | 2 progs/egl/eglgears.c | 446 progs/tests/.cvsignore | 2 progs/tests/Makefile | 1 progs/tests/bug_3101.c | 128 progs/tests/fbotest1.c | 13 progs/tests/fbotexture.c | 8 progs/tests/getprocaddress.py | 62 progs/xdemos/Makefile | 10 src/glx/x11/Makefile | 1 src/glx/x11/indirect.c | 624 src/glx/x11/indirect.h | 29 src/glx/x11/indirect_init.c | 385 src/glx/x11/indirect_size.c | 9 src/mesa/drivers/directfb/Makefile | 3 src/mesa/drivers/directfb/idirectfbgl_mesa.c | 283 src/mesa/drivers/dri/Makefile.template | 6 src/mesa/drivers/dri/common/depthtmp.h | 11 src/mesa/drivers/dri/common/extension_helper.h | 5886 ++++ src/mesa/drivers/dri/common/spantmp.h | 18 src/mesa/drivers/dri/common/spantmp2.h | 35 src/mesa/drivers/dri/common/spantmp_common.h | 81 src/mesa/drivers/dri/common/stenciltmp.h | 16 src/mesa/drivers/dri/common/utils.c | 87 src/mesa/drivers/dri/common/utils.h | 49 src/mesa/drivers/dri/fb/fb_egl.c | 2 src/mesa/drivers/dri/gamma/gamma_span.c | 31 src/mesa/drivers/dri/i810/i810context.c | 25 src/mesa/drivers/dri/i810/i810span.c | 31 src/mesa/drivers/dri/i830/i830_context.c | 67 src/mesa/drivers/dri/i830/i830_span.c | 32 src/mesa/drivers/dri/i915/i830_context.c | 6 src/mesa/drivers/dri/i915/i915_context.c | 15 src/mesa/drivers/dri/i915/intel_context.c | 97 src/mesa/drivers/dri/i915/intel_span.c | 32 src/mesa/drivers/dri/mach64/mach64_context.c | 17 src/mesa/drivers/dri/mach64/mach64_span.c | 79 src/mesa/drivers/dri/mga/mga_xmesa.c | 114 src/mesa/drivers/dri/mga/mgacontext.h | 3 src/mesa/drivers/dri/mga/mgadd.c | 2 src/mesa/drivers/dri/mga/mgaioctl.c | 167 src/mesa/drivers/dri/mga/mgaspan.c | 26 src/mesa/drivers/dri/mga/server/mga_dri.c | 1 src/mesa/drivers/dri/r128/r128_context.c | 29 src/mesa/drivers/dri/r128/r128_span.c | 35 src/mesa/drivers/dri/r200/r200_context.c | 91 src/mesa/drivers/dri/r200/r200_span.c | 83 src/mesa/drivers/dri/r200/r200_swtcl.c | 8 src/mesa/drivers/dri/r300/r300_cmdbuf.c | 202 src/mesa/drivers/dri/r300/r300_context.c | 79 src/mesa/drivers/dri/r300/r300_context.h | 2 src/mesa/drivers/dri/r300/r300_emit.h | 31 src/mesa/drivers/dri/r300/r300_ioctl.c | 34 src/mesa/drivers/dri/r300/r300_maos.c | 4 src/mesa/drivers/dri/r300/r300_reg.h | 30 src/mesa/drivers/dri/r300/r300_render.c | 20 src/mesa/drivers/dri/r300/r300_state.c | 104 src/mesa/drivers/dri/r300/r300_vertexprog.c | 20 src/mesa/drivers/dri/r300/radeon_ioctl.c | 18 src/mesa/drivers/dri/r300/radeon_screen.c | 8 src/mesa/drivers/dri/radeon/radeon_context.c | 58 src/mesa/drivers/dri/radeon/radeon_span.c | 166 src/mesa/drivers/dri/radeon/radeon_swtcl.c | 8 src/mesa/drivers/dri/radeon/radeon_tcl.c | 5 src/mesa/drivers/dri/radeon/radeon_texstate.c | 3 src/mesa/drivers/dri/s3v/s3v_span.c | 32 src/mesa/drivers/dri/savage/savage_xmesa.c | 22 src/mesa/drivers/dri/savage/savagespan.c | 37 src/mesa/drivers/dri/sis/sis_context.c | 14 src/mesa/drivers/dri/sis/sis_screen.c | 2 src/mesa/drivers/dri/sis/sis_span.c | 185 src/mesa/drivers/dri/tdfx/tdfx_context.c | 99 src/mesa/drivers/dri/tdfx/tdfx_span.c | 13 src/mesa/drivers/dri/tdfx/tdfx_tex.c | 6 src/mesa/drivers/dri/unichrome/via_context.c | 37 src/mesa/drivers/dri/unichrome/via_fb.c | 6 src/mesa/drivers/dri/unichrome/via_span.c | 45 src/mesa/drivers/dri/unichrome/via_tex.c | 8 src/mesa/drivers/glide/fxddtex.c | 6 src/mesa/drivers/glide/fxsetup.c | 4 src/mesa/drivers/windows/gdi/wgl.c | 13 src/mesa/drivers/windows/icd/icd.c | 2 src/mesa/drivers/windows/icd/mesa.def | 2 src/mesa/drivers/x11/fakeglx.c | 2 src/mesa/drivers/x11/xm_api.c | 14 src/mesa/drivers/x11/xm_dd.c | 76 src/mesa/drivers/x11/xmesaP.h | 4 src/mesa/glapi/.cvsignore | 11 src/mesa/glapi/Makefile | 26 src/mesa/glapi/extension_helper.py | 289 src/mesa/glapi/glX_XML.py | 782 src/mesa/glapi/glX_doc.py | 111 src/mesa/glapi/glX_proto_common.py | 95 src/mesa/glapi/glX_proto_send.py | 787 src/mesa/glapi/glX_proto_size.py | 514 src/mesa/glapi/gl_API.dtd | 18 src/mesa/glapi/gl_API.xml | 223 src/mesa/glapi/gl_SPARC_asm.py | 40 src/mesa/glapi/gl_XML.py | 1149 src/mesa/glapi/gl_apitemp.py | 89 src/mesa/glapi/gl_enums.py | 62 src/mesa/glapi/gl_offsets.py | 25 src/mesa/glapi/gl_procs.py | 61 src/mesa/glapi/gl_table.py | 21 src/mesa/glapi/gl_x86-64_asm.py | 307 src/mesa/glapi/gl_x86_asm.py | 54 src/mesa/glapi/glapitable.h | 12 src/mesa/glapi/glapitemp.h | 2651 - src/mesa/glapi/glprocs.h | 546 src/mesa/glapi/typeexpr.py | 288 src/mesa/main/attrib.c | 6 src/mesa/main/buffers.c | 8 src/mesa/main/clip.c | 9 src/mesa/main/config.h | 5 src/mesa/main/context.c | 227 src/mesa/main/dispatch.c | 2 src/mesa/main/enable.c | 2 src/mesa/main/enums.c | 8 src/mesa/main/get.c | 5 src/mesa/main/get_gen.py | 5 src/mesa/main/glheader.h | 15 src/mesa/main/imports.c | 27 src/mesa/main/imports.h | 46 src/mesa/main/light.c | 14 src/mesa/main/matrix.c | 53 src/mesa/main/mtypes.h | 11 src/mesa/main/texenvprogram.c | 659 src/mesa/main/texenvprogram.h | 1 src/mesa/main/teximage.c | 29 src/mesa/main/teximage.h | 11 src/mesa/main/texstate.c | 13 src/mesa/main/texstore.c | 38 src/mesa/math/m_matrix.c | 134 src/mesa/math/m_matrix.h | 90 src/mesa/shader/arbprogparse.c | 4 src/mesa/shader/grammar/grammar.c | 2 src/mesa/shader/nvvertexec.c | 6 src/mesa/shader/slang/library/slang_shader_syn.h | 2 src/mesa/shader/slang/library/slang_version_syn.h | 2 src/mesa/sources | 3 src/mesa/swrast/s_buffers.c | 10 src/mesa/swrast/s_context.c | 2 src/mesa/swrast/s_drawpix.c | 105 src/mesa/swrast/s_logic.c | 2 src/mesa/swrast/s_span.c | 15 src/mesa/swrast/s_texture.c | 444 src/mesa/swrast/s_triangle.c | 89 src/mesa/swrast/swrast.h | 2 src/mesa/tnl/descrip.mms | 11 src/mesa/tnl/t_context.c | 9 src/mesa/tnl/t_vb_arbprogram.c | 75 src/mesa/tnl/t_vb_arbprogram.h | 30 src/mesa/tnl/t_vb_arbprogram_sse.c | 719 src/mesa/tnl/t_vb_normals.c | 74 src/mesa/tnl/t_vp_build.c | 10 src/mesa/tnl/t_vp_build.h | 2 src/mesa/x86-64/glapi_x86-64.S |30993 ++++++++++++++++++++++ src/mesa/x86/Makefile | 10 src/mesa/x86/glapi_x86.S | 190 src/mesa/x86/read_rgba_span_x86.S | 11 src/mesa/x86/rtasm/x86sse.c | 560 src/mesa/x86/rtasm/x86sse.h | 50 windows/VC6/mesa/mesa/mesa.dsp | 12 windows/VC7/mesa/gdi/gdi.vcproj | 181 windows/VC7/mesa/glu/glu.vcproj | 752 windows/VC7/mesa/mesa.sln | 41 windows/VC7/mesa/mesa/mesa.vcproj | 1075 windows/VC7/mesa/osmesa/osmesa.vcproj | 168 windows/VC7/progs/demos/gears.vcproj | 154 windows/VC7/progs/glut/glut.vcproj | 322 windows/VC7/progs/progs.sln | 27 200 files changed, 49378 insertions(+), 7332 deletions(-) ---