Re: [Mesa-dev] [PATCH] gallium: add flush_resource context function

2013-07-19 Thread Marek Olšák
FWIW, I don't think flush_frontbuffer belongs to the interface, because it's only used by software rasterizers. Marek On Wed, Jul 17, 2013 at 4:58 PM, Roland Scheidegger wrote: > Ahh with some documentation and another name this looks much better now. > I don't really deal with dri interfacing m

Re: [Mesa-dev] [PATCH] gallium: add flush_resource context function

2013-07-17 Thread Roland Scheidegger
Ahh with some documentation and another name this looks much better now. I don't really deal with dri interfacing much so someone else should probably give it a look but looks reasonable. I wonder though if we still need the flush_frontbuffer stuff or if that should go and be replaced with this plu

[Mesa-dev] [PATCH] gallium: add flush_resource context function

2013-07-16 Thread Marek Olšák
r600g needs explicit flushing before DRI2 buffers are presented on the screen. A complete implementation in all drivers will follow once this is acked. --- src/gallium/docs/source/context.rst | 13 + src/gallium/include/pipe/p_context.h | 13 +++