Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-06-19 Thread Axel Davy
On 19/06/2014 01:20, Ilia Mirkin wrote : +static __DRIbuffer * +dri2_allocate_buffer(__DRIscreen *sPriv, + unsigned attachment, unsigned format, + int width, int height) +{ + struct dri_screen *screen = dri_screen(sPriv); + struct dri2_buffer *buffer; +

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-06-18 Thread Ilia Mirkin
On Wed, Jun 18, 2014 at 11:27 PM, Axel Davy wrote: > __DRIimageDriverExtension is used by GLX DRI3 and Wayland. > > This patch is a rewrite of > http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html > and > http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html > > Signe

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-06-18 Thread Ben Skeggs
On Thu, Jun 19, 2014 at 1:27 PM, Axel Davy wrote: > __DRIimageDriverExtension is used by GLX DRI3 and Wayland. > > This patch is a rewrite of > http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html > and > http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html > > Signed

[Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-06-18 Thread Axel Davy
__DRIimageDriverExtension is used by GLX DRI3 and Wayland. This patch is a rewrite of http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html and http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html Signed-off-by: Axel Davy Reviewed-by: Marek Olšák Previous patches we

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-06-09 Thread Michel Dänzer
On 28.05.2014 18:59, Michel Dänzer wrote: > On 28.05.2014 09:55, Axel Davy wrote: >> From: Keith Packard >> >> Provide the hook to pull textures out of __DRIimage structures and use them >> as >> renderbuffers. >> >> Signed-off-by: Keith Packard > > Enabling DRI3 using this change breaks a numb

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-05-28 Thread Michel Dänzer
On 28.05.2014 21:13, Axel Davy wrote: > On 28/05/2014 03:47, Michel Dänzer wrote : >> On 28.05.2014 09:55, Axel Davy wrote: >>> From: Keith Packard >>> >>> Provide the hook to pull textures out of __DRIimage structures and >>> use them as >>> renderbuffers. >>> >>> Signed-off-by: Keith Packard >>

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-05-28 Thread Axel Davy
On 28/05/2014 03:47, Michel Dänzer wrote : On 28.05.2014 09:55, Axel Davy wrote: From: Keith Packard Provide the hook to pull textures out of __DRIimage structures and use them as renderbuffers. Signed-off-by: Keith Packard This patch breaks a number of piglit tests with DRI2, see the backt

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-05-28 Thread Michel Dänzer
On 28.05.2014 09:55, Axel Davy wrote: > From: Keith Packard > > Provide the hook to pull textures out of __DRIimage structures and use them as > renderbuffers. > > Signed-off-by: Keith Packard Enabling DRI3 using this change breaks a number of depth/stencil and multisampling related piglit tes

Re: [Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-05-28 Thread Michel Dänzer
On 28.05.2014 09:55, Axel Davy wrote: > From: Keith Packard > > Provide the hook to pull textures out of __DRIimage structures and use them as > renderbuffers. > > Signed-off-by: Keith Packard This patch breaks a number of piglit tests with DRI2, see the backtrace below. This fixes it: diff -

[Mesa-dev] [PATCH 01/11] gallium: Add __DRIimageDriverExtension support to gallium

2014-05-27 Thread Axel Davy
From: Keith Packard Provide the hook to pull textures out of __DRIimage structures and use them as renderbuffers. Signed-off-by: Keith Packard --- src/gallium/state_trackers/dri/drm/dri2.c | 238 +- 1 file changed, 230 insertions(+), 8 deletions(-) diff --git a/src