mesa: Changes to 'master'

Kristian Høgsberg krh at kemper.freedesktop.org
Fri Feb 29 12:13:36 PST 2008


 include/GL/internal/dri_interface.h           |   87 ++++++++++++------
 progs/xdemos/glxgears.c                       |    1 
 src/mesa/drivers/dri/common/dri_util.c        |  125 +++++++++-----------------
 src/mesa/drivers/dri/common/dri_util.h        |   26 +----
 src/mesa/drivers/dri/fb/fb_dri.c              |    9 +
 src/mesa/drivers/dri/ffb/ffb_xmesa.c          |    9 +
 src/mesa/drivers/dri/i810/i810screen.c        |    7 -
 src/mesa/drivers/dri/intel/intel_buffers.c    |    4 
 src/mesa/drivers/dri/intel/intel_context.c    |   20 ++--
 src/mesa/drivers/dri/intel/intel_screen.c     |   24 +---
 src/mesa/drivers/dri/mach64/mach64_screen.c   |    9 +
 src/mesa/drivers/dri/mga/mga_xmesa.c          |   10 +-
 src/mesa/drivers/dri/mga/mgaioctl.c           |    6 -
 src/mesa/drivers/dri/nouveau/nouveau_screen.c |   12 +-
 src/mesa/drivers/dri/r128/r128_screen.c       |    8 +
 src/mesa/drivers/dri/r200/r200_context.c      |    2 
 src/mesa/drivers/dri/r200/r200_ioctl.c        |    8 +
 src/mesa/drivers/dri/r300/radeon_context.c    |    2 
 src/mesa/drivers/dri/r300/radeon_ioctl.c      |    8 +
 src/mesa/drivers/dri/radeon/radeon_context.c  |    2 
 src/mesa/drivers/dri/radeon/radeon_ioctl.c    |   10 +-
 src/mesa/drivers/dri/radeon/radeon_screen.c   |   10 +-
 src/mesa/drivers/dri/savage/savage_xmesa.c    |    8 +
 src/mesa/drivers/dri/sis/sis_screen.c         |    6 -
 src/mesa/drivers/dri/tdfx/tdfx_screen.c       |    8 +
 src/mesa/drivers/dri/unichrome/via_context.c  |    2 
 src/mesa/drivers/dri/unichrome/via_ioctl.c    |    9 +
 src/mesa/drivers/dri/unichrome/via_screen.c   |    7 -
 28 files changed, 231 insertions(+), 208 deletions(-)

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

New commits:
commit 6cb3f5c4d8618a14bb7ad1d9df10ed7e648a7b2b
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Thu Feb 28 10:32:28 2008 -0500

    Use __DRIextension mechanism providing loader functionality to the driver.
    
    Instead of passing in a fixed struct, the loader now passes in a list
    of __DRIextension structs, to advertise the functionality it can provide
    to the driver.  Each extension is individually versioned and can be
    extended or phased out as the interface develops.

commit 16242a8007f41ab63f9a28bb9a750857c8cdb8af
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Mon Feb 25 23:37:23 2008 -0500

    Reduce the versioning madness required to create a DRI2 screen.
    
    Right now the DRI2 screen constructor takes 3 different versions:
    DRI, DDX and DRM.  This is mostly useless, though:
    
      DRI: The DRI driver doesn't actually care about the DRI protocol,
      it only talks to the loader, which in turn speaks DRI protocol.  Thus,
      the DRI protocol version is of not interest to the DRI driver, but it
      needs to know what functionality the loader provides.  At this point
      that's reflected in the __DRIinterfaceMethods struct and the
      internal_version integer.
    
      DDX: The DDX version number is essentially used to track extensions
      to the SAREA.  With DRI2 the SAREA consists of a number of versioned,
      self-describing blocks, so the DDX version is no longer interesting.
    
      DRM: We have the fd, lets just ask the kernel ourselves.

commit 5197a31b8e64a047d058c4cb174efb9c8b816652
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Fri Feb 29 15:04:26 2008 -0500

    intel: Set the lock flag early to avoid deadlock.
    
    Another regression from the intel_context.c merge.



More information about the mesa-commit mailing list