[Mesa-dev] [PATCH] dri2: Track event mask in client code.

Jesse Barnes jbarnes at virtuousgeek.org
Wed Jul 14 10:22:02 PDT 2010


On Wed, 14 Jul 2010 12:01:49 -0400
Nick Bowler <nbowler at draconx.ca> wrote:

> When direct rendering is being used, DRI2 BufferSwapComplete events are
> sent unconditionally to clients, even if they haven't been requested.
> This causes error messages to be printed by every freeglut application
> of the form
> 
>   freeglut (./gears): Unknown X event type: 104
> 
> and might confuse other clients.
> 
> This is a fixed up version of the patch by Jesse Barnes, which drops
> BufferSwapComplete events if they are not requested by clients.
> 
> Fixes fdo bug 27962.
> 
> Signed-off-by: Nick Bowler <nbowler at draconx.ca>

Looks ok to me too.  Thanks for fixing it up and testing.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the mesa-dev mailing list