| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/ |
| H A D | es1_info.c | 77 info(EGLDisplay egl_dpy) argument 81 s = eglQueryString(egl_dpy, EGL_VERSION); 84 s = eglQueryString(egl_dpy, EGL_VENDOR); 87 s = eglQueryString(egl_dpy, EGL_EXTENSIONS); 91 s = eglQueryString(egl_dpy, EGL_CLIENT_APIS); 112 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 152 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 160 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 199 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, ctx_attribs ); 205 *surfRet = eglCreateWindowSurface(egl_dpy, confi 235 EGLDisplay egl_dpy; local in function:main [all...] |
| H A D | two_win.c | 125 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 155 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 163 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 207 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, NULL ); 215 *surfRet = eglCreateWindowSurface(egl_dpy, config, win, NULL); 230 EGLDisplay egl_dpy, EGLSurface egl_surf1, EGLSurface egl_surf2, 286 if (!eglMakeCurrent(egl_dpy, egl_surf1, egl_surf1, egl_ctx)) { 291 eglSwapBuffers(egl_dpy, egl_surf1); 294 if (!eglMakeCurrent(egl_dpy, egl_surf2, egl_surf2, egl_ctx)) { 299 eglSwapBuffers(egl_dpy, egl_surf 229 event_loop(Display * dpy,Window win1,Window win2,EGLDisplay egl_dpy,EGLSurface egl_surf1,EGLSurface egl_surf2,EGLContext egl_ctx) argument 321 EGLDisplay egl_dpy; local in function:main [all...] |
| H A D | eglfbdev.c | 171 static EGLDisplay egl_dpy; variable in typeref:typename:EGLDisplay 201 egl_dpy = eglGetDisplay((EGLNativeDisplayType) fd); 202 if (egl_dpy == EGL_NO_DISPLAY) 204 if (!eglInitialize(egl_dpy, &major, &minor)) 209 printf("EGL_VENDOR: %s\n", eglQueryString(egl_dpy, EGL_VENDOR)); 210 printf("EGL_VERSION: %s\n", eglQueryString(egl_dpy, EGL_VERSION)); 211 printf("EGL_EXTENSIONS: %s\n", eglQueryString(egl_dpy, EGL_EXTENSIONS)); 213 eglQueryString(egl_dpy, EGL_CLIENT_APIS)); 216 if (!eglChooseConfig(egl_dpy, NULL, &conf, 1, &num_configs) || 220 egl_ctx = eglCreateContext(egl_dpy, con [all...] |
| H A D | msaa.c | 150 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 182 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 193 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 236 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, NULL ); 242 *surfRet = eglCreateWindowSurface(egl_dpy, config, win, NULL); 258 EGLDisplay egl_dpy, EGLSurface egl_surf) 311 eglSwapBuffers(egl_dpy, egl_surf); 334 EGLDisplay egl_dpy; local in function:main 375 egl_dpy = eglGetDisplay(x_dpy); 376 if (!egl_dpy) { 257 event_loop(Display * dpy,Window win,EGLDisplay egl_dpy,EGLSurface egl_surf) argument [all...] |
| H A D | render_tex.c | 218 draw(EGLDisplay egl_dpy, EGLSurface egl_surf, EGLSurface egl_pbuf, argument 225 if (!eglMakeCurrent(egl_dpy, egl_pbuf, egl_pbuf, egl_ctx)) { 227 if (!eglMakeCurrent(egl_dpy, egl_surf, egl_surf, egl_ctx)) { 235 if (!eglMakeCurrent(egl_dpy, egl_surf, egl_surf, egl_ctx)) { 241 eglBindTexImage(egl_dpy, egl_pbuf, EGL_BACK_BUFFER); 243 eglReleaseTexImage(egl_dpy, egl_pbuf, EGL_BACK_BUFFER); 245 eglSwapBuffers(egl_dpy, egl_surf); 340 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 370 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 378 if (!eglGetConfigAttrib(egl_dpy, confi 438 make_pbuffer(Display * x_dpy,EGLDisplay egl_dpy,int width,int height) argument 478 event_loop(Display * dpy,Window win,EGLDisplay egl_dpy,EGLSurface egl_surf,EGLSurface egl_pbuf,EGLContext egl_ctx) argument 572 EGLDisplay egl_dpy; local in function:main [all...] |
| H A D | pbuffer.c | 150 draw_both(EGLDisplay egl_dpy, EGLSurface egl_surf, EGLSurface egl_pbuf, argument 163 if (!eglMakeCurrent(egl_dpy, egl_surf, egl_surf, egl_ctx)) { 171 eglSwapBuffers(egl_dpy, egl_surf); 174 if (!eglMakeCurrent(egl_dpy, egl_pbuf, egl_pbuf, egl_ctx)) { 299 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 329 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 337 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 376 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, NULL ); 382 *surfRet = eglCreateWindowSurface(egl_dpy, config, win, NULL); 397 make_pbuffer(Display *x_dpy, EGLDisplay egl_dpy, in argument 429 event_loop(Display * dpy,Window win,EGLDisplay egl_dpy,EGLSurface egl_surf,EGLSurface egl_pbuf,EGLContext egl_ctx) argument 515 EGLDisplay egl_dpy; local in function:main [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles2/ |
| H A D | es2_info.c | 77 info(EGLDisplay egl_dpy) argument 81 s = eglQueryString(egl_dpy, EGL_VERSION); 84 s = eglQueryString(egl_dpy, EGL_VENDOR); 87 s = eglQueryString(egl_dpy, EGL_EXTENSIONS); 91 s = eglQueryString(egl_dpy, EGL_CLIENT_APIS); 112 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 152 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 160 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 199 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, ctx_attribs ); 205 *surfRet = eglCreateWindowSurface(egl_dpy, confi 235 EGLDisplay egl_dpy; local in function:main [all...] |
| H A D | es2tri.c | 234 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 275 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs)) { 283 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 326 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, ctx_attribs ); 336 eglQueryContext(egl_dpy, ctx, EGL_CONTEXT_CLIENT_VERSION, &val); 341 *surfRet = eglCreateWindowSurface(egl_dpy, config, win, NULL); 350 eglQuerySurface(egl_dpy, *surfRet, EGL_WIDTH, &val); 352 eglQuerySurface(egl_dpy, *surfRet, EGL_HEIGHT, &val); 354 assert(eglGetConfigAttrib(egl_dpy, config, EGL_SURFACE_TYPE, &val)); 367 EGLDisplay egl_dpy, EGLSurfac 366 event_loop(Display * dpy,Window win,EGLDisplay egl_dpy,EGLSurface egl_surf) argument 439 EGLDisplay egl_dpy; local in function:main [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/egl/openvg/trivial/ |
| H A D | eglcommon.c | 40 make_x_window(Display *x_dpy, EGLDisplay egl_dpy, argument 71 if (!eglChooseConfig( egl_dpy, attribs, &config, 1, &num_configs) || 79 if (!eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &vid)) { 118 ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, NULL ); 124 *surfRet = eglCreateWindowSurface(egl_dpy, config, win, NULL); 139 EGLDisplay egl_dpy, EGLSurface egl_surf) 180 eglSwapBuffers(egl_dpy, egl_surf); 214 EGLDisplay egl_dpy; local in function:run 243 egl_dpy = eglGetDisplay(x_dpy); 244 if (!egl_dpy) { 138 event_loop(Display * dpy,Window win,EGLDisplay egl_dpy,EGLSurface egl_surf) argument [all...] |
| /xsrc/external/mit/libepoxy/dist/test/ |
| H A D | egl_gl.c | 116 EGLDisplay *egl_dpy; local in function:main 126 init_egl(&egl_dpy, &egl_ctx); 127 pass = make_egl_current_and_test(egl_dpy, egl_ctx) && pass;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/glsl_tests/ |
| H A D | amdgcn_glslc.c | 57 static EGLDisplay egl_dpy; variable in typeref:typename:EGLDisplay 87 egl_dpy = eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_MESA, 89 if (unlikely(egl_dpy == EGL_NO_DISPLAY)) { 94 if (unlikely(!eglInitialize(egl_dpy, NULL, NULL))) { 103 const char *extension_string = eglQueryString(egl_dpy, EGL_EXTENSIONS); 118 if (!eglChooseConfig(egl_dpy, config_attribs, &cfg, 1, &count) || 132 ctx = eglCreateContext(egl_dpy, cfg, EGL_NO_CONTEXT, attribs); 138 if (!eglMakeCurrent(egl_dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx)) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/glsl_tests/ |
| H A D | amdgcn_glslc.c | 57 static EGLDisplay egl_dpy; variable in typeref:typename:EGLDisplay 87 egl_dpy = eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_MESA, 89 if (unlikely(egl_dpy == EGL_NO_DISPLAY)) { 94 if (unlikely(!eglInitialize(egl_dpy, NULL, NULL))) { 103 const char *extension_string = eglQueryString(egl_dpy, EGL_EXTENSIONS); 118 if (!eglChooseConfig(egl_dpy, config_attribs, &cfg, 1, &count) || 132 ctx = eglCreateContext(egl_dpy, cfg, EGL_NO_CONTEXT, attribs); 138 if (!eglMakeCurrent(egl_dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx)) {
|
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengl/ |
| H A D | xeglthreads.c | 618 EGLDisplay *egl_dpy = NULL; local in function:main 688 egl_dpy = eglGetDisplay(dpy); 689 if (!egl_dpy) { 694 if (!eglInitialize(egl_dpy, NULL, NULL)) { 720 WinThreads[i].Display = egl_dpy; 754 eglTerminate(egl_dpy);
|