Mesa (gallium-xlib-rework): 60 new commits

Keith Whitwell keithw at kemper.freedesktop.org
Sun Jan 11 16:19:38 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e37a3aed95ea91a7ddbabc4bed1fac7c451fe695
Merge: 61e843ff4bf9b9e8c4a7a8a485cee852a4f1dd86 83a525af95bbb8012b9d7ee6b766621d6bb2d701
Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun Jan 11 16:19:21 2009 +0000

    Merge commit 'origin/gallium-0.2' into gallium-xlib-rework

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83a525af95bbb8012b9d7ee6b766621d6bb2d701
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 22:32:11 2009 -0700

    cell: use tgsi_dump_instruction() instead of spe_comment()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2acf07983f8bb134d639c9e652e7e0e3307e20f3
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 22:03:48 2009 -0700

    gallium: use tgsi_dump_instruction() instead of ppc_comment()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4394bb768f17ac6a7e99116f2bc79c40dca3c5b
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:51:22 2009 -0700

    gallium: remove unused struct type

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c71313970be3d097814839577cd141d46666783
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:48:54 2009 -0700

    gallium: fix register clobber bug in TGSI->PPC codegen
    
    When negating a src vector that's stored in a altivec register, need to put
    negated value into a new register so we don't upset the original value.
    This solves the dark colors in the mandelbrot GLSL demo.
    Also, use new predicate functions to check if a TGSI temp is stored in
    an altivec register.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1922ea965ac5c411cf5a3ed0ac7c8dbb873dba6c
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:46:08 2009 -0700

    gallium: emit comments in TGSI->PPC codegen

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ebd969f0f0d0e45e6ac462059cf322f037775f1
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:42:58 2009 -0700

    gallium: code to dump/debug PPC code (disabled)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7acaeb87750226e7407908bc2dfa9989049202fa
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:42:17 2009 -0700

    gallium: added comment/annotation support to PPC rtasm

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fba6dac380ed7db17c7f329d03fd5bcfae9c6aaf
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 21:00:15 2009 -0700

    cell: added rule to produce .s assembly files

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b26a92cd34f8d83cc0ae621d1cfeb3955de57fa
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 9 20:57:14 2009 -0700

    gallium: s/false/FALSE/

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cee4b8d7ec8d9ab6cb04572a2203e2cff64c667
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Jan 10 14:11:30 2009 -0500

    mesa: Update .gitignore

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b03cd4ea744c32f3f553f7af21c0241926998c8
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Jan 10 14:09:59 2009 -0500

    nouveau: Update nv30 swizzling.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ee238be7587a232beeb56b1dc3b75e1b8fb903e
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Jan 10 13:30:29 2009 -0500

    nouveau: Factor out common winsys bits into libnouveaudrm.a

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=734b3cb182b4b7d1075faf60c1a23ab0a55af356
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 20 17:37:24 2008 -0500

    g3dvl: Use Gallium thread wrappers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e9c3efcc783cee46268cc227234ed118f0cc08b
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 20 17:09:55 2008 -0500

    g3dvl: Use Gallium MALLOC wrappers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db1021a37c29a60c70ce294077680ca3e98a6460
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 20 16:31:29 2008 -0500

    g3dvl: Get rid of old unbuffered motion compensation code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c1b790c313b46e16640d25a93d165646454d3d6
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 20 16:30:33 2008 -0500

    g3dvl: Map vertex bufs once per frame/flush.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9beb004885ab5be652bcb733a5fd9ee729f89921
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 20 14:42:29 2008 -0500

    nouveau: Catch some more leaks.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c10db52fcdaf1e21699fa681b701f224b1410990
Author: Younes Manton <younes.m at gmail.com>
Date:   Thu Dec 11 23:04:51 2008 -0500

    g3dvl: Fix some memory leaks.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87e39466dc49e033c4075f99343856637611b438
Author: Younes Manton <younes.m at gmail.com>
Date:   Thu Dec 11 18:05:59 2008 -0500

    g3dvl: Allocate one set of bufs, let winsys rename them as necessary.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af2a856caa84755d3b1a0a887d000ce7dc3221dd
