Lines Matching refs:GrGLuint
16 static const GrGLuint kFirstName = 101;
17 static const GrGLuint kRange = 1013;
33 for (GrGLuint freeCount = 1; freeCount <= kRange; ++freeCount) {
46 bool isAllocated(GrGLuint name) const {
50 void setAllocated(GrGLuint name, bool allocated) {
56 GrGLuint name = fAllocator.allocateName();
78 GrGLuint name = fAllocator.allocateName();
86 for (GrGLuint i = 0; i < kRange; ++i) {
96 bool freeRandomNames(GrGLuint count) {
102 const GrGLuint seed = (count + fRandomName) / 2;
103 const GrGLuint a = seed * kRange + 1;
104 const GrGLuint c = (seed * 743) % kRange;
106 for (GrGLuint i = 0; i < count; ++i) {
108 const GrGLuint name = kFirstName + fRandomName;
125 GrGLuint fAllocatedCount;
126 GrGLuint fRandomName;
136 static const GrGLuint range = 32;
138 for (GrGLuint i = 1; i <= range; ++i) {
149 for (GrGLuint i = 1; i <= range/2; i += 2) {
152 for (GrGLuint i = 1; i <= range/2; i += 2) {
156 for (GrGLuint i = 1; i <= range/2; ++i) {
160 for (GrGLuint i = 1; i <= range/2; ++i) {