mesa: Changes to 'master'

Haihao Xiang haihao at kemper.freedesktop.org
Thu Feb 28 05:33:31 PST 2008


 src/mesa/main/context.c      |   24 ++++++++++++++++--------
 src/mesa/main/mtypes.h       |    2 +-
 src/mesa/shader/shader_api.c |    8 ++++----
 3 files changed, 21 insertions(+), 13 deletions(-)

commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary

New commits:
commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Thu Feb 28 21:27:16 2008 +0800

    mesa: separate shader program object from shader object.
    
    Currently a callback delete_shader_cb is used for deleting shader
    and shader program objects. Mesa detaches all attached shaders in
    _mesa_free_shader_program_data when deleting shader program objects. However
    it is likely that these shaders have been freed in _mesa_free_shader,
    which will result in unexpected behaviour. This fix uses a single callback for
    shader program objects and deletes shader program objects before shader objects.



More information about the mesa-commit mailing list