/sdk/emulator/opengl/host/libs/libOpenglRender/ |
EGLDispatch.cpp | 21 EGLDispatch s_egl; variable 36 s_egl.eglGetError = (eglGetError_t) lib->findSymbol("eglGetError"); 37 s_egl.eglGetDisplay = (eglGetDisplay_t) lib->findSymbol("eglGetDisplay"); 38 s_egl.eglInitialize = (eglInitialize_t) lib->findSymbol("eglInitialize"); 39 s_egl.eglTerminate = (eglTerminate_t) lib->findSymbol("eglTerminate"); 40 s_egl.eglQueryString = (eglQueryString_t) lib->findSymbol("eglQueryString"); 41 s_egl.eglGetConfigs = (eglGetConfigs_t) lib->findSymbol("eglGetConfigs"); 42 s_egl.eglChooseConfig = (eglChooseConfig_t) lib->findSymbol("eglChooseConfig"); 43 s_egl.eglGetConfigAttrib = (eglGetConfigAttrib_t) lib->findSymbol("eglGetConfigAttrib"); 44 s_egl.eglCreateWindowSurface = (eglCreateWindowSurface_t) lib->findSymbol("eglCreateWindowSurface") [all...] |
WindowSurface.cpp | 44 s_egl.eglDestroySurface(FrameBuffer::getFB()->getDisplay(), m_eglSurface); 156 EGLContext prevContext = s_egl.eglGetCurrentContext(); 157 EGLSurface prevReadSurf = s_egl.eglGetCurrentSurface(EGL_READ); 158 EGLSurface prevDrawSurf = s_egl.eglGetCurrentSurface(EGL_DRAW); 160 if (!s_egl.eglMakeCurrent(fb->getDisplay(), m_eglSurface, 168 s_egl.eglMakeCurrent(fb->getDisplay(), prevDrawSurf, 184 EGLContext prevContext = s_egl.eglGetCurrentContext(); 185 EGLSurface prevReadSurf = s_egl.eglGetCurrentSurface(EGL_READ); 186 EGLSurface prevDrawSurf = s_egl.eglGetCurrentSurface(EGL_DRAW); 193 s_egl.eglMakeCurrent(fb->getDisplay(), EGL_NO_SURFACE [all...] |
FrameBuffer.cpp | 42 if (!s_egl.eglChooseConfig(p_dpy, configAttribs, 53 surface = s_egl.eglCreatePbufferSurface(p_dpy, config, pbufAttribs); 63 EGLContext ctx = s_egl.eglCreateContext(p_dpy, config, 67 s_egl.eglDestroySurface(p_dpy, surface); 71 if (!s_egl.eglMakeCurrent(p_dpy, surface, surface, ctx)) { 72 s_egl.eglDestroySurface(p_dpy, surface); 73 s_egl.eglDestroyContext(p_dpy, ctx); 82 s_egl.eglMakeCurrent(p_dpy, NULL, NULL, NULL); 83 s_egl.eglDestroyContext(p_dpy, ctx); 84 s_egl.eglDestroySurface(p_dpy, surface) [all...] |
RenderContext.cpp | 51 c->m_ctx = s_egl.eglCreateContext(FrameBuffer::getFB()->getDisplay(), 74 s_egl.eglDestroyContext(FrameBuffer::getFB()->getDisplay(), m_ctx);
|
FBConfig.cpp | 82 if (!s_egl.eglGetConfigs(dpy, NULL, 0, &nConfigs)) { 87 s_egl.eglGetConfigs(dpy, configs, nConfigs, &nConfigs); 103 s_egl.eglGetConfigAttrib(dpy, configs[i], 111 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_RED_SIZE, &redSize); 112 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_BLUE_SIZE, &blueSize); 113 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_GREEN_SIZE, &greenSize); 161 if (!s_egl.eglGetConfigs(dpy, NULL, 0, &nConfigs)) { 206 s_egl.eglChooseConfig(dpy, newAttribs, matchedConfigs, nConfigs, &nConfigs); 217 s_egl.eglGetConfigAttrib(dpy, matchedConfigs[matchedIdx], EGL_CONFIG_ID, &sCfgId); 242 s_egl.eglGetConfigAttrib(p_eglDpy, p_eglCfg, s_configAttribs[i], &m_attribValues[i]) [all...] |
RenderThread.cpp | 149 EGLDisplay eglDpy = s_egl.eglGetCurrentDisplay(); 151 s_egl.eglMakeCurrent(eglDpy,
|
ColorBuffer.cpp | 95 cb->m_eglImage = s_egl.eglCreateImageKHR(fb->getDisplay(), 96 s_egl.eglGetCurrentContext(), 101 cb->m_blitEGLImage = s_egl.eglCreateImageKHR(fb->getDisplay(), 102 s_egl.eglGetCurrentContext(), 144 s_egl.eglDestroyImageKHR(fb->getDisplay(), m_blitEGLImage); 147 s_egl.eglDestroyImageKHR(fb->getDisplay(), m_eglImage);
|
EGLDispatch.h | 70 extern EGLDispatch s_egl;
|
RenderControl.cpp | 50 const char *str = s_egl.eglQueryString(fb->getDisplay(), name);
|
/device/generic/goldfish/opengl/system/GLESv1/ |
gl.cpp | 35 static EGLClient_eglInterface * s_egl = NULL; variable 116 if (s_egl) { 117 return (const GLubyte*)s_egl->getGLString(name); 133 s_egl = eglIface;
|
/device/generic/goldfish/opengl/system/GLESv2/ |
gl2.cpp | 35 static EGLClient_eglInterface * s_egl = NULL; variable 113 if (s_egl) { 114 return (const GLubyte*)s_egl->getGLString(name); 130 s_egl = eglIface;
|