Re: [Mesa-dev] [PATCH 05/13] mesa: Replace buffer object locks with atomic inc/dec.

2015-09-25 Thread Matt Turner
On Fri, Aug 7, 2015 at 9:41 AM, Ian Romanick wrote: > So... the buffer object isn't locked during a call to glBufferData? > Since that allocates the backing storage for the BO, it doesn't seem > like anything good could happen... Indeed, that's the case. Is there anything for us to do though? I'm

Re: [Mesa-dev] [PATCH 05/13] mesa: Replace buffer object locks with atomic inc/dec.

2015-08-07 Thread Ian Romanick
So... the buffer object isn't locked during a call to glBufferData? Since that allocates the backing storage for the BO, it doesn't seem like anything good could happen... On 08/06/2015 05:10 PM, Matt Turner wrote: > --- > src/mesa/main/bufferobj.c | 17 +++-- > src/mesa/main/mtypes.h

[Mesa-dev] [PATCH 05/13] mesa: Replace buffer object locks with atomic inc/dec.

2015-08-06 Thread Matt Turner
--- src/mesa/main/bufferobj.c | 17 +++-- src/mesa/main/mtypes.h| 1 - 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index cc035ff..78af229 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.