Searched refs:oldTex (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexobj.c564 struct gl_texture_object *oldTex = *ptr; local in function:_mesa_reference_texobj_
566 assert(valid_texture_object(oldTex));
569 simple_mtx_lock(&oldTex->Mutex);
570 assert(oldTex->RefCount > 0);
571 oldTex->RefCount--;
573 deleteFlag = (oldTex->RefCount == 0);
574 simple_mtx_unlock(&oldTex->Mutex);
582 ctx->Driver.DeleteTexture(ctx, oldTex);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexobj.c562 struct gl_texture_object *oldTex = *ptr; local in function:_mesa_reference_texobj_
564 assert(valid_texture_object(oldTex));
567 assert(oldTex->RefCount > 0);
569 if (p_atomic_dec_zero(&oldTex->RefCount)) {
575 ctx->Driver.DeleteTexture(ctx, oldTex);

Completed in 7 milliseconds