Lines Matching refs:RefCount
126 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
152 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data()
153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data()
190 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_update_default_objects_program()
191 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_update_default_objects_program()
197 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_update_default_objects_program()
274 prog->RefCount = 1; in _mesa_init_program_struct()
380 ASSERT(prog->RefCount==0); in _mesa_delete_program()
447 (*ptr)->RefCount - 1); in _mesa_reference_program_()
449 ASSERT((*ptr)->RefCount > 0); in _mesa_reference_program_()
450 (*ptr)->RefCount--; in _mesa_reference_program_()
452 deleteFlag = ((*ptr)->RefCount == 0); in _mesa_reference_program_()
466 prog->RefCount++; in _mesa_reference_program_()
472 prog->RefCount); in _mesa_reference_program_()
496 assert(clone->RefCount == 1); in _mesa_clone_program()