Lines Matching refs:attr
71 CGLPixelFormatAttribute attr[MAX_ATTR];
78 attr[numattr++] = kCGLPFAOpenGLProfile;
79 attr[numattr++] = kCGLOGLPVersion_3_2_Core;
86 attr[numattr++] = kCGLPFAOffScreen;
87 attr[numattr++] = kCGLPFAColorSize;
88 attr[numattr++] = 32;
93 attr[numattr++] = kCGLPFARendererID;
94 attr[numattr++] = kCGLRendererGenericFloatID;
101 attr[numattr++] = kCGLPFAAccelerated;
109 attr[numattr++] = kCGLPFAClosestPolicy;
112 attr[numattr++] = kCGLPFAStereo;
120 attr[numattr++] = kCGLPFADoubleBuffer;
127 attr[numattr++] = kCGLPFAColorSize;
128 attr[numattr++] = mode->redBits + mode->greenBits + mode->blueBits;
129 attr[numattr++] = kCGLPFAAlphaSize;
130 attr[numattr++] = mode->alphaBits;
133 attr[numattr++] = kCGLPFAAccumSize;
134 attr[numattr++] = mode->accumRedBits + mode->accumGreenBits +
139 attr[numattr++] = kCGLPFADepthSize;
140 attr[numattr++] = mode->depthBits;
144 attr[numattr++] = kCGLPFAStencilSize;
145 attr[numattr++] = mode->stencilBits;
149 attr[numattr++] = kCGLPFAMultisample;
150 attr[numattr++] = kCGLPFASampleBuffers;
151 attr[numattr++] = mode->sampleBuffers;
152 attr[numattr++] = kCGLPFASamples;
153 attr[numattr++] = mode->samples;
156 attr[numattr++] = 0;
160 error = apple_cgl.choose_pixel_format(attr, pfobj, &vsref);