Lines Matching refs:oldObj
359 struct gl_vertex_array_object *oldObj = *ptr; in _mesa_reference_vao_() local
362 if (oldObj->SharedAndImmutable) { in _mesa_reference_vao_()
363 deleteFlag = p_atomic_dec_zero(&oldObj->RefCount); in _mesa_reference_vao_()
365 assert(oldObj->RefCount > 0); in _mesa_reference_vao_()
366 oldObj->RefCount--; in _mesa_reference_vao_()
367 deleteFlag = (oldObj->RefCount == 0); in _mesa_reference_vao_()
371 _mesa_delete_vao(ctx, oldObj); in _mesa_reference_vao_()
915 struct gl_vertex_array_object *const oldObj = ctx->Array.VAO; in bind_vertex_array() local
918 assert(oldObj != NULL); in bind_vertex_array()
920 if (oldObj->Name == id) in bind_vertex_array()
962 (oldObj == ctx->Array.DefaultVAO) != (newObj == ctx->Array.DefaultVAO)) in bind_vertex_array()