Lines Matching refs:mode
52 _eglLookupMode(EGLModeMESA mode, _EGLDisplay *disp) in _eglLookupMode() argument
68 if (mode >= scrn->Handle && in _eglLookupMode()
69 mode < scrn->Handle + _EGL_SCREEN_MAX_MODES) { in _eglLookupMode()
70 idx = mode - scrn->Handle; in _eglLookupMode()
72 assert(idx < scrn->NumModes && scrn->Modes[idx].Handle == mode); in _eglLookupMode()
87 _eglParseModeAttribs(_EGLMode *mode, const EGLint *attrib_list) in _eglParseModeAttribs() argument
92 mode->Handle = EGL_DONT_CARE; in _eglParseModeAttribs()
93 mode->Width = EGL_DONT_CARE; in _eglParseModeAttribs()
94 mode->Height = EGL_DONT_CARE; in _eglParseModeAttribs()
95 mode->RefreshRate = EGL_DONT_CARE; in _eglParseModeAttribs()
96 mode->Optimal = EGL_DONT_CARE; in _eglParseModeAttribs()
97 mode->Interlaced = EGL_DONT_CARE; in _eglParseModeAttribs()
98 mode->Name = NULL; in _eglParseModeAttribs()
103 mode->Handle = attrib_list[++i]; in _eglParseModeAttribs()
104 if (mode->Handle <= 0) { in _eglParseModeAttribs()
110 mode->Width = attrib_list[++i]; in _eglParseModeAttribs()
111 if (mode->Width <= 0) { in _eglParseModeAttribs()
117 mode->Height = attrib_list[++i]; in _eglParseModeAttribs()
118 if (mode->Height <= 0) { in _eglParseModeAttribs()
124 mode->RefreshRate = attrib_list[++i]; in _eglParseModeAttribs()
125 if (mode->RefreshRate <= 0) { in _eglParseModeAttribs()
131 mode->Interlaced = attrib_list[++i]; in _eglParseModeAttribs()
132 if (mode->Interlaced != EGL_TRUE && mode->Interlaced != EGL_FALSE) { in _eglParseModeAttribs()
138 mode->Optimal = attrib_list[++i]; in _eglParseModeAttribs()
139 if (mode->Optimal != EGL_TRUE && mode->Optimal != EGL_FALSE) { in _eglParseModeAttribs()