Mesa (r6xx-rewrite): 24 new commits

Alex Deucher agd5f at kemper.freedesktop.org
Fri Jul 17 19:14:36 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e910f6831b4e7033a0d5cbd83bdab191d622bad0
Merge: 79a170108f1d9cad949cd2a34e4de597beae72db 30bccf8ea9cd84d1a52a31b6f86b783dfb919374
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Fri Jul 17 14:46:40 2009 -0400

    Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30bccf8ea9cd84d1a52a31b6f86b783dfb919374
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jul 16 21:21:59 2009 -0700

    xeglthreads: Check current context for EGL per-thread support.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15fdbc8361d0b865aea5e2f374b471081ed4214a
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 17 11:56:00 2009 -0600

    egl: Remove redundant DeletePending flag.
    
    A context or surface that is neither linked to a display nor current to
    a thread should be destroyed.  Therefore, an unlinked context or surface
    implies a pending delete automatically.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f7e0d5302ed0fadd794a41af6e476d2c408adc7
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jul 16 21:21:57 2009 -0700

    egl: Destroy display's resources upon termination.
    
    eglTerminate should destroy the contexts and surfaces of the display.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be9d1ab171b1b29108c781af84dd500707a12925
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jul 16 21:21:56 2009 -0700

    egl: Return the same EGL Display for the same native display.
    
    The latest revision of the spec explicitly requires the same handle to
    be returned for the same native display.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cca31340b5a9c0b941946753a31236c7201ca87c
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 17 11:53:03 2009 -0600

    egl: Use the link functions to manage resources.
    
    This commit uses the newly introduced link functions to manage EGL
    contexts and surfaces.  As a result of this, the API for drivers are
    changed.  All drivers are updated for the change.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18457cb263e3e062e12314e7b3d5c81a7f2ba048
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 17 11:48:27 2009 -0600

    egl: Add funtions to link contexts and surfaces to displays.
    
    EGL contexts and surfaces are resources of displays.  They should be
    managed by displays.  This commit adds a bunch of functions to
    egldisplay.c to help establish the links between contexts/surfaces and
    displays.  How links are established is considered opaque outside
    display.  Functions like _eglGetSurfaceHandle or _eglLookupSurface are
    therefore moved to egldisplay.c, with some small modifications.
    
    The idea is also extended to display.  That is, displays need to link to
    themselves to be looked up.
    
    This commit only adds the functions.  A commit to use them should
    follow.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21b635ffa8b59049a95d50d4c7b7a8ff6413b730
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 17 11:42:04 2009 -0600

    egl: Extend per-thread info for multiple current contexts.
    
    EGL allows multiple current contexts, as long as they are bound to
    different client APIs.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75da80b29556e6dbbba21e5297ca440e475f65cb
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 17 11:41:02 2009 -0600

    egl: Support per-thread info.
    
    This commit introduces a "current" system to manage per-thread info.  It
    uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined.
    If none of them are defined, it uses a dummy implementation that is just
    like before.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e92ec9fdd58bdfcdef65a995988974d3266b9ad
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jul 16 21:21:51 2009 -0700

    egl: Add eglcompiler.h for compiler features.
    
    Only INLINE (from mesa/main/compiler.h) is defined now.  It may be used
    to deal with symbol visibility and int/pointer conversion in the future.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cea84b6b5f96bf3bb42546e49b76024d7126e30
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 16 18:41:03 2009 -0700

    texenv: Calculate whether we need to do secondary color on our own.
    
    The _TriangleCaps bit is deprecated, not updated when we require, and
    is set based on state that hasn't been updated at that point in
    _mesa_update_state_locked().
    
    Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99174e7630676307f618c252755a20ba61ad9158
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 16 15:57:22 2009 -0700

    i965: Add missing state dependency of sf_unit on _NEW_BUFFERS.

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.




More information about the mesa-commit mailing list