[PATCH 15/18] gallium: Add __DRIimageDriverExtension support to gallium

2014-01-03 Thread Marek Olšák
On Fri, Dec 27, 2013 at 9:27 PM, Keith Packard wrote: > Marek Ol??k writes: > >> Some of the code seems to be copy-pasted from >> dri2_drawable_process_buffers. The MSAA color and depth-stencil >> texture allocation could be moved to a common function. > > It's either that or plan on moving DRI2

[PATCH 15/18] gallium: Add __DRIimageDriverExtension support to gallium

2013-12-27 Thread Keith Packard
Marek Ol??k writes: > Some of the code seems to be copy-pasted from > dri2_drawable_process_buffers. The MSAA color and depth-stencil > texture allocation could be moved to a common function. It's either that or plan on moving DRI2 to the image interface as well at some point? As we'll have to k

[PATCH 15/18] gallium: Add __DRIimageDriverExtension support to gallium

2013-12-14 Thread Marek Olšák
Some of the code seems to be copy-pasted from dri2_drawable_process_buffers. The MSAA color and depth-stencil texture allocation could be moved to a common function. Marek On Sat, Dec 14, 2013 at 2:25 AM, Keith Packard wrote: > Provide the hook to pull textures out of __DRIimage structures and u

[PATCH 15/18] gallium: Add __DRIimageDriverExtension support to gallium

2013-12-13 Thread 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/gallium/state_tracker