Re: [Mesa-dev] [PATCH 2/2] st/dri: disallow recursion in dri_flush

2013-01-21 Thread Michel Dänzer
On Mon, 2013-01-21 at 16:35 +0100, Marek Olšák wrote: > ST_FLUSH_FRONT may call driThrottle, which is implemented with dri_flush. > This prevents double flush as well as fence leaks caused by a recursion > in the middle of throttling. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=588

[Mesa-dev] [PATCH 2/2] st/dri: disallow recursion in dri_flush

2013-01-21 Thread Marek Olšák
ST_FLUSH_FRONT may call driThrottle, which is implemented with dri_flush. This prevents double flush as well as fence leaks caused by a recursion in the middle of throttling. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58839 --- src/gallium/state_trackers/dri/common/dri_drawable.c |