Home | History | Annotate | Download | only in GL

Lines Matching refs:conf

76 static __GLXdrawable * __glXAquaScreenCreateDrawable(ClientPtr client, __GLXscreen *screen, DrawablePtr pDraw, XID drawId, int type, XID glxDrawId, __GLXconfig *conf);
84 static CGLPixelFormatObj makeFormat(__GLXconfig *conf);
129 __GLXconfig *conf,
154 context->pixelFormat = makeFormat(conf);
423 static CGLPixelFormatObj makeFormat(__GLXconfig *conf) {
430 if(conf->doubleBufferMode)
433 if(conf->stereoMode)
437 attr[i++] = conf->redBits + conf->greenBits + conf->blueBits;
439 attr[i++] = conf->alphaBits;
441 if((conf->accumRedBits + conf->accumGreenBits + conf->accumBlueBits +
442 conf->accumAlphaBits) > 0) {
445 attr[i++] = conf->accumRedBits + conf->accumGreenBits
446 + conf->accumBlueBits + conf->accumAlphaBits;
450 attr[i++] = conf->depthBits;
452 if(conf->stencilBits) {
454 attr[i++] = conf->stencilBits;
457 if(conf->numAuxBuffers > 0) {
459 attr[i++] = conf->numAuxBuffers;
462 if(conf->sampleBuffers > 0) {
464 attr[i++] = conf->sampleBuffers;
466 attr[i++] = conf->samples;
563 __GLXconfig *conf) {
573 if(!__glXDrawableInit(&glxPriv->base, screen, pDraw, type, glxDrawId, conf)) {