Home | History | Annotate | Download | only in egl

Lines Matching defs:error_code

24 void SetCurrentError(EGLint error_code) {
28 T EglError(EGLint error_code, T return_value) {
29 SetCurrentError(error_code);
51 EGLint error_code = ValidateDisplay(dpy);
52 if (error_code != EGL_SUCCESS)
53 return error_code;
63 EGLint error_code = ValidateDisplay(dpy);
64 if (error_code != EGL_SUCCESS)
65 return error_code;
75 EGLint error_code = ValidateDisplay(dpy);
76 if (error_code != EGL_SUCCESS)
77 return error_code;
118 EGLint error_code = ValidateDisplay(dpy);
119 if (error_code != EGL_SUCCESS)
120 return EglError(error_code, EGL_FALSE);
129 EGLint error_code = ValidateDisplay(dpy);
130 if (error_code != EGL_SUCCESS)
131 return EglError(error_code, static_cast<const char*>(NULL));
152 EGLint error_code = ValidateDisplay(dpy);
153 if (error_code != EGL_SUCCESS)
154 return EglError(error_code, EGL_FALSE);
170 EGLint error_code = ValidateDisplay(dpy);
171 if (error_code != EGL_SUCCESS)
172 return EglError(error_code, EGL_FALSE);
188 EGLint error_code = ValidateDisplayConfig(dpy, config);
189 if (error_code != EGL_SUCCESS)
190 return EglError(error_code, EGL_FALSE);
203 EGLint error_code = ValidateDisplayConfig(dpy, config);
204 if (error_code != EGL_SUCCESS)
205 return EglError(error_code, EGL_NO_SURFACE);
233 EGLint error_code = ValidateDisplaySurface(dpy, surface);
234 if (error_code != EGL_SUCCESS)
235 return EglError(error_code, EGL_FALSE);
300 EGLint error_code = ValidateDisplayConfig(dpy, config);
301 if (error_code != EGL_SUCCESS)
302 return EglError(error_code, EGL_NO_CONTEXT);
305 error_code = ValidateDisplayContext(dpy, share_context);
306 if (error_code != EGL_SUCCESS)
307 return EglError(error_code, EGL_NO_CONTEXT);
320 EGLint error_code = ValidateDisplayContext(dpy, ctx);
321 if (error_code != EGL_SUCCESS)
322 return EglError(error_code, EGL_FALSE);
334 EGLint error_code = ValidateDisplaySurface(dpy, draw);
335 if (error_code != EGL_SUCCESS)
336 return EglError(error_code, EGL_FALSE);
337 error_code = ValidateDisplaySurface(dpy, read);
338 if (error_code != EGL_SUCCESS)
339 return EglError(error_code, EGL_FALSE);
340 error_code = ValidateDisplayContext(dpy, ctx);
341 if (error_code != EGL_SUCCESS)
342 return EglError(error_code, EGL_FALSE);
384 EGLint error_code = ValidateDisplaySurface(dpy, surface);
385 if (error_code != EGL_SUCCESS)
386 return EglError(error_code, EGL_FALSE);