[Mesa-dev] [PATCH 12/13] mesa: Remove unnecessary locking from container objects.

Brian Paul brianp at vmware.com
Fri Aug 7 08:45:34 PDT 2015


On 08/06/2015 06:11 PM, Matt Turner wrote:
> "Container objects" like vertex array objects, framebuffer objects, and
> pipeline objects are not shared between contexts, so they require no
> locking.

Framebuffer/renderbuffer objects _are_ shared among contexts.  Note that 
_mesa_lookup_framebuffer() accesses the ctx->Shared->FrameBuffers hash 
table.

Though, I recall something about EXT_fbo supporting sharing but not 
ARB_fbo but I'd have to read the specs to see for sure.

-Brian



More information about the mesa-dev mailing list