mesa: Changes to 'gallium-tex-surfaces'

Brian Paul brianp at kemper.freedesktop.org
Wed May 7 22:45:44 UTC 2008


The branch, gallium-tex-surfaces has been updated
        Commits at: http://cgit.freedesktop.org/mesa/mesa/log/?h=gallium-tex-surfaces

Summary of changes:
 progs/xdemos/glthreads.c                     |  306 ++++++++++++++++++++------
 src/mesa/state_tracker/st_atom.c             |    3 +-
 src/mesa/state_tracker/st_atom.h             |    1 +
 src/mesa/state_tracker/st_atom_framebuffer.c |   60 +++++-
 src/mesa/state_tracker/st_atom_shader.c      |   26 ++-
 src/mesa/state_tracker/st_atom_texture.c     |   80 +++++---
 src/mesa/state_tracker/st_cb_fbo.c           |   34 +++-
 src/mesa/state_tracker/st_cb_fbo.h           |    3 +
 src/mesa/state_tracker/st_cb_readpixels.c    |    2 +
 src/mesa/state_tracker/st_cb_texture.c       |    1 +
 src/mesa/state_tracker/st_context.h          |    3 +
 src/mesa/state_tracker/st_texture.c          |   16 ++
 12 files changed, 428 insertions(+), 107 deletions(-)

       via  1a82d9648b3db780e58e4966924157542d148c58 (commit)
       via  8f76459f62aaf6f3a130e9be75aa7fe565406d28 (commit)
       via  f34a30bf791b7126b13abaa1965c70ff9633f38e (commit)
      from  ffe78987dc01864cdb8f8b74855c3e14cff1c0bb (commit)


- Commits -----------------------------------------------
commit 1a82d9648b3db780e58e4966924157542d148c58
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed May 7 16:44:33 2008 -0600

    gallium: fix some render to texture bugs
    
    Before, we were sometimes rendering into a stale texture because
    st_finalize_texture() would discard the old texture and create a new one.
    
    Moved st_update_framebuffer atom after texture validation so that we
    can create a new renderbuffer surface if the texture changes.
    
    Also, split texture validation into two parts: finalize_textures and
    update_textures.  Do finalize_textures first to avoid getting into the
    situtation where we're doing a pipe->surface_copy() mid-way through
    state validation.
    
    Some debug code still in place, but disabled...

commit 8f76459f62aaf6f3a130e9be75aa7fe565406d28
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed May 7 11:57:03 2008 -0600

    mesa: document a/s keys

commit f34a30bf791b7126b13abaa1965c70ff9633f38e
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed May 7 11:56:24 2008 -0600

    mesa: add texturing to thread test
    
    Run with -t to enable texture mapping.
    Press 't' to update the texture image.  When the texture is changed in one
    thread it should also get updated in the other threads since textures are
    shared by all contexts.

---------------------------------




More information about the mesa-commit mailing list