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

2011-10-22 Thread Mathias Fröhlich
Hi, On Wednesday, October 19, 2011 16:32:57 Brian Paul wrote: > As a first cut, I want something that works correctly and is easy to > understand and maintain. We can optimize later if needed. I think > most seasoned OpenGL programmers know that glPush/PopAttrib isn't > exactly a high-performan

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

2011-10-19 Thread Brian Paul
On 10/19/2011 12:00 AM, Mathias Fröhlich wrote: Hi Brian, On Tuesday, October 18, 2011 17:05:53 Brian Paul wrote: This was brought up a few weeks ago by someone else. I had posted the start of a patch to fix it. I'm attaching an updated version that I think is pretty clean. But there's a fe

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

2011-10-18 Thread Mathias Fröhlich
Hi Brian, On Tuesday, October 18, 2011 17:05:53 Brian Paul wrote: > This was brought up a few weeks ago by someone else. I had posted the > start of a patch to fix it. I'm attaching an updated version that I > think is pretty clean. But there's a few lines missing and it's > totally untested.

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

2011-10-18 Thread Brian Paul
On 10/17/2011 10:59 PM, Mathias Fröhlich wrote: Hi, Attached is a change to core mesa. This fixes a potential refcount locking problem with shared OpenGL objects. This change survives a piglit r600 run on my local machine. Please review. This was brought up a few weeks ago by someone else. I

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

2011-10-17 Thread Mathias Fröhlich
Hi, Attached is a change to core mesa. This fixes a potential refcount locking problem with shared OpenGL objects. This change survives a piglit r600 run on my local machine. Please review. Thanks Mathias From e0298379c240f3a3885d1db92e0bcf5fc44af953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma