Lines Matching refs:mode
67 apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * mode, in apple_visual_create_pfobj() argument
111 if (mode->stereoMode) { in apple_visual_create_pfobj()
119 if (!offscreen && mode->doubleBufferMode) { in apple_visual_create_pfobj()
128 attr[numattr++] = mode->redBits + mode->greenBits + mode->blueBits; in apple_visual_create_pfobj()
130 attr[numattr++] = mode->alphaBits; in apple_visual_create_pfobj()
132 if ((mode->accumRedBits + mode->accumGreenBits + mode->accumBlueBits) > 0) { in apple_visual_create_pfobj()
134 attr[numattr++] = mode->accumRedBits + mode->accumGreenBits + in apple_visual_create_pfobj()
135 mode->accumBlueBits + mode->accumAlphaBits; in apple_visual_create_pfobj()
138 if (mode->depthBits > 0) { in apple_visual_create_pfobj()
140 attr[numattr++] = mode->depthBits; in apple_visual_create_pfobj()
143 if (mode->stencilBits > 0) { in apple_visual_create_pfobj()
145 attr[numattr++] = mode->stencilBits; in apple_visual_create_pfobj()
148 if (mode->sampleBuffers > 0) { in apple_visual_create_pfobj()
151 attr[numattr++] = mode->sampleBuffers; in apple_visual_create_pfobj()
153 attr[numattr++] = mode->samples; in apple_visual_create_pfobj()