Home | History | Annotate | Download | only in main

Lines Matching refs:RefCount

51  * If ptr is pointing to another shader, decrement its refcount (and delete
52 * if refcount hits zero).
53 * Then set ptr to point to sh, incrementing its refcount.
69 ASSERT(old->RefCount > 0);
70 old->RefCount--;
72 (void*) old, old->Name, old->RefCount);*/
73 deleteFlag = (old->RefCount == 0);
87 sh->RefCount++;
89 (void*) sh, sh->Name, sh->RefCount);*/
97 shader->RefCount = 1;
190 * If ptr is pointing to another object, decrement its refcount (and delete
191 * if refcount hits zero).
192 * Then set ptr to point to shProg, incrementing its refcount.
209 ASSERT(old->RefCount > 0);
210 old->RefCount--;
212 printf("ShaderProgram %p ID=%u RefCount-- to %d\n",
213 (void *) old, old->Name, old->RefCount);
215 deleteFlag = (old->RefCount == 0);
228 shProg->RefCount++;
230 printf("ShaderProgram %p ID=%u RefCount++ to %d\n",
231 (void *) shProg, shProg->Name, shProg->RefCount);
241 prog->RefCount = 1;