[PATCH 0/6] Add DRI3000 support to core and i965 drivers

2013-10-31 Thread Keith Packard
The first four patches prepare the library for DRI3, then the final two patches add DRI3 and Present support. Minor changes: [PATCH 1/6] drivers/dri/common: A few dri2 functions are not actually [PATCH 2/6] dri/intel: Split out DRI2 buffer update code to separate [PATCH 3/6] dri/intel: Add

[PATCH 6/6] Make GLX/dri3 use the Present extension when available

2013-10-31 Thread Keith Packard
This uses the Present extension with DRI3, which includes OML_Sync extension support. Signed-off-by: Keith Packard kei...@keithp.com --- configure.ac| 4 +- include/GL/internal/dri_interface.h | 1 + src/glx/dri3_glx.c | 421

[PATCH 1/6] drivers/dri/common: A few dri2 functions are not actually DRI2 specific

2013-10-31 Thread Keith Packard
This just renames them so that they can be used with the DRI3 extension without causing too much confusion. Signed-off-by: Keith Packard kei...@keithp.com --- src/mesa/drivers/dri/common/dri_util.c | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff

[PATCH 2/6] dri/intel: Split out DRI2 buffer update code to separate function

2013-10-31 Thread Keith Packard
Make an easy place to splice in a DRI3 version of this function Signed-off-by: Keith Packard kei...@keithp.com --- src/mesa/drivers/dri/i915/intel_context.c | 90 +-- src/mesa/drivers/dri/i965/brw_context.c | 22 ++-- 2 files changed, 68 insertions(+), 44