Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/program/
Dprogram.c320 struct gl_program *oldProg = *ptr; in _mesa_reference_program_() local
322 mtx_lock(&oldProg->Mutex); in _mesa_reference_program_()
323 assert(oldProg->RefCount > 0); in _mesa_reference_program_()
324 oldProg->RefCount--; in _mesa_reference_program_()
326 deleteFlag = (oldProg->RefCount == 0); in _mesa_reference_program_()
327 mtx_unlock(&oldProg->Mutex); in _mesa_reference_program_()
331 _mesa_reference_shader_program_data(ctx, &oldProg->sh.data, NULL); in _mesa_reference_program_()
332 ctx->Driver.DeleteProgram(ctx, oldProg); in _mesa_reference_program_()