Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexobj.c552 struct gl_texture_object *oldTex = *ptr; in _mesa_reference_texobj_() local
554 assert(valid_texture_object(oldTex)); in _mesa_reference_texobj_()
557 simple_mtx_lock(&oldTex->Mutex); in _mesa_reference_texobj_()
558 assert(oldTex->RefCount > 0); in _mesa_reference_texobj_()
559 oldTex->RefCount--; in _mesa_reference_texobj_()
561 deleteFlag = (oldTex->RefCount == 0); in _mesa_reference_texobj_()
562 simple_mtx_unlock(&oldTex->Mutex); in _mesa_reference_texobj_()
570 ctx->Driver.DeleteTexture(ctx, oldTex); in _mesa_reference_texobj_()