Author: Younes Manton <younes.m at gmail.com>
Date:   Thu Dec 11 17:55:16 2008 -0500

    nouveau: Add busy() query, determines if BOs can be mapped immediately.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7289c388f442fe532de52058f9167bc331920b1a
Author: Younes Manton <younes.m at gmail.com>
Date:   Sat Dec 6 15:45:00 2008 -0500

    nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e1301ec8f7bc865b8a81214928e5267393cb8e7
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:27:35 2008 -0500

    g3dvl: Expand YCbCr to full RGB range by default.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cbcdd86d08b743d443fb0c6e5316632a4b4f99b
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:27:10 2008 -0500

    g3dvl: Work around mplayer weirdness in XvMCPutSurface().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebd38dd0d63151d6ee89f98af3450b3b9c4fa1f4
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:26:47 2008 -0500

    g3dvl: Flag textures holding incoming data as dynamic.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34c0281879b589dc42d134a10349eac66c7b2f0d
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:26:07 2008 -0500

    nouveau: Put dynamic textures in GART for CPU access and don't swizzle.
    
    Also flag shadows as dynamic since they're for CPU access as well.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbf418d9dc0aa2965ca7673ae20f6e47c4a53c8a
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:22:56 2008 -0500

    gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.
    
    Knowing how the client intends to use the texture will give the
    driver the opportunity to optimize for such cases.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72aa42e59468817798484defe5b3f6dfec0d33e3
Author: Younes Manton <younes.m at gmail.com>
Date:   Fri Dec 5 02:21:55 2008 -0500

    nouveau: Swizzle textures larger than nv04 SIFM limit in parts.
    
    Limit of SIFM on nv40 is 1024x1024, not sure about others.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7844b4e730604e613a88f536c4aeee5c02d300fd
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Jan 9 19:08:56 2009 +0000

    draw: Add missing include.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61e843ff4bf9b9e8c4a7a8a485cee852a4f1dd86
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Jan 9 17:52:06 2009 +0000

    xlib: move state tracker to glx/xlib
    
    Also, remove makefile hacks.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=834c93687f4dcdba31725dca1fe238e62ac91f8d
