Tag 'mesa_6_5' created by Eric Anholt <anh...@freebsd.org> at 1970-01-01 00:00 +0000
Changes since mesa_20060325: Aapo Tahkola (8): fix #6072 (Keith Whitwell) More meaningful warning. disable r300 chips. R300_FORCE_R300 to force Dont rely on writebacks warn about broken dxt 3/5 make u_list adjustable free rs300 and ban r350(according to r300.sf.net) Enough testing already Adam Jackson (4): Style fix, drop the explicit -ldrm from the link line. Update the install docs to make explicit note of libdrm version dependency. Revert my change from 1.37 as being bogus (see ensuing list discussion for Clarify which version of Mesa we're talking about Brian Paul (36): comment about byteswapping in _mesa_unpack_depth_span() enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixel a little code movement so we don't make invalid casts from gl_renderbuffers to xmesa_renderbuffers update conditional for render to GL_DEPTH_STENCIL texture, check for valid teximage before calling ctx->Driver.RenderTexture() added known issue: render to depth textures not working updated comment about framebuffer's Visual field Move the computation of the viewport matrix into a new update_viewport_matrix() fix a GLuint vs GLushort test, new assertions a few new assertions new tests for GL_DEPTH_STENCIL_EXT New code for rendering to depth/stencil textures. prep for 6.5 release move NumNativeAlu/TexInstruction assignments (Ewald Snel) fix components initialization in two places (Ewald Snel) FP textures and fixes (Ewald Snel) minor clean-up fixes from John Shell (bug 6339) added some no-op virtual destructors to silence g++ 4.0.0 warnings s/glslnose.c/glslnoise/ (bug 6430) fix GETPROCADDRESS usage, remove carriage return chars (bug 6430) put braces around RENDER_SPAN macro when called, not when defined. Fixes -pedantic warnings in x11 driver Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange(). Add -ansi -pedantic flags to OPT_FLAGS. This got lost at some point. Good for catching sloppy coding. XMesaDrawLine macro, not currently used press '0' for glDrawBuffer(GL_NONE) added -f option for full-screeen fix bad call to FindLine() added glfbdev.h to MAIN_FILES some comments for Darwin comments regarding assertions Init the Red/Green/Blue/Alpha/Depth/StencilBits fields in driNewRenderbuffer() When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fields Fix the fetch_texel_ci8() code to deal with floating point color palettes. Dave Reveman's patch for GLX_MESA_copy_sub_buffer support bump version/date 6.5 updates Daniel Borca (5): PutRowRGB was not initialized for OSMESA_RGB_565 Disable `hidden' attribute for DJGPP Match pixel addresses with `compute_row_addresses' in RGB mode (also obey RGB/UNSIGNED_BYTE rule). Removed empty arrays. DMesa now uses OSMesa as a back-end. Dave Airlie (3): Fixup makefile for solo non-egl add initial miniglx files for i915, not integrated yet Fix up some incorrect pointers and clear screen Eric Anholt (3): The pitches of the driRenderbuffers are in bytes, so no need to multiply by cpp. Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp, Don't index box by the box's index within numClipRects; just dereference it. Jouk Jansen (1): Committing in . Karl Schultz (14): Remove unneeded includes of time.h Update for new Mesa entry points. I need to change the python script that generates this file to the new XML scheme, but for now, a manual update is OK. add showbuffer.[ch] which could be in this dir after the targets are built. Undef a conflicting symbol in Windows. Repair corrupted file and remove rogue 'test' project. Windows makefile to easily build all demo programs. Add newest source code files to project. Updated for Mesa 6.5 Fixes from Brian Fixes from Brian to help migrate to render buffer DD interfaces. Also fix bug in the viewport function that was using the viewport size to resize the buffer, when it should have been using the window size. Fix bug in write_rgb_span_32 where the incoming pixel data parameter was coded as a [][4] instead of [][3]. Now all the demos work correctly except singlebuffer. Use [][3] for write_rgb_span_16 Fix logic error in viewport function so that we still resize the buffers if the viewport and the window both change to the same new size. This lets the gloss demo work with the -f option. Clean up data structures, finishing off some of the cleanup work suggested by Brian. Now also creating two renderbuffers, so apps can now switch with glDrawBuffer. updated again for 6.5. Keith Whitwell (1): Revert merge of new/experimental code from texmem branch. Kristian Høgsberg (1): Fixes to silence warnings in code generated by glapi scripts. Roland Scheidegger (3): remove unnecessary typedefs causing compiler warnings make allow_large_textures 1 by default for radeon and r200, and consequently enable all texture units by default on those cards (3 for radeon, 6 for r200). Fix the usually forgotten DRIVER_DATE accordingly. fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler). --- Makefile | 1 Makefile.DJ | 11 bin/mklib | 3 configs/freebsd-dri | 2 configs/linux-debug | 2 configs/linux-dri | 2 configs/linux-dri-xcb | 2 docs/README.DJ | 26 docs/README.WIN32 | 36 docs/RELNOTES-6.5 | 58 docs/VERSIONS | 19 docs/cvs_access.html | 8 docs/devinfo.html | 4 docs/download.html | 4 docs/fbdev-dri.html | 4 docs/install.html | 20 docs/news.html | 52 include/GL/dmesa.h | 12 include/GL/gl.h | 4 include/GL/glx.h | 2 include/GL/internal/dri_interface.h | 8 include/GL/wmesa.h | 7 include/GL/xmesa_x.h | 1 include/GL/xmesa_xf86.h | 12 progs/demos/.cvsignore | 2 progs/demos/Makefile | 2 progs/demos/Makefile.win | 118 + progs/demos/arbfplight.c | 2 progs/demos/bounce.c | 2 progs/demos/gloss.c | 9 progs/demos/glslnoise.c | 188 +- progs/demos/reflect.c | 27 src/glu/sgi/libnurbs/interface/glcurveval.cc | 5 src/glu/sgi/libnurbs/internals/arctess.cc | 2 src/glu/sgi/libnurbs/internals/basiccrveval.h | 5 src/glu/sgi/libnurbs/internals/basicsurfeval.h | 5 src/glu/sgi/libnurbs/internals/bufpool.h | 5 src/glu/sgi/libnurbs/internals/cachingeval.h | 5 src/glu/sgi/libnurbs/internals/flistsorter.h | 5 src/glu/sgi/libnurbs/internals/sorter.h | 5 src/glu/sgi/libnurbs/nurbtess/monoTriangulation.cc | 10 src/glut/dos/mroman.c | 6 src/glut/dos/roman.c | 6 src/glut/dos/window.c | 6 src/glx/x11/glxcmds.c | 70 - src/glx/x11/glxextensions.c | 2 src/mesa/Makefile.DJ | 4 src/mesa/drivers/dos/blit.S | 845 ++++++++++++ src/mesa/drivers/dos/dmesa.c | 1428 ++------------------- src/mesa/drivers/dos/dpmi.c | 4 src/mesa/drivers/dos/internal.h | 36 src/mesa/drivers/dos/null.c | 8 src/mesa/drivers/dos/null.h | 4 src/mesa/drivers/dos/vesa.c | 800 +++++++---- src/mesa/drivers/dos/vesa.h | 22 src/mesa/drivers/dos/vga.c | 67 src/mesa/drivers/dos/vga.h | 4 src/mesa/drivers/dos/video.c | 343 ----- src/mesa/drivers/dos/video.h | 15 src/mesa/drivers/dos/virtual.S | 489 ------- src/mesa/drivers/dri/common/dri_util.c | 12 src/mesa/drivers/dri/common/dri_util.h | 2 src/mesa/drivers/dri/common/drirenderbuffer.c | 19 src/mesa/drivers/dri/fb/Makefile | 9 src/mesa/drivers/dri/i915/intel_batchbuffer.c | 61 src/mesa/drivers/dri/i915/intel_batchbuffer.h | 3 src/mesa/drivers/dri/i915/intel_context.c | 27 src/mesa/drivers/dri/i915/intel_screen.c | 4 src/mesa/drivers/dri/i915/intel_screen.h | 3 src/mesa/drivers/dri/i915/intel_span.c | 6 src/mesa/drivers/dri/i915/server/intel.h | 294 ++++ src/mesa/drivers/dri/i915/server/intel_dri.c | 957 ++++++++++++++ src/mesa/drivers/dri/r200/r200_context.c | 28 src/mesa/drivers/dri/r200/r200_context.h | 6 src/mesa/drivers/dri/r200/r200_ioctl.c | 56 src/mesa/drivers/dri/r200/r200_ioctl.h | 3 src/mesa/drivers/dri/r200/r200_sanity.c | 4 src/mesa/drivers/dri/r200/r200_state.c | 51 src/mesa/drivers/dri/r300/r300_context.c | 1 src/mesa/drivers/dri/r300/r300_context.h | 5 src/mesa/drivers/dri/r300/r300_fragprog.c | 2 src/mesa/drivers/dri/r300/r300_ioctl.c | 1 src/mesa/drivers/dri/r300/r300_render.c | 4 src/mesa/drivers/dri/r300/r300_state.c | 1 src/mesa/drivers/dri/r300/r300_tex.c | 25 src/mesa/drivers/dri/r300/r300_texmem.c | 12 src/mesa/drivers/dri/r300/r300_texstate.c | 16 src/mesa/drivers/dri/r300/radeon_context.c | 27 src/mesa/drivers/dri/r300/radeon_context.h | 2 src/mesa/drivers/dri/r300/radeon_ioctl.c | 78 - src/mesa/drivers/dri/r300/radeon_ioctl.h | 4 src/mesa/drivers/dri/r300/radeon_mm.c | 61 src/mesa/drivers/dri/radeon/radeon_context.c | 29 src/mesa/drivers/dri/radeon/radeon_context.h | 6 src/mesa/drivers/dri/radeon/radeon_ioctl.c | 54 src/mesa/drivers/dri/radeon/radeon_ioctl.h | 3 src/mesa/drivers/dri/radeon/radeon_sanity.c | 4 src/mesa/drivers/dri/radeon/radeon_screen.c | 24 src/mesa/drivers/dri/radeon/radeon_state.c | 50 src/mesa/drivers/osmesa/osmesa.c | 29 src/mesa/drivers/windows/gdi/mesa.def | 7 src/mesa/drivers/windows/gdi/wgl.c | 45 src/mesa/drivers/windows/gdi/wmesa.c | 803 +++++++---- src/mesa/drivers/windows/gdi/wmesadef.h | 47 src/mesa/drivers/x11/xm_api.c | 5 src/mesa/drivers/x11/xm_buffer.c | 9 src/mesa/drivers/x11/xm_dd.c | 7 src/mesa/drivers/x11/xm_line.c | 9 src/mesa/drivers/x11/xm_tri.c | 16 src/mesa/drivers/x11/xmesaP.h | 2 src/mesa/glapi/Makefile | 4 src/mesa/glapi/glX_proto_recv.py | 4 src/mesa/glapi/glX_proto_size.py | 2 src/mesa/glapi/glapi.c | 4 src/mesa/main/api_arrayelt.c | 5 src/mesa/main/buffers.c | 5 src/mesa/main/buffers.h | 6 src/mesa/main/context.c | 6 src/mesa/main/extensions.c | 4 src/mesa/main/fbobject.c | 7 src/mesa/main/fog.c | 24 src/mesa/main/framebuffer.c | 5 src/mesa/main/hint.c | 26 src/mesa/main/image.c | 1 src/mesa/main/matrix.c | 88 - src/mesa/main/mtypes.h | 15 src/mesa/main/state.c | 23 src/mesa/main/texenvprogram.c | 29 src/mesa/main/texformat_tmp.h | 58 src/mesa/main/texrender.c | 246 ++- src/mesa/main/texstore.c | 10 src/mesa/shader/arbprogparse.c | 9 src/mesa/swrast/s_depth.c | 5 src/mesa/swrast/s_triangle.c | 10 src/mesa/swrast/s_tritemp.h | 6 src/mesa/x86/assyntax.h | 2 windows/VC6/mesa/mesa.dsw | 23 windows/VC7/mesa/mesa/mesa.vcproj | 42 138 files changed, 5050 insertions(+), 3408 deletions(-) ---