Mesa (dri2-swapbuffers): 208 new commits

Kristian Høgsberg krh at kemper.freedesktop.org
Wed Jul 22 19:21:50 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff0e924d63be381ff0b9919d4fa95dfb8e548f94
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Wed Jul 22 07:20:52 2009 -0400

    Initialize pdp->validBuffers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15da2b30b689191f265c6913069c38c33aa806a9
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Fri Jul 17 03:30:29 2009 -0400

    DRI2: add SwapBuffers support

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04dd8b71b48f69fdcef9ad559b57e1e665695b64
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 16 18:45:10 2009 +0100

    draw: fix ppc build regression
    
    Found by x.org tinderbox, reported by Chris Ball.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e8832d24b116b14cf24b81c16e27162a38ffa9e
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 16 08:44:51 2009 -0600

    st/mesa: add some array index bounds assertions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=721f80b82ac1f1535f55367d921a2a292eb4898f
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jul 16 08:29:19 2009 -0600

    egl: Add xeglthreads
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=caf5d52d48aaed63f916ecd050c959eca401a75a
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 16 12:49:27 2009 +0100

    tgsi: simplify and fix sse KIL implementation
    
    Use sse_movmskps to extract the correct bits of the comparison result
    for use in updating the killmask.  Simplify some logic around
    identifying the set of necessary comparisons to make.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1ad38ad8e0243878ad1cf25f579a0a57e80a3ad
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 16 12:47:11 2009 +0100

    rtasm: export sse_movmskps

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3858f47994dd39b725533cf3cf1a495fbc0ee6e3
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 16 11:01:19 2009 +0100

    tgsi: initial texturing support on sse path
    
    Most obvious problem is drawpixels comes out blocky, but this may be
    an existing issue of KIL on the sse path.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a01383ff6ac87295a2c2bda45ddfac35530b0055
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 16 10:11:46 2009 +0100

    tgsi: make sse function callout mechanism more generic
    
    Take a list of arguments rather than hardcoding TEMP_R0.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebc4a9bf2eff7d2c0d89785e865a1df23733e64b
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Thu Jul 16 07:50:34 2009 +0100

    tgsi: reduce x86 reg usage in tgsi_sse generated programs
    
    Pass the tgsi_exec_machine struct in directly and just hold a single
    pointer to this struct, rather than keeping one for each of its
    internal members.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e3002b50fcedf3a6db1ac7394077bc3337ccda1
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Thu Jul 16 00:23:33 2009 +0100

    tgsi: no need to separately malloc input and output arrays
    
    Can now guarantee alignment in the initial allocation of the tgsi exec machine.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c202fe187cf7a08d60e23ce617a5820a8bc510fd
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Thu Jul 16 00:21:17 2009 +0100

    gallium: reduce recursive include of tgsi_exec.h
    
    A lot of draw code no longer needs to see this header.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fb702705a77df46074b9e09e9c5e5903036c732
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Wed Jul 15 23:59:55 2009 +0100

    tgsi: make function call code in tgsi_sse.c less opaque
    
    Explictly pass src and dst arguments (previously dst argument was also
    being used as a src).  Separate argument handling from the rest of
    the function call emit.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6175653d0bceedba1f599d27111bab14f312f134
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Wed Jul 15 23:44:53 2009 +0100

    gallium: proper constructor and destructor for tgsi_exec_machine
    
    Centralize the creation, initialization and destruction of this struct.
    Use align_malloc instead of home-brew alternatives.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a3b83e5112b725e22f05b32a273a2351b820944
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 15 13:25:32 2009 +1000

    radeon: update span reading micro tile code
    
    tested on r500 with zreaddraw with Z buffer in all 3 modes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd4ed25222987f80b720325204e300fd79f573cf
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 15 13:24:30 2009 +1000

    r300: emit z depth pitch reloc in preparation for tiling

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94d2a809f9cabf3821be9b0d2b11b26151ed3084
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 15 12:03:34 2009 +1000

    radeon: r300 fix span reading for macro tiled buffers.
    
    this uses the correct formula for macro tiled buffers for readback

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b17f041d12cfe9a34df43da93fc16e275a5c751
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 8 11:16:56 2009 +1000

    radeon: for tiling you really need to use GET/PUT VALUE not PTR.
    
    since the surfaces aren't linear you can't just use GET_PTR

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=868aa160745ed0b3f1a83353ef2f3a8fcb5d235e
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Wed Jul 15 10:40:16 2009 +0800

    i965: the offset of any branch/jump instruction is in unit of 64bits on IGDNG

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6f0e117a45a64464e49290ebc9f75b9a976070a
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 15 09:35:09 2009 +1000

    intel/radeon: add common metaops code.
    
    Move all the metaops to a dri_metaops file and port radeon/intel
    to use the new common meta ops code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=681ede8836746735fbb904edf89b076343507a8b
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 15 07:10:45 2009 +1000

    radeon: fix unsigned vs signed comparison in stencil code.
    
    This function takes a GLint not a GLuint, passing in -1
    breaks internally.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99d07d0f91ddd37926d08f4e7f10d55cac28d9a7
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 14 14:49:03 2009 -0700

    intel: Fix ClearDepth to not be affected by DepthRange.
    
    Fixes new piglit depthrange-clear.c test.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b677c40abbed358984491b8ad3fcecf4742b2823
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 14 14:30:12 2009 -0700

    intel: Set DepthRange in the metaops using RasterPos[2].
    
    RasterPos[2] is already sent through the window transform, which includes
    DepthRange handling.  So make DepthRange for the metaops a noop.
    
    Fixes a failure in oglconform depthrange.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5f63c403b767f9974e8eb5d412c012b8a69287f
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jun 2 07:47:20 2009 -0700

    Fix state flag dependencies for fixed function fragment program updates.
    
    I started looking into why _NEW_ARRAY punishes us, and while annotating
    dependencies noticed that a bunch of dependencies were missing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=374110bc9876365e8517175ecdb319be35e23016
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 14 11:51:17 2009 -0700

    intel: Flag _NEW_ARRAY state when doing array object binding in clears.
    
    This is just following bind_vertex_array()'s behavior.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e786ecbfb5ff6953d61d62099c8af445a6d99fb9
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jul 14 07:47:19 2009 -0600

    mesa: regenerated enums.c file

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b727150b1473d8cac7a8e6ad0b5112c486d93341
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Tue Jul 14 01:16:25 2009 -0700

    dri-st: Unbreak GL_EXT_blend_equation_separate.
    
    Since it has a dispatch table entry (for BlendEquationSeparateEXT,)
    can't omit it from this list. It'll still get disabled if the cap
    (PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set.
    
    Somebody that doesn't suck at GL (read: not me) should probably add
    this into progs/samples/blendeq or similar so we can test it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54cf63278ff28eb03503f649c46bf24437a1cbf8
Author: Patrice Mandin <patmandin at gmail.com>
Date:   Tue Jul 14 09:44:49 2009 +0200

    gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from default extension list

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33f56b4612e506999a2be8391ba82c0174afa1b3
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Jul 14 08:25:27 2009 +0200

    radeon: Differentiate 16 bpp destination formats.
    
    Fixes those formats in fbo_firecube.
    
    Only tested with r300, radeon and r200 compile tested only.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60e60bb3026a269fefe1cfd3312fdf3a7e4c595f
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Jul 14 08:00:49 2009 +0200

    radeon: Invert front face winding when rendering to FBO.
    
    Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'.
    
    Tested with r300, radeon and r200 compile tested only.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59155f70e701bc0b4fb816da991d6921f53b3bc7
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date:   Mon Jul 13 15:01:51 2009 -0700

    r300g: Small compile warning fixes.
    
    Signed-off-by: Corbin Simpson <MostAwesomeDude at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3f1d370a2eeb5ae69a9d59300820d3a2e86724c
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date:   Mon Jul 13 14:58:45 2009 -0700

    r300g, radeon: Whitespace fixes.
    
    Signed-off-by: Corbin Simpson <MostAwesomeDude at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca28e591f2cf62b2c20558bf4f310093067b6209
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Mon Jul 13 14:47:36 2009 -0700

    r300g: Use align() instead of inline maths.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9226e3d6a68e5e079456c5e7ba2a79e00a33bb89
Merge: 0dc700850acb81c7088ab740959441521f8d38d9 582bd3466514b9fe24f18d99af2945f02709aacd
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jul 13 20:29:11 2009 +0200

    Merge branch 'shaders_cleanup'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dc700850acb81c7088ab740959441521f8d38d9
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 9 18:02:42 2009 -0700

    intel: Partially fix fallback detection for glCopyTexSubImage.
    
    Really, we should be checking that the MesaTexFormat for the read buffer
    and the texture match, but the previous code wasn't even doing that, so
    matching the cpp should be an improvement (and potentially fix some hangs!).
    The previous code also rejected GL_RGB even though blitting the alpha
    channel to the ignored channel of an x8r8g8b8 texture should be fine, which
    tripped up compiz's blur plugin.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=582bd3466514b9fe24f18d99af2945f02709aacd
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 12 15:09:15 2009 +0200

    r300: always assume all components are read by fragment program
    
    Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors.
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f06910f6c34f199dc187bd69ff1f6889ba498217
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date:   Sun Jul 12 02:03:25 2009 +0000

    r300: Fix fogcoord rewriting
    
    We only care about the actual fogcoord itself now, reducing the rewriting
    done for the vertex program.
    
    The rewriting of source operand swizzles in the fragment program takes
    care that fogcoord.yzw = 001.
    
    This should fix fogcoord rewriting entirely, which had been horribly
    broken in the face of dot-product instructions, and just broken (though
    not horribly so) in the face of almost every other instruction (the W
    component would be incorrect for most arithmetic instructions).
    
    Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f5382819e31071c2af6cb39c1ca09bf3243f83f
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 19:10:58 2009 +0200

    r300: fix swizzle masking in getUsedComponents

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acd33600411102872af579edc4206b61eb51bb65
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:41:52 2009 +0200

    r300: minor fix
    
    Split initializations becase the vars are of different type.
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a5520fcd3842cc3198bff143d2af5c169eebc26
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:37:11 2009 +0200

    r300: move variables declarations

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3716eeb61b75dc661a1485f9bea9275a88a1d81
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:34:04 2009 +0200

    r300: document r300_vertex_program_cont structure
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0204ce456435f6ee38d8c14d25ae251940bf55f
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:26:23 2009 +0200

    r300: document r300_fragment_program_cont struct

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec854729d12a533ed00b9a9e6a5942aede2f5d1e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:16:11 2009 +0200

    r300: fix indentation
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48cc352a71c728e0ce092dd7d7ec0945db304907
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 15:53:01 2009 +0200

    r300: fix StrideB == 0 case when converting data format
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4eff323731b0d65e1f2817e96435807418d833cc
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 15:09:20 2009 +0200

    r300: hw can handle per component negations in vertex shaders
    
    Reported-by: Nicolai Haehnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4efb9f053c84fbdced373cc62fe06b3158b59015
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 03:17:32 2009 +0200

    r300: fix WPOS for SWTCL

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdc8a95fc906dcc617995479fbffbf8fdd1f4e34
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 23:38:59 2009 +0200

    r300: removed unnecessary params
    
    We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65d9f23c7c3e99dfe038b1306f96930e1228de11
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:34:48 2009 +0200

    r300: use NQSSADCE for vertex programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70448b9f95b4ca56526458d207a28727f71e8d3c
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 16:52:48 2009 +0200

    r300: operate on copy of a program when pairing instructions
    
    We need to keep unpaired program for vertex program NQSSADCE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12a6d73c7590c37ec8ae3f2c8c737791e4461d77
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jul 13 19:23:18 2009 +0200

    r300: handle relative addressing in NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96b2eb18c5059d441873bfa562bd2ff9dec46a51
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 15:22:22 2009 +0200

    r300: handle ARB_vertex_program specific instructions in NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e43cc28c1b6face903f3c977d6eb887335bec886
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 16:50:25 2009 +0200

    r300: move depth output rewrite out of NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79ef95df4f19124c24e59583bf9fb1e347d8f2b
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:32:51 2009 +0200

    r300: rewrite FOGC and HPOS attribs handling
    
    Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df5fe747fa08f63b949ba0fd6628060831b562ec
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:03:32 2009 +0200

    r300: bind vertex program to fragment program

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1e4caa6e2b6a1e20feb97ae51703d5b4b18f70b
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 14:57:42 2009 +0200

    r300: recalculate used inputs and outputs after dead code removal

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7360f83364b407e949529eeca9f8c421d2da3ded
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 13:17:35 2009 +0200

    r300: move fragment program selection before vertex program selection
    
    Prepare for wpos and fogc handling rewrite.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37c319f62f59d7750dd172034e43dfd489f572cc
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Fri Jul 3 20:14:24 2009 +0200

    r300: implement proper IsProgramNative check for vertex programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce224c1f108e6c8131dfc953ef607689b83ae7e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Fri Jul 3 20:06:23 2009 +0200

    r300: don't modify original vertex program
    
    Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7829b7a1b85dd8e6c31189e7f3dec91d71d134c3
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 13:26:49 2009 +0200

    r300: cache translated fragment programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28066ed012b51f2171866669a2972bc7ee293565
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 12:56:31 2009 +0200

    r300: update state parameters only once per rendering operation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21db37d43245f97032fa21030279c3b47c901639
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Wed Jul 1 18:43:14 2009 +0200

    r300: translate non native insts earlier for easier debugging

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b411a72f3cc3be7ecf9f4676d9860b2b56f084e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:52:39 2009 +0200

    r300: print vertex program after adding artificial output insts

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6899e080bbdb556926031345ef6a9fbe6d9ff2
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:48:35 2009 +0200

    r300: use mesa provided function for adding MVP code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b781ca2ce9cdf6c21eb5dda4709366b2581d17a
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:39:59 2009 +0200

    r300: simplify insert_wpos a little

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9615daa9324341f6a56932dc46b807f402d18283
Merge: bb4c70358778f28f644ae493b5d8163e76e9fddb 680f7d09b00fdec0dbe5e357639d6b445bb9266e
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul 13 08:47:37 2009 -0600

    Merge branch 'mesa_7_5_branch'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb4c70358778f28f644ae493b5d8163e76e9fddb
Author: Dave Airlie <airlied at linux.ie>
Date:   Tue Jul 14 01:22:17 2009 +1000

    radeon: port more front fixes from intel.
    
    Port fixes to read buffer from front.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=504d01b275169f019d375b4a8b5e935b9fd108d3
Author: Dave Airlie <airlied at linux.ie>
Date:   Mon Jul 13 23:41:32 2009 +1000

    radeon/r200: fix color masking under dri2
    
    Need to retrieve the bits from the rrb not from screen struct

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a79aefb1775ce6eaf0fd0cf9a1f72150f631c90f
Author: Dave Airlie <airlied at linux.ie>
Date:   Mon Jul 13 23:09:17 2009 +1000

    radeon: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.
    
    The _Enabled field isn't updated at the point that DrawBuffers is called,
    and the Driver.Enable() function does the testing for stencil buffer
    presence anyway.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9913d7c095487ebec6ce074d1ac4edbd96d260d
Author: Dave Airlie <airlied at linux.ie>
Date:   Mon Jul 13 23:02:54 2009 +1000

    radeon/fbo: stencil bits fix from Michel in intel fbo code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=680f7d09b00fdec0dbe5e357639d6b445bb9266e
Author: Peteri Andras <whysogreen at gmail.com>
Date:   Mon Jul 13 08:03:16 2009 -0600

    r128: fix two-sided lighting segfault seen in GLUT's olight demo

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=022e8e582ee408845bc622d56487b220b27df9a6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sun Jul 12 21:07:38 2009 -0700

    intel: Bump driver data, add RC3 tag

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2995bf0d68f1b28ba68b81e9dc79e3ab52bc2795
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Mon Jul 13 10:48:43 2009 +0800

    i965: add support for new chipsets
    
    1. new PCI ids
    2. fix some 3D commands on new chipset
    3. fix send instruction on new chipset
    4. new VUE vertex header
    5. ff_sync message (added by Zou Nan Hai <nanhai.zou at intel.com>)
    6. the offset in JMPI is in unit of 64bits on new chipset
    7. new cube map layout

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f030e2ba17a3b859d30017cfd990552d3af4bad3
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Jul 12 21:35:59 2009 +1000

    r300: move fallback warnings inside fallback debugging
    
    random output is bad

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfecf217fa0d7677bdd3445e32a7bb0d022a599b
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Jul 12 21:35:24 2009 +1000

    r300: fix clear mask to not use sw if not necessary

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b484c71036e0d0b30ac7685ba50a9008d09f5047
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date:   Sun Jul 12 11:18:43 2009 +0200

    radeon: Fix crash when rendering to incomplete texture and other formats
    
    It is possible to bind texture images of an incomplete mipmapped texture.
    Software fallbacks in this case incorrectly tried to mmap the entire texture.
    
    Additionally, add span functions for 1555 and 4444 formats.
    
    This fixes crashes in piglit's fbo-readpixels test; unfortunately, the test
    itself still fails - this needs to be investigated.
    
    Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a10244453c24d62cd87f8c4d85cbe103b62db311
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Jul 12 17:28:14 2009 +1000

    radeon: update clear code from Intel codebase.
    
    This updates some of the clear code from Intel gives a 5x clearspd perf
    for me here. played openarena also, not sure if the viewport changes
    broke anything,

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b06cb372bf59f06f51af40572917d4cd94346f90
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Jul 12 12:13:40 2009 +1000

    radeon: fbo fix firecube crashes
    
    it might still be misrendering not sure

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65059606e9a0039fc962869857c5f00a11d6b7cc
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Sat Jul 11 20:25:09 2009 +0200

    radeon: Fix scissor rectangle calculation when rendering to FBO.
    
    fgl_glxgears -fbo runs, though the gears don't look right yet.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c1307e7c55844f63f7bd7ac02c64f4b936f3c66
Author: Zack Rusin <zackr at vmware.com>
Date:   Sat Jul 11 13:48:41 2009 -0400

    gallium: compare the actual register, not all the inputs
    
    otherwise we decrement indexes for all registers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cff2126f522bb511216f64427b3060467e266f8a
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 16:26:09 2009 -0600

    tgsi: update some assertions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a79586ce180a77beb15f6a9b6a72d490ad6e6afd
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 15:44:48 2009 -0600

    tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
    
    Same story as in the tgsi_dump.c code (see prev commit).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f01af4dbd26bec433cde08d011a5101edd7d83be
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 15:41:26 2009 -0600

    tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
    
    Fixes TGSI dump output when front/back-face register is declared.
    
    Also, add some assertions to make sure the semantic/interpolate string
    arrays have as many elements as there are tokens in the p_shader_tokens.h
    file.  That should catch problems like this in the future.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=762c1d11ffbb5179e44117397559e7cc2dfe9cef
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 13:07:45 2009 -0600

    st/mesa: implement indirect addressing for destination registers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=baa7ff47d548cdcc1ea68657ee1b0500f78041be
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 13:07:16 2009 -0600

    tgis: implement indirect addressing for destination registers
    
    Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca1b71b78d9c31e9ea7ceed2542ec67f32e6e5c5
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 10 12:55:30 2009 -0600

    vbo: fix vbo/dlist memory leak
    
    Based on a patch by kristof.ralovich at gmail.com

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ff1a5385ee2a2f3c612254254bf5c1e4f4e593a
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 9 13:59:03 2009 -0600

    demos: set 4th component of texcoord to 1.0
    
    Avoid potential randomness in resulting texcoords.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db618427abab44939189c688e58ea7eca52f1795
Author: Dave Airlie <airlied at linux.ie>
Date:   Sat Jul 11 03:15:58 2009 +1000

    radeon: enable GL_NV_texture_rectangle under dri2.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85957cb512e74c8ddeb5ba2e06df091943ab8400
Author: Dave Airlie <airlied at linux.ie>
Date:   Sat Jul 11 03:01:52 2009 +1000

    radeon: set texture in state properly.
    
    make sure to turn off when no texture is used in hw

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6a11e1dc019ad54e0c4c9d1de46ca6ca48528c3
Author: Dave Airlie <airlied at linux.ie>
Date:   Sat Jul 11 03:01:04 2009 +1000

    radeon: make swtcl emit size bigger

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cade071d525f71069f635fd0b705e64d897b32c4
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Fri Jul 10 14:49:46 2009 +0200

    Remove stale reference to non-Gallium nouveau driver from configure.ac.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcd3572edf5eed47d87774150c2097e0d6245bd2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 22 18:22:51 2009 -0700

    mesa: From float type modifier from values to large for singles
    
    The values 2147483648.0 and 4294967294.0 are too larget to be stored in single
    precision floats.  Forcing these to be singles causes bits to be lost, which
    results in errors in some pixel transfer tests.
    
    This fixes bug #22344.
    (cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8987410ab6575048a7f7cbf27bb047d76ae46514
Merge: 7ccb00b1acacb57cefca1ae789246983ef4831d9 78af70be3727945d2d81a07b99d5a794f1114c05
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 9 08:05:56 2009 -0600

    Merge branch 'mesa_7_5_branch'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78af70be3727945d2d81a07b99d5a794f1114c05
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 9 08:04:07 2009 -0600

    docs: document gl_TextureMatrix[i][j] array indexing bug fix

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c86b0766681f986951e53ea852858eb8d6ce9e32
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 9 07:58:50 2009 -0600

    glsl: do const parameter optimization for array element actual parameters
    
    When a function parameter is const-qualified we can avoid making a copy
    of the actual parameter (we basically do a search/replace when inlining).
    This is now done for array element params too, resulting in better code
    (fewer MOV instructions).
    
    We should allow some other types of function arguments here but let's be
    conservative for the moment.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=abdb0fdcc05eb9ec87b3d5a3226c3c190e1fbbcd
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 9 07:57:29 2009 -0600

    glsl: fix incorrect indexing for gl_TextureMatrix[i][j]
    
    The two indexes were mixed up when accessing a row of a matrix in an array
    of matrices.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36e906aad6d0520db00cc5112fd015497465bc87
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 8 14:14:03 2009 -0600

    docs: document glMaterial/glShadeModel display list optimization

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4adc9b4a5be72e34d464ce341b011c42517d969a
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 5 16:21:20 2009 -0600

    mesa: only use fallback texture when using shaders, not fixed-function (take two)
    
    The semantics are a little different for shaders vs. fixed-function when
    trying to use an incomplete texture.  The fallback texture returning
    (0,0,0,1) should only be used with shaders.  For fixed function, the texture
    unit is truly disabled/ignored.
    
    Fixes glean fbo test regression.
    (cherry picked from commit 01e16befd4809e3e93ee7855a4a5d7df9fe010d9)
    (cherry picked from commit 51325f44d1e7e62b47795a79f8038d10dc5bc30b)
    [anholt: squashed these two together from master, skipping the mess in between]

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b861b9b9efdb3ac0dfc3806afcd494cd0ea006c
Author: Zack Rusin <zackr at vmware.com>
Date:   Tue Jul 7 12:48:50 2009 -0700

    gallium: fixup register indexes for fog/frontface/point coord

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71633abafc935c25da9731bab48c228ceb9b4097
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Jul 7 14:49:52 2009 +0200

    gallium: Fixes for clobbering stencil values in combined depth/stencil textures.
    
    Also fix one case where a 32 bit depth value was incorrectly converted to a
    combined depth/stencil value.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25b492b976632269dfa3de164545d50a53c090ce
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Jul 7 13:52:35 2009 +0200

    GLX/DRI1: Mark GLX visuals with depth != screen depth non-conformant.
    
    Such visuals are subject to automatic compositing in the X server, so DRI1
    can't render to them properly.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96601ec8e0e35d540c1819a48df7f08ec5874ab7
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Jul 7 12:17:04 2009 +0200

    gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer.
    
    Fixes potential crash when SwapBuffers is called but there's no back buffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4d952358d8fd0f9d135c91c37969acdcf394f0a
Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Jul 6 21:33:56 2009 -0400

    gallium: more fog extraction fixes
    
    fix the cases when fog coord/front face/point coord are used in the same
    shader.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fb4becf986872268af4ba3f62c0a85b41ef7e5d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jul 6 11:36:17 2009 -0700

    demos: Fix vsync checking in glxgears
    
    Of course glXGetVideoSyncSGI doesn't return the swap interval.  The feature
    only exists in the Mesa extension... which is the whole reason I created the
    Mesa extension!  Note that the Mesa extension allows drivers to default to a
    swap interval of 0.  If the Mesa extension exists, use its value.  Only
    consider the SGI extension when the Mesa extension is not available.
    
    Fixes bug #22604.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1068c15c61a6c76a2da04ed3ca136f0d49abed1d
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jul 6 18:23:37 2009 +0100

    wgl: Make the stw_framebuffer destructions threadsafe.
    
    Ensure no other thread is accessing a framebuffer when it is being destroyed by
    acquiring both the global and per-framebuffer mutexes. Normal access only
    needs the global lock to walk the linked list and acquire the per-framebuffer
    mutex.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f4167c8a215b561e5ad6eb58a8d875a5b8d8d6a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jul 6 17:40:08 2009 +0100

    wgl: Check for multiple threads before GET_CURRENT_CONTEXT.
    
    Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush
    the first thread context while still in use.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5470a67335dfd9afffb92ff6521a77519cda40d8
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jul 6 17:08:37 2009 +0100

    wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.
    
    According to
    http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx
    WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it
    can be masked out by the application.
    
    Also there were some weird bogus WM_SIZE 0x0 messages when starting
    sharedtex_mt which we don't get like this.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ccb00b1acacb57cefca1ae789246983ef4831d9
Merge: f742f2c0b308430da38f8eeddfed889f883615e9 4adc9b4a5be72e34d464ce341b011c42517d969a
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Sun Jul 5 04:14:41 2009 +0200

    Merge branch 'mesa_7_5_branch'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f742f2c0b308430da38f8eeddfed889f883615e9
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 8 13:59:03 2009 -0600

    demos: indentation fix

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=820436f97821b5e1774fda8daf86ea0dcc379186
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 8 13:58:30 2009 -0600

    demos: use glEnable/DisableClientState() for vertex arrays

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf71ece171305f80972f6e401442372618265fcb
Author: RALOVICH, Kristóf <tade60 at freemail.hu>
Date:   Sun Jul 5 16:29:44 2009 +0200

    glx: death to RCS tag

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67a43b2cfcc5ca4ce56fce0a2239048535add0f2
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 8 11:59:56 2009 -0700

    r300g: Remove VAP_CNTL_STATUS from invariant state.
    
    Seriously.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c737e57357ff002b5e3f8a981fed06b22853f568
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 8 11:55:27 2009 -0700

    r300g: Disable MSPOS registers for glisse's CS security checker.
    
    These will come back in someday, when we can properly use them.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=746140e215b86ec6eb9f10be45babe700f8e2e62
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Mon May 18 17:06:42 2009 -0700

    r300-gallium: Unify sampler and texture emit.
    
    They have to cross into each other's registers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aa38b2c2d80b67fe2eefe468f90aeb44bc20259
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 8 11:30:59 2009 -0700

    r300-gallium: Mipmap setup.
    (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e46d12d39498199e18be70826a2d36028c7b93f3
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 8 11:27:26 2009 -0700

    r300g: Add endian fix to vertex fetcher setup.
    
    As reported and initially tested by MrCooper.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce0f7954f883c94c793bf1b93699351defae34c5
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 8 11:26:52 2009 -0700

    gallium: Add endian detection to p_config.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=186d187ff7eebad58a18721878c5b23799e3f3d6
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 11:33:47 2009 +0200

    r300: fix regression introduced by ca13937ef97c7779f639dcfc95b3798a11de01bd
    
    Stride == 0 means that we value for first vertex should be copied to every other vertices (e.g. constant color).
    
    This fixes glean/vertProg1 and sauerbraten with enabled shaders.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95df7bfc03fc63152b241e65bce1f7c73bbf007b
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 16:17:12 2009 +0200

    radeon: fix copy and paste typo

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afd687b0dcf9ac842b4c4832247c6ffe5cc844b1
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 15:00:42 2009 +0200

    mesa/vbo: always recalculate min_index and max_index when splitting vertices

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb33c0ab8b3594f0b1d58534a13a26e3fb050cff
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Sat Jul 4 16:01:45 2009 +0200

    progs/tests: Use compressed texture in mipmap_comp_tests

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be64e66e5aeed83ebcd11ccfd5ff461e8145a850
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 7 15:10:21 2009 -0700

    intel: Fix flipped Y for glDrawPixels(GL_STENCIL_INDEX) to window system.
    
    Even after fixing bugs in this code, it doesn't make me feel any cleaner.
    Fixes piglit stencil-drawpixels.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdd7506f10d13018a9c71270eed5d3d295978081
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 7 13:39:29 2009 -0700

    intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=510c3bd7a1a8f6e350ca7b05ced1f0323098b2eb
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 6 16:47:57 2009 -0700

    i965: Remove BRW_NEW_INPUT_VARYING
    
    This state flag has been unused since the ffvertex_prog move to core.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=058e96916b1ee661dfc16052b79b3aa9fcb47690
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Feb 25 11:57:44 2009 -0800

    Cap array elements at 0 when passed an invalid pointer for an array object.
    
    Otherwise, a pointer greater than the size would underflow and give a large
    maximum element.
    
    Reviewed-by: Brian Paul <brianp at vmware.com> (previous version)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc6e02ce6210d6615af0058f1b57e7ee37a6527f
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Fri Jun 26 20:38:07 2009 +0200

    i965: fix fetching constants from constant buffer in glsl path
    
    the driver used to overwrite grf0 then use implicit move by send instruction
    to move contents of grf0 to mrf1. However, we must not overwrite grf0 since
    it's still used later for fb write.
    Instead, do the move directly do mrf1 (we could use implicit move from another
    grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't
    seem to make sense).
    I think the dp_READ/WRITE_16 functions may suffer from the same issue.
    While here also remove unnecessary msg_reg_nr parameter from the dataport
    functions since always message register 1 is used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c30f23c1231e8443e0880efa5326ccecf6eec034
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 6 21:44:13 2009 -0700

    i965: Remove bad constant buffer constant-reg-already-loaded optimization.
    
    Thanks to branching, the state of c->current_const[i].index at the point
    of emitting constant loads for this instruction may not match the actual
    constant currently loaded in the reg at runtime.  Fixes a regression in my
    GLSL program for idr's class since b58b3a786aa38dcc9d72144c2cc691151e46e3d5.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28471cfa970702128d822c2ecbb1703eedbca245
Merge: 9982821cdaf2205443c6297368eaab4115bf92f6 71633abafc935c25da9731bab48c228ceb9b4097
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Sat Jul 4 07:43:01 2009 +0200

    Merge branch 'mesa_7_5_branch'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9982821cdaf2205443c6297368eaab4115bf92f6
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Sat Jul 4 07:40:34 2009 +0200

    progs/tests: Tests more views in mipmap_comp_tests

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edb02671704aeb60e3eeaa7f58c73f4845c5b7e2
Merge: 124a6b1958c630ea049025e2b72547096fdc8f2c 54324d9e0c6956bdc7bc9b0620fe53c8e6b66a04
Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Jul 6 21:43:26 2009 -0400

    Merge commit 'origin/openvg-1.0'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=124a6b1958c630ea049025e2b72547096fdc8f2c
Author: Zack Rusin <zack at kde.org>
Date:   Tue Jun 23 19:12:46 2009 -0400

    gallium: rearrange some members to avoid memory holes/padding
    
    plus it saves us a cacheline in the cso

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5920b6b67988fc3977f43b39d8546cc20247bf31
Author: Zack Rusin <zack at kde.org>
Date:   Sat Jun 20 21:36:40 2009 -0400

    pipebuffer: handle possible null pointer dereference
    
    reported by clang static analyzer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f311893bf4cd4e20e5b43fa404c4a2f656791943
Author: Zack Rusin <zack at kde.org>
Date:   Sat Jun 20 21:25:47 2009 -0400

    cso: possible null pointer dereference
    
    reported by clang static analyzer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4873031e29e0e8f654f78307e6ec885e68a54d86
Author: Zack Rusin <zack at kde.org>
Date:   Sat Jun 20 21:19:57 2009 -0400

    util: fix possible null pointer usage
    
    found by the clang static analyzer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21cce6afb03bf9b9adfc6d8a1a446bb3ef22c7a8
Author: Zack Rusin <zack at kde.org>
Date:   Mon Jun 8 00:07:04 2009 -0400

    exa: some infrastucture work for accelerating composite

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d66de6c341a859a30ef010c527f9a0c5865b5d65
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 6 20:35:15 2009 +1000

    radeon: ensure cmdbuf space for state + AOS is available
    
    The problem is if we find out later we don't have any cmdbuf space but
    we've already written the arrays to the DMA buffer object, we end up
    emitting the current cmdbuf which has references to the current DMA object
    we then send that to the hw and we can't reference the arrays we just emitted
    to the old DMA buffer. things go bad, crash boom.
    
    This can probably be tuned further + swtcl probably needs some fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7266e33abd9723fcec47933ed9ff4132abbd6eba
Author: Dave Airlie <airlied at linux.ie>
Date:   Mon Jul 6 17:46:36 2009 +1000

    r200: fix makefile

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f110c5fd6e762a0166c44d7446c4c3fdc434f42a
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 6 15:50:24 2009 +1000

    radeon: fixup FBO depth 24 allocations to avoid assert

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c27f21f92d2cf9d23a9edb15d144eceb9ff383bc
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 6 14:15:00 2009 +1000

    radeon/r200/r300: port to new space checking code in libdrm
    
    This moves a big chunk of the space checking code into libdrm so
    it can be shared by the DDX.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=645bfa32c9b330f7f4dba1126604b7ddb28f9dce
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sun Jul 5 11:56:40 2009 -0700

    radeon-gallium: Compile warning fix.
    
    Fixes flush during validation, in case a buffer is double-validated.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8e0d55ac6e7fcb778a8e884e27b84dba10fa5db
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sun Jul 5 11:55:47 2009 -0700

    radeon-gallium: Use FLINK to do proper global buffers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df04e72d25cfcc5aaa574949b8634bc564df0644
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sun Jul 5 11:29:13 2009 -0700

    radeon-gallium: Wait for BOs before mapping them.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fff62ee3fdbfe7d8ba15d3ad001f9afd120c307
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 19:50:39 2009 +0200

    r300: fix vertex limits
    
    - don't limit vertex count if we are using indices
    - max indices count is 65535 not 65536
    - remove some comments that don't apply anymore
    - remove unreachable code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=862488075c5537b0613753b0d14c267527fc6199
Merge: 060c7f2321f72503c14f9f3f7bb27d59d8a90224 94e1117c9ba259665cd8e790369dcd4c789a2f93
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Fri Jul 3 18:53:58 2009 +0200

    Merge branch 'mesa_7_5_branch'
    
    Conflicts:
    	src/mesa/main/dlist.c
    	src/mesa/vbo/vbo_save_api.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94e1117c9ba259665cd8e790369dcd4c789a2f93
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Fri Jul 3 17:50:15 2009 +0200

    intel: Also update stencil bits in intel_update_wrapper().
    
    Fixes assertion failure when binding depth/stencil texture to FBO stencil
    attachment.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f580494bef54bb53a34f2798de15f0227f512b76
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Jul 3 16:40:03 2009 +0100

    progs: revert damage to progs/SConscript from recent compressed texture commit

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b928d18398330d862ab162f687e224b93932824c
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Jul 3 14:26:26 2009 +0100

    mesa/shaders: fix gl_NormalMatrix state parameters
    
    gl_NormalMatrix is the inverse transpose of the modelview matrix, but
    as every matrix here needs to be transposed, we end up with
    {MODELVIEW_MATRIX, INVERSE}.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa98575ebb97bc38cf40acd3d78b72ee49f7b86b
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Jul 3 10:37:14 2009 +0100

    st/wgl: don't advertise WGL_EXT_swap_interval string
    
    This is a tweak to a previous fix -- it's not necessary to actually
    advertise this extension to prevent these games from crashing -- they
    ignore the extension string anyway. It's sufficient to just have
    GetProcAddress return some dummy function addresses for SwapInterval.
    
    Given we don't really implement this funcitonality, this is a better
    fix.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cffe7c8bd0397f8d54e2da16a21c7db4345766b8
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Jul 3 14:21:55 2009 +0100

    wgl: Lookup framebuffers by HWND whenever possible.
    
    Some applications create several HDCs for the same window, so spite the WGL
    API is geared towards HDCs it is not reliable searching by HDC.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=060c7f2321f72503c14f9f3f7bb27d59d8a90224
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Fri Jul 3 12:44:19 2009 +0200

    radeon: Wait for BO idle if necessary before mapping it.
    
    Fixes fighting between GPU and software rendering with TTM.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b2461fec905b7dc25ad051d602b440503f544ea
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Fri Jul 3 12:44:02 2009 +0200

    r300: Guard debugging output.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ae02a3919bf31bd33f86208472e100eedb58497
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 2 19:21:22 2009 -0700

    intel: Fall back on glBitmap with fog enabled.
    
    We would have to build the program with the appropriate fog mode, and
    also supply the fog coordinate if appropriate.
    
    Bug #19413.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae1bfb6427cc10a851c80e020cbdc210fe238d85
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 2 18:02:44 2009 -0700

    intel: Flush when mapping buffer objects so writes don't get reordered.
    
    While GEM covers this for execution it knows about, it doesn't know about
    the batchbuffer we're preparing.  Fixes piglit vbo-map-remap.c testcase.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a0b570ab64169cee66f848d97d65f22c43d13ec
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Jul 2 16:31:24 2009 -0700

    vbo: If MapBufferRange fails, try MapBuffer instead.
    
    Fixes segfaults with radeon winsys.
    (Probably libdrm_radeon doing something that it shouldn't.)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa5b9c050f13a7ca57a7a059eb2b7ed78cc6b636
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Jul 2 09:21:56 2009 -0700

    Nuke old trace-drm integration.
    
    AFAICT nobody will miss it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d66f23c50ebe8f973757b6fd1b81c9b7920c447
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 2 13:30:20 2009 -0700

    intel: Fix leak of DRI option info due to using the wrong free routine.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddef7dc87b2001fbe117ee5f24a0c645ee95a03c
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 2 13:19:11 2009 -0700

    intel: Clean up leak of driver context structure on context destroy.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb4ef34214d61fb48bdff689a85ea107060e061b
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 1 17:08:16 2009 -0700

    intel: Init num_fences to clean up valgrind warning.
    
    Valgrind doesn't know that a successful getparam sets the target of the
    pointer, so just set the value beforehand.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a2236606fd6ae473a2f4db6ef6d3d5030261316
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jul 2 17:24:25 2009 +0100

    mesa: Assume depth textures have a single level unless told otherwise.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=588c8625714c744047dd1d710d87b1dfcec48db7
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 2 14:43:16 2009 +0100

    mesa: s/TRUE/GL_TRUE
    
    Fix compile breakage on Linux.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1c8a0a30860ab6cd4a50582972fb185766595bd
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Jul 2 15:05:51 2009 +0200

    r300g: Readd trace driver support

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59abfa8e42599a8c6c11db841ec527826cdcb717
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Jul 2 15:05:17 2009 +0200

    i915g: Readd trace driver support

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0d7502a2cf994e635f1383f523653b92f4bd709
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Jul 2 14:57:55 2009 +0200

    trace: Add drm api integration
    
    	This is okay since drm_api.h doesn't have any external
    	dependancies, one could make it only compile on platforms
    	that support drm.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=798cd2a98d66a1b841930e121676ae1a8f9fb244
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 2 13:28:20 2009 +0100

    glapi: ensure _mesa_lookup_prim_by_nr() is not clobbered on regeneration
    
    Propogate changes to enums.c back up to the python source.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1668a679c4aadb37f5af0d6126c414fb9fbbf748
Merge: b3e8e1cd4c1584f735e35914861ae2e8ae5b6b2b 1fa4cde757cc94c0afa40d855309911247974e98
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 2 13:29:46 2009 +0100

    Merge commit 'origin/dlist-statechange-shortcircuit' into mesa_7_5_branch
    
    Conflicts:
    	progs/trivial/Makefile
    
    Pull in a minimal version of statechange shortcircuiting in display
    list compilation.  This affects only glMaterial and glShadeModel state,
    and includes quite a few tests to exercise various tricky cases.
    
    If this goes well, will consider extending to all state in the future.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54ee188a00e31d239cbd256e7ba5ffd2c1259650
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jul 2 20:57:45 2009 +1000

    radeon/r200/r300: drop radeon renderbuffer private width/height
    
    half stealing the code without taking the intel regions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ed3eddf9a828f2ff6c74b0913ca37fb60672950
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jul 2 20:44:30 2009 +1000

    radeon/r300: use base width/height.
    
    I suspect this might break TFP in some way but it makes firecube run here

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3e8e1cd4c1584f735e35914861ae2e8ae5b6b2b
Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 2 11:28:56 2009 +0100

    mesa: ensure UsesFogFragCoord value is set for non-glsl shaders
    
    With recent changes to support frontfacing in glsl, it is necessary
    to ensure that the UsesFogFragCoord value is accurate in all shaders.
    We were previously not setting it for fixed-function and ARB_fs shaders.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73137997e23ff6c1145d036315d1a9ad96651281
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Thu Jul 2 16:32:19 2009 +0800

    i965: fixes for JMPI
    
    1. the data type of <src1> (JMPI offset) must be D
    2. execution size must be 1
    3. NoMask
    4. instruction compression isn't allowed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96ef7aae1d58db2cbc2e46347aa87c34126983ef
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 1 23:25:47 2009 -0700

    r300g: Fix recursive Draw flush.
    
    Also just noticed that demos/copypix walks around the overlapping blit rules.
    
    Bad, bad Mesa. :3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8799a9d24d3d409bb2b587f2c10f2ddae200c114
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 1 23:09:18 2009 -0700

    r300g: Use floats for surface_copy texcoords, use correct src and dest.
    
    This makes demos/copypix better-looking. Horizontal dimensions are right now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=338db0af61910be9c9990ef1cda2166c3de17b78
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jul 1 22:33:17 2009 -0700

    radeon-gallium: Adapt to drm_api changes.
    
    Note that trace debugging is temporarily gone. I'll rework it later.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fa4cde757cc94c0afa40d855309911247974e98
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 19:52:44 2009 +0100

    mesa/vbo: fix compile and replay of nodes ending in a FALLBACK
    
    Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in
    the case of a recursive CallList which is itself within a Begin/End pair,
    there two problems:
    1) The display list node's primitive information was incorrect, stating
    the cut-off prim had zero vertices
    2) On replay, we would get confused by a primitive that started in a
    node, but was terminated by individual opcodes.
    
    This change fixes the first problem by correctly terminating the last
    primitive on fallback, and the second by forcing the display list to
    use the Loopback path, converting all nodes into immediate-mode rendering.
    
    The loopback fix is a performance hit, but avoiding this would require
    a fairly large rework of this code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70ae7ba818e9d8a5485653b258e76f06c988654c
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 18:40:20 2009 +0100

    mesa/dlist: fixes and improvements for material caching
    
    Only short-circuit material call if *all* statechanges from this call
    are cached.  Some material calls (eg with FRONT_AND_BACK) change more
    than one piece of state -- need to check all of them before returning.
    
    Also, Material calls are legal inside begin/end pairs, so don't need
    to be as careful about begin/end state as with regular statechanges
    (like ShadeModel) when caching.  Take advantage of this and do better
    caching.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c48c01c9e7d6d0a43883b7b3333ad42208ea9d44
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 18:35:17 2009 +0100

    progs/trivial: add dlist-mat-tri.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ca836f0de7ac23a3d66e109eeda3c2e29b9b17c
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 18:17:39 2009 +0100

    progs/trivial: add test case for short-circuiting material changes
    
    Similar to dlist-tri-flat-tri, but using glMaterial calls, which
    have the extra property of being legal within Begin/End calls.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6c2347d79c50ac18eab96378d79d989f3ffd0b7
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 17:10:56 2009 +0100

    mesa/dlist: don't cache state which may not be replayed on CallList
    
    Statechanges which occur before the first End in a display list may
    not be replayed when the list is called, in particular if it is called
    from within a begin/end pair.
    
    Recognize vulnerable statechanges and do not use them to fill in the
    state cache.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09a3a28fc8f1ed931304bf27a56fe72768d7861e
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 17:06:50 2009 +0100

    progs/trivial: add dlist-flat-tri.c
    
    State-change functions which precede the first call to glEnd() in
    a compiled list are vulnerable to not being executed when that list
    is called.
    
    In particular this can happen if a list is invoked from within a
    begin/end pair, as in this example.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e91d035b9ef65adda39c8b164afa363477d7893
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 17:04:11 2009 +0100

    mesa/dlist: invalidate cached dlist compile state after CallList
    
    When compiling a display list containing a CallList, it is necessary to
    invalidate any assumption about the GL state after the recursive call
    completes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e570be85211f603b820dd2c5e9aa2f29a51fc66
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 17:02:16 2009 +0100

    progs/trivial: add dlist-recursive-call
    
    When one display list calls another display list, it is possible
    that the calling display list makes state-changes or other actions which
    invalidate any attempt at caching or state-change elimination in the
    calling list.
    
    This test exercises one such case, where the called list consists of just
    a single glShadeModel() call.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1730eaa2a2454018b4907df2f2bda3c4455137ca
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 16:57:21 2009 +0100

    dlist-tri-flat-tri: make tri render differently if flatshade not enabled
    
    When testing flat-shading, it helps to specify per-vertex colors so
    that you can distinguish between flat & smooth shading.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4147bb24d49a10498e00039fc1dc9aa5f1316777
Merge: 53f8dccd0c9ab0b55e24dd5d624bbaaf0c8c284b 6af783bea0e171582f86c8456ca521ac242abc39
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 16:28:37 2009 +0100

    Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuit
    
    Need this to pick up fixes for per-vertex materials.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6af783bea0e171582f86c8456ca521ac242abc39
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 16:19:23 2009 +0100

    progs/trivial: add test case for lighting plus per-vertex materials
    
    Exercise material-within-begin/end case.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9ae89d104161c1052beda7e3dcb21b8b7af5ba3
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:07:21 2009 -0700

    progs/isosurf: add materials mode for glVertex + TRISTRIP

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dfb89e4a09a269cbd5c4dc725881fbd42eaa18a
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:04:06 2009 -0700

    mesa: remove whitespace

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cea259f0392766e8a2e4749c6d5277d866abbc3b
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:03:46 2009 -0700

    mesa: remove dead constant pointsize code from ffvertex_prog.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79047cc1ddf0332e5b64c9f05a19885cc36c76ae
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:03:02 2009 -0700

    mesa: remove dead vertex fog code from ffvertex_prog.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6c8ca06f649ae1367f61eca6fb7635862bd5584
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:01:55 2009 -0700

    mesa: fix material inputs in ffvertex_prog.c
    
    Varying material inputs were not being picked up from the same slots
    where the VBO code is currently placing them (GENERIC0 and above).
    Most often they were just being ignored.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=578230dbbffbf5317d6002d1023dcd62b57186f5
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Tue Jun 30 13:59:45 2009 +0200

    st/gl: Add stubs for CompressedTexSubImage[1D|3D]

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4fd94a54a75a3418462c30f1240ab50b5f24090
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Tue Jun 30 07:33:54 2009 +0200

    st/gl: Add support for glCompressedTexSubImage

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba7f45ac0ca3debb2a250d5e945a2d70b2b72d08
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Tue Jun 30 13:34:55 2009 +0200

    progs/tests: Add tests for glCompressedTexSubImage

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2de2d5f376a868f68a053257f7d6dfcdee6c8ae
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jul 1 19:09:44 2009 +0100

    util: Increase OutputDebugStringA to 4k.
    
    According to http://unixwiz.net/techtips/outputdebugstring.html that's
    how big the buffer is.
    
    The 512bytes limitation is in kernel mode.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2a8ef4430e153589a9d1a284c8f2005a4a98410
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jul 1 19:06:54 2009 +0100

    mesa: Unbind depth/stencil surface from pipe_framebuffer when none is attached.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c913411d39fd68eee1c1eeee7b6e81db9785fd1
Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Jul 1 17:34:38 2009 +0100

    st/wgl: dummy implementation of wgl swapinterval extension
    
    Required as some applications
    retrieve and call these functions regardless of the fact that we
    don't advertise the extension and further more the results of
    wglGetProcAddress are NULL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c04731b8721850b6abb12a43a3eec616b850e86
Author: Zack Rusin <zack at kde.org>
Date:   Wed Jul 1 10:42:58 2009 -0400

    gallium: fix the front face semantics
    
    mesa allocates both frontface and pointcoord registers within the fog
    coordinate register, by using swizzling. to make it cleaner and easier
    for drivers we want each of them in its own register. so when doing
    compilation from the mesa IR to tgsi allocate new registers for both
    and add new semantics to the respective declarations.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8c4663c11cfbb80ed23b1581cf1f3ccaef28bce
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jul 1 10:03:59 2009 +0100

    wgl: Optimize wglGetProcAddress.
    
    Do linear search only if prefix matches.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c72261f2a886e1f53025c2cf4b38b33ccfd62857
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jun 29 18:48:27 2009 -0700

    i915: Fix assertion failure on remapping a non-BO-backed VBO.
    
    Failure to set the obj->Pointer back to null tripped up the assertion.
    Bug #22428.
    (cherry picked from commit 57a06d3a48c9af1067ec05e3ad96c58f4b9b99be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57955451f80c64f70e369508705ae95a515d18d8
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Sun Jun 21 11:58:25 2009 +0100

    xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAY
    
    Fix xdemos which default to using display :0.0 to default to $DISPLAY,
    this is kind of irritating when testing on a display other than :0.0
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5cb11addad31f698dc8261e7f96d5e3af4a85d6
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 19:52:44 2009 +0100

    mesa/vbo: fix compile and replay of nodes ending in a FALLBACK
    
    Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in
    the case of a recursive CallList which is itself within a Begin/End pair,
    there two problems:
    1) The display list node's primitive information was incorrect, stating
    the cut-off prim had zero vertices
    2) On replay, we would get confused by a primitive that started in a
    node, but was terminated by individual opcodes.
    
    This change fixes the first problem by correctly terminating the last
    primitive on fallback, and the second by forcing the display list to
    use the Loopback path, converting all nodes into immediate-mode rendering.
    
    The loopback fix is a performance hit, but avoiding this would require
    a fairly large rework of this code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53f8dccd0c9ab0b55e24dd5d624bbaaf0c8c284b
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 12:20:24 2009 +0100

    progs/trivial: test case for dlist statechange elimination
    
    Creates a display list with redundant call to glShadeModel.
    
    View dlist contents with MESA_VERBOSE=list

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00438bb94a9ee03f8a4d5472d7ae598fcbdb1572
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 12:19:11 2009 +0100

    mesa/dlist: restore missing SAVE_FLUSH_VERTICES in save_ShadeModel
    
    Reorganization of ShadeModel to avoid flushing vertices too often
    ended up never flushing vertices due to omitted line of code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0846c88ec3a63ac5e4096aedcdc107cbe71f306b
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 12:16:41 2009 +0100

    mesa/vbo: use _lookup_prim_by_nr for debugging
    
    Switch over to specialized enum lookup for primitives

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa688d1579776494640475f4a5b93f3d7fae4fcd
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 12:13:50 2009 +0100

    mesa: add debug printer for primitive name
    
    Add a simple version of _mesa_lookup_enum_by_nr() which expects a primitive
    enum (GL_POINTS..GL_POLYGON).  This avoids some annoying duplicates
    when looking up primitives, such as the GL_FALSE/GL_POINTS clash.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d24160a404b946e5eb21329117c7f128d93a4e2
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jun 29 10:32:04 2009 -0600

    progs/glsl: link with GLEW library
    (cherry picked from commit b1f2f92d9b2d190d39fb1b5c919c59c9539a025a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47173cf67f0ed55012b0820397f6d620d8ad4473
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun 30 09:55:33 2009 +0100

    mesa/dlist: shortcircuit some redundant statechanges at compile time
    
    Currently, state-changes in mesa display lists are more or less
    a verbatim recording of the GL calls made during compilation.
    
    This change introduces a minor optimization to recognize and eliminate
    cases where the application emits redundant state changes, eg:
    
      glShadeModel( GL_FLAT );
      glBegin( prim )
      ...
      glEnd()
      glShadeModel( GL_FLAT );
      glBegin( prim )
      ...
      glEnd()
    
    The big win is when we can eliminate all the statechanges between two
    primitive blocks and combine them into a single VBO node.
    
    This commit implements state-change elimination for Material and ShadeModel
    only.  This is enough to make a start on debugging, etc.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9014f475ff6720b694ba28906ebfe7e77795b173
Author: Keith Whitwell <keithw at vmware.com>
Date:   Mon Jun 29 16:07:14 2009 +0100

    progs/util: make sure function pointers are initialized
    
    Call Init() from CompileShaderFile, was previously only called for the
    Text version of this function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54324d9e0c6956bdc7bc9b0620fe53c8e6b66a04
Author: Zack Rusin <zackr at vmware.com>
Date:   Fri May 1 19:08:32 2009 -0400

    vg: remove a silly demo and add a bit better one

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6318ba8a856c5a61c402fce43c3fa56c414064a
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 1 11:37:09 2009 -0600

    docs: asst updates to openvg.html

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=544dd4b11f7be76bb00fe29a60eaf2772dcc69ca
Author: Zack Rusin <zackr at vmware.com>
Date:   Fri May 1 12:41:38 2009 -0400

    OpenVG 1.0 State Tracker
    
    Import of the OpenVG 1.0 state tracker for Gallium.




More information about the mesa-commit mailing list