mesa: Changes to 'master'
Kristian Høgsberg
krh at kemper.freedesktop.org
Mon Mar 10 05:36:18 UTC 2008
include/GL/internal/dri_interface.h | 13 +++++-----
src/mesa/drivers/dri/common/dri_util.c | 24 +++++++++-----------
src/mesa/drivers/dri/common/dri_util.h | 12 +++++++---
src/mesa/drivers/dri/intel/intel_context.c | 2 -
src/mesa/drivers/dri/intel/intel_screen.c | 32 +++++++++------------------
src/mesa/drivers/dri/intel/intel_tex.h | 3 --
src/mesa/drivers/dri/intel/intel_tex_image.c | 31 ++++++++++++--------------
7 files changed, 54 insertions(+), 63 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit dcbe215c015c8dc48440f578023c2b9d12b934e4
Author: Kristian Høgsberg <krh at sasori.boston.redhat.com>
Date: Sun Mar 9 21:28:04 2008 -0400
DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle.
This fixes a problem where texturing from the same Pixmap more than
once per batchbuffer would hang the DRI driver. We just use the region
associated with the front left renderbuffer of the __DRIdrawable for
texturing, which avoids creating different regions for the same BO.
This change also make GLX_EXT_texture_from_pixmap work for direct
rendering, since tracking the __DRIdrawable -> BO handle now uses
the standard DRI2 event buffer. Of course, DRI2 direct rendering
doesn't exist yet.
Finally, this commit bumps the DRI interface version again, accounting
for the change in the DRI_TEX_BUFFER extension and the change in
commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 to pass in the
event buffer head index on drawable creation.
commit 180b41594c669574355b54ceb2c2ff96889bf336
Author: Kristian Høgsberg <krh at sasori.boston.redhat.com>
Date: Sun Mar 9 21:22:49 2008 -0400
DRI2: Drop DriverAPI.UpdateBuffer.
__dri2ParseEvents() would determine the kind of event, but then call
UpdateBuffer() in either case, and UpdateBuffer() would then have to
figure that out again to dispatch to HandleBufferAttach() or
HandleDrawableConfig(). Pretty pointless.
commit 2d5ea175f7fcd65de71b7589435b9a908f998d51
Author: Kristian Høgsberg <krh at sasori.boston.redhat.com>
Date: Sun Mar 9 21:19:17 2008 -0400
DRI2: Pass the context instead of the screen to __dri2ParseEvents().
Makes a lot more sense, since the screen is always implicit in the
DRI drawable, but it may not be possible to track down a context from
just a drawable.
commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424
Author: Kristian Høgsberg <krh at sasori.boston.redhat.com>
Date: Sun Mar 9 21:16:30 2008 -0400
DRI2: Add event buffer head as an argument to driCreateNewDrawable().
The DRI driver needs to know where in the buffer to start reading.
More information about the mesa-commit
mailing list