Author: Alan Hourihane <alanh at vmware.com>
Date:   Fri Jan 9 11:23:47 2009 +0000

    st: build fix

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffe7bda603132e95f4d8a4de369bd3134d51b455
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 17:21:20 2009 -0700

    mesa: 7.3-rc-1 Makefile changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4441e0a7b2b567dca3b3d45e7c6cffec64d48359
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 17:20:41 2009 -0700

    mesa: latest glxext.h header, no version change

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=258c55db110a412060fc6afea930ea0febb7ab94
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 17:20:18 2009 -0700

    mesa: import glext.h version 44

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd03d9bdbbe39a4fcfb49c02bbd5304c054743f5
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 17:19:51 2009 -0700

    docs: dri2proto, libdrm tweaks

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=233a58ff565f0cc31345fe36bd8d9b929fdc9ace
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 17:07:28 2009 -0700

    glsl: fix typo in the vec2 += operator function

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f75910e9b781ba912bee791ba938d744c1d8f4f5
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 16:16:36 2009 -0700

    mesa: set version string to 7.3-rc1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da37940973110b8e64cd10d2f5f1d0ea8c81163f
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 16:14:19 2009 -0700

    docs: more 7.3 doc updates

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=178f1ff486bcff2b318dc346235a9758875faa13
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 16:12:23 2009 -0700

    docs: import 7.2 relnotes, start on 7.3 relnotes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebccb250f7131eb508536db7a00608aee98a3b21
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 8 15:32:02 2009 -0700

    glsl: fix broken +=, -=, *=, /= operators
    
    These functions need to return the final computed value.
    Now expressions such as a = (b += c) work properly.
    Also, no need to use __asm intrinsics in these functions.  The resulting
    code is the same when using ordinary arithmetic operators and is more legible.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5273a5f0d7b433150cdb16737bb295d76d0594a0
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 12:31:14 2009 -0700

    mesa: fix off-by-one bug in _mesa_delete_instructions()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28c503d4bb7b46c593d346f142b05f35afe0d0d1
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 16:56:02 2009 -0800

    i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=739d38c8e9a23c6e45f4869a01f0e104e1d78a8f
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 14:26:11 2009 -0800

    i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.
    
    Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or
    BRW_NEW_VERTEX_PROGRAM.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=510916f50961a3a9286807e7f75ba716f3e7f967
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 14:09:07 2009 -0800

    mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.
    
    There was a note in state.c about _Active deserving to die, and there were
    potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
    Removing both simplifies things.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e116e52a2859cca27e984c4ee4fef69a9280e56
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 13:52:51 2009 -0800

    i965: Remove dead brw_vs_tnl.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac984c95ed28dfad8a09e168e9e4cb41cf31d039
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 18:45:49 2009 -0700

    i965: allow gl_FragData[0] usage when there's only one color buffer
    
    If gl_FragData[0] is written but not gl_FragCOlor, use the former.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efd120842498a908bf722413ed603e368f2e18b3
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 18:44:41 2009 -0700

    mesa: additional case in file_string()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d33b0f1a8d7eb295cc403b12dce9d56b3f0393b2
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 18:44:00 2009 -0700

    glsl: pass GLcontext::Extension info down into GLSL preprocessor
    
    Now the #extension directives can be handled properly.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1169457ecaa470191f56bd740de90585d8eb349a
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 18:41:54 2009 -0700

    glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8a4ad1aeeef1debe6f206bc30696304edd7704c
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 18:22:56 2009 -0700

    glsl: check that the fragment shader does not write both gl_FragColor and gl_FragData[]

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5727ed130ef1d3adb87de89ea717e07726131f3e
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 15:06:06 2009 -0700

    i965: init dst reg RelAddr field to zero

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=735bdcfad82d87f943c6fb40f4534e9125d3c595
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 12:38:34 2009 -0800

    i965: Note when we drop saturate mode on the floor in a VP.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ea48b94f948f3468df718dab2b8258b5d71b6b4
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 7 12:37:58 2009 -0800

    i965: Add support for LRP in VPs.
    
    Bug #19226.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5450f41c7dad6edbaa27376351a32ac0dfcdf4
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 08:56:10 2009 -0700

    glsl: disable some unused functions (but don't remove just yet)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ebc79ce890e42e5d8a862cb01f99d8d51df61b3
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 08:54:09 2009 -0700

    glsl: also unroll loops with variable declarations such as "for (int i = 0; ..."

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dfd429c7e7a543a4a4f62e437c371003e42a029
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 08:32:21 2009 -0700

    glsl: remove dead code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89c078a58e0b7cf05366c7e2e90eece9a84a63d4
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 7 08:25:59 2009 -0700

    mesa: OSMesa Makefile fixes (use LIB_DIR)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac8a33671a7aaa0527490a1615495fac73081bc0
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 17:36:20 2009 -0700

    glsl: loop unroll adjustments
    
    Add a "max complexity" heuristic to allow unrolling long loops with small
    bodies and short loops with large bodies.
    
    The loop unroll limits may need further tweaking...

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12fe642f96a2a9439f9ac8751151ae6e7fa20049
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 17:24:23 2009 -0700

    glsl: implement loop unrolling for simple 'for' loops
    
    Loops such as this will be unrolled:
      for (i = 0; i < 4; ++i) {
          body;
      }
    where 'body' isn't too large.
    
    This also helps to fix the issue reported in bug #19190.  The problem there
    is indexing vector types with a variable index.  For example:
      vec4 v;
      v[2] = 1.0;  // equivalent to v.z = 1.0
      v[i] = 2.0;  // variable index into vector!!
    
    Since the for-i loop can be unrolled, we can avoid the problems associated
    with variable indexing into a vector (at least in this case).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aed1bb6bc38a1925f15ad4aea707579f653d82c7
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:28:49 2009 -0700

    mesa: Move var declaration to top of scope.
    
    (cherry picked from commit 3740a06e28f4cd09e2a3dce2da60320aa9304df1)




More information about the mesa-commit mailing list