Lines Matching refs:modes
72 assert(idx < scrn->NumModes && scrn->Modes[idx].Handle == mode);
74 return &scrn->Modes[idx];
224 * Compare modes 'a' and 'b' and return -1 if a belongs before b, or 1 if a
261 const EGLint *attrib_list, EGLModeMESA *modes,
279 /* make array of pointers to qualifying modes */
281 if (_eglModeQualifies(scrn->Modes + i, &min)) {
282 modeList[count++] = scrn->Modes + i;
291 modes[i] = modeList[i]->Handle;
304 * Return all possible modes for the given screen. No sorting of results.
309 EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes)
311 if (modes) {
315 modes[i] = scrn->Modes[i].Handle;
319 /* just return total number of supported modes */