Re: [Mesa-dev] [PATCH 2/2] mesa: Fix multithreaded buffer object refcounting. v2

2011-10-24 Thread Brian Paul
On 10/23/2011 01:32 PM, Mathias Fröhlich wrote: Hi, On Sunday, October 23, 2011 17:55:52 Brian Paul wrote: Reviewed-by: Brian Paulbri...@vmware.com I think it would be really good to have even a simple, single-threaded piglit test for this (glPush, glDeleteBufferObj, glPop). Could you write

Re: [Mesa-dev] [PATCH 2/2] mesa: Fix multithreaded buffer object refcounting. v2

2011-10-23 Thread Brian Paul
On 10/22/2011 04:58 AM, Mathias Fröhlich wrote: Hi, Buffer objects may be shared across contexts. Rework the array attrib push/pop implementation to be thread safe. Make use of more library functions for this purpose. Please review. Reviewed-by: Brian Paul bri...@vmware.com I think it

Re: [Mesa-dev] [PATCH 2/2] mesa: Fix multithreaded buffer object refcounting. v2

2011-10-23 Thread Mathias Fröhlich
Hi, On Sunday, October 23, 2011 17:55:52 Brian Paul wrote: Reviewed-by: Brian Paul bri...@vmware.com I think it would be really good to have even a simple, single-threaded piglit test for this (glPush, glDeleteBufferObj, glPop). Could you write one? Pushing this on top of the todo list

[Mesa-dev] [PATCH 2/2] mesa: Fix multithreaded buffer object refcounting. v2

2011-10-22 Thread Mathias Fröhlich
Hi, Buffer objects may be shared across contexts. Rework the array attrib push/pop implementation to be thread safe. Make use of more library functions for this purpose. Please review. Thanks Mathias From 27b335e04646abd40fc533a02e75bde4bbe09620 Mon Sep 17 00:00:00 2001 From: