Searched refs:s_egl (Results 1 – 8 of 8) sorted by relevance
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/ |
D | EGLDispatch.cpp | 22 EGLDispatch s_egl; variable 27 s_egl.function_name = (function_name##_t)dlsym(handle, #function_name); 30 if ((!s_egl.function_name) && s_egl.eglGetProcAddress) \ 31 s_egl.function_name = (function_name##_t)s_egl.eglGetProcAddress(#function_name); 34 if (s_egl.eglGetProcAddress) \ 35 s_egl.function_name = (function_name##_t)s_egl.eglGetProcAddress(#function_name); \ 36 if (!s_egl.function_name || !s_egl.eglGetProcAddress) \
|
D | GLESv3Dispatch.cpp | 29 if ((!s_gles3.function_name) && s_egl.eglGetProcAddress) \ 30 s_gles3.function_name = (function_name##_t)s_egl.eglGetProcAddress(#function_name);
|
D | GLESv1Dispatch.cpp | 29 if ((!s_gles1.function_name) && s_egl.eglGetProcAddress) \ 30 s_gles1.function_name = (function_name##_t)s_egl.eglGetProcAddress(#function_name);
|
D | EGLDispatch.h | 41 extern EGLDispatch s_egl;
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | AVDVirglRenderer.cpp | 316 g_dpy = s_egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in virgl_renderer_init() 322 if (!s_egl.eglInitialize(g_dpy, nullptr, nullptr)) { in virgl_renderer_init() 329 if (!s_egl.eglGetConfigs(g_dpy, nullptr, 0, &nConfigs)) { in virgl_renderer_init() 331 s_egl.eglTerminate(g_dpy); in virgl_renderer_init() 337 if (!s_egl.eglGetConfigs(g_dpy, configs, nConfigs, &nConfigs)) { in virgl_renderer_init() 339 s_egl.eglTerminate(g_dpy); in virgl_renderer_init() 353 if (!s_egl.eglGetConfigAttrib(g_dpy, configs[c], EGL_CONFIG_ID, &configId)) { in virgl_renderer_init() 355 s_egl.eglTerminate(g_dpy); in virgl_renderer_init() 360 new (std::nothrow) EglConfig(g_dpy, configs[c], s_egl.eglGetConfigAttrib); in virgl_renderer_init() 374 if (!s_egl.eglChooseConfig(g_dpy, attrib_list, &config, 1, &num_config) || num_config != 1) { in virgl_renderer_init() [all …]
|
D | RenderControl.cpp | 216 return s_egl.eglInitialize(rc->dpy, major, minor); in rcGetEGLVersion() 221 const char* str = s_egl.eglQueryString(rc->dpy, name); in rcQueryEGLString() 333 EGLBoolean ret = s_egl.eglChooseConfig(rc->dpy, attribs, configs, configs_size, &num_config); in rcChooseConfig() 341 if (s_egl.eglGetConfigAttrib(rc->dpy, configs[i], EGL_CONFIG_ID, &config_id)) { in rcChooseConfig() 408 s_egl.eglCreateContext(rc->dpy, config->config, share_context, attrib_list); in rcCreateContext() 415 s_egl.eglDestroyContext(rc->dpy, context_); in rcCreateContext() 431 s_egl.eglDestroyContext(rc->dpy, context->context); in rcDestroyContext() 462 s_egl.eglDestroySurface(rc->dpy, surface->surface); in rcDestroyWindowSurface() 500 surface->surface = s_egl.eglCreatePbufferSurface(rc->dpy, surface->config, attrib_list); in rcSetWindowColorBuffer() 521 s_egl.eglCreateWindowSurface(rc->dpy, surface->config, native_window, nullptr); in rcSetWindowColorBuffer() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1/ |
D | gl.cpp | 35 static EGLClient_eglInterface * s_egl = NULL; variable 156 if (s_egl) { in my_glGetString() 157 return (const GLubyte*)s_egl->getGLString(name); in my_glGetString() 180 s_egl = eglIface; in init_emul_gles()
|
/device/generic/goldfish-opengl/system/GLESv2/ |
D | gl2.cpp | 35 static EGLClient_eglInterface * s_egl = NULL; variable 159 if (s_egl) { in my_glGetString() 160 return (const GLubyte*)s_egl->getGLString(name); in my_glGetString() 182 s_egl = eglIface; in init_emul_gles()
|