Lines Matching refs:attributes
73 NSOpenGLPixelFormatAttribute attributes[kMaxAttributes];
75 attributes[numAttributes++] = NSOpenGLPFAAccelerated;
76 attributes[numAttributes++] = NSOpenGLPFAClosestPolicy;
77 attributes[numAttributes++] = NSOpenGLPFADoubleBuffer;
78 attributes[numAttributes++] = NSOpenGLPFAOpenGLProfile;
79 attributes[numAttributes++] = NSOpenGLProfileVersion3_2Core;
80 attributes[numAttributes++] = NSOpenGLPFAColorSize;
81 attributes[numAttributes++] = 24;
82 attributes[numAttributes++] = NSOpenGLPFAAlphaSize;
83 attributes[numAttributes++] = 8;
84 attributes[numAttributes++] = NSOpenGLPFADepthSize;
85 attributes[numAttributes++] = 0;
86 attributes[numAttributes++] = NSOpenGLPFAStencilSize;
87 attributes[numAttributes++] = 8;
89 attributes[numAttributes++] = NSOpenGLPFAMultisample;
90 attributes[numAttributes++] = NSOpenGLPFASampleBuffers;
91 attributes[numAttributes++] = 1;
92 attributes[numAttributes++] = NSOpenGLPFASamples;
93 attributes[numAttributes++] = fDisplayParams.fMSAASampleCount;
95 attributes[numAttributes++] = NSOpenGLPFASampleBuffers;
96 attributes[numAttributes++] = 0;
98 attributes[numAttributes++] = 0;
101 fPixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attributes];