Lines Matching refs:fbconfig
120 const _GLFWfbconfig* fbconfig)
185 if (fbconfig->auxBuffers != GLFW_DONT_CARE)
186 ADD_ATTR2(NSOpenGLPFAAuxBuffers, fbconfig->auxBuffers);
188 if (fbconfig->accumRedBits != GLFW_DONT_CARE &&
189 fbconfig->accumGreenBits != GLFW_DONT_CARE &&
190 fbconfig->accumBlueBits != GLFW_DONT_CARE &&
191 fbconfig->accumAlphaBits != GLFW_DONT_CARE)
193 const int accumBits = fbconfig->accumRedBits +
194 fbconfig->accumGreenBits +
195 fbconfig->accumBlueBits +
196 fbconfig->accumAlphaBits;
202 if (fbconfig->redBits != GLFW_DONT_CARE &&
203 fbconfig->greenBits != GLFW_DONT_CARE &&
204 fbconfig->blueBits != GLFW_DONT_CARE)
206 int colorBits = fbconfig->redBits +
207 fbconfig->greenBits +
208 fbconfig->blueBits;
219 if (fbconfig->alphaBits != GLFW_DONT_CARE)
220 ADD_ATTR2(NSOpenGLPFAAlphaSize, fbconfig->alphaBits);
222 if (fbconfig->depthBits != GLFW_DONT_CARE)
223 ADD_ATTR2(NSOpenGLPFADepthSize, fbconfig->depthBits);
225 if (fbconfig->stencilBits != GLFW_DONT_CARE)
226 ADD_ATTR2(NSOpenGLPFAStencilSize, fbconfig->stencilBits);
228 if (fbconfig->stereo)
231 if (fbconfig->doublebuffer)
234 if (fbconfig->samples != GLFW_DONT_CARE)
236 if (fbconfig->samples == 0)
243 ADD_ATTR2(NSOpenGLPFASamples, fbconfig->samples);