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

2014-05-29 Thread Marek Olšák
This is just copy-pasted from dri2_drawable_process_buffers. While that might be the easiest thing to do for an outside contributor, it really doesn't help the people who have to maintain the code. I'd like this patch to be scratched and rewritten by either reusing dri2_drawable_process_buffers or

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

2014-05-28 Thread Axel Davy
From: Keith Packard kei...@keithp.com Provide the hook to pull textures out of __DRIimage structures and use them as renderbuffers. Signed-off-by: Keith Packard kei...@keithp.com --- v2: Added the image-flushFrontBuffer fix. src/gallium/state_trackers/dri/drm/dri2.c | 238