Lines Matching refs:RefCount
69 ASSERT(old->RefCount > 0); in _mesa_reference_shader()
70 old->RefCount--; in _mesa_reference_shader()
73 deleteFlag = (old->RefCount == 0); in _mesa_reference_shader()
87 sh->RefCount++; in _mesa_reference_shader()
97 shader->RefCount = 1; in _mesa_init_shader()
209 ASSERT(old->RefCount > 0); in _mesa_reference_shader_program()
210 old->RefCount--; in _mesa_reference_shader_program()
213 (void *) old, old->Name, old->RefCount); in _mesa_reference_shader_program()
215 deleteFlag = (old->RefCount == 0); in _mesa_reference_shader_program()
228 shProg->RefCount++; in _mesa_reference_shader_program()
231 (void *) shProg, shProg->Name, shProg->RefCount); in _mesa_reference_shader_program()
241 prog->RefCount = 1; in _mesa_init_shader_program()