Home | History | Annotate | Download | only in main

Lines Matching refs:RefCount

123    assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1);
173 ASSERT(prog->RefCount == 1); /* should only be referenced by hash table */
174 prog->RefCount = 0; /* now going away */
254 /* The fact that the framebuffer is in the hashtable means its refcount
255 * is one, but we're removing from the hashtable now. So clear refcount.
257 /*assert(fb->RefCount == 1);*/
258 fb->RefCount = 0;
276 rb->RefCount = 0; /* see comment for FBOs above */
397 * If ptr's refcount goes to zero, free the shared state.
413 assert(old->RefCount >= 1);
414 old->RefCount--;
415 delete = (old->RefCount == 0);
428 state->RefCount++;