Lines Matching refs:sEglDisplay

766         static EGLDisplay sEglDisplay;
1019 sEglDisplay = sEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
1021 if (sEglDisplay == EGL_NO_DISPLAY) {
1028 if (!sEgl.eglInitialize(sEglDisplay, version)) {
1044 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig);
1076 sEgl.eglChooseConfig(sEglDisplay, configSpec, null, 0, configsCount);
1079 sEgl.eglChooseConfig(sEglDisplay, configSpec, debugConfigs,
1087 if (!sEgl.eglChooseConfig(sEglDisplay, configSpec, configs, 1, configsCount)) {
1105 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_RED_SIZE, value);
1108 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_GREEN_SIZE, value);
1111 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_BLUE_SIZE, value);
1114 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_ALPHA_SIZE, value);
1117 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_DEPTH_SIZE, value);
1120 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_STENCIL_SIZE, value);
1123 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_SAMPLE_BUFFERS, value);
1126 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_SAMPLES, value);
1129 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_SURFACE_TYPE, value);
1132 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_CONFIG_CAVEAT, value);
1141 if (sEglDisplay == null) {
1219 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
1220 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1229 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
1232 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1251 mEglSurface = sEgl.eglCreateWindowSurface(sEglDisplay, sEglConfig, surface, null);
1263 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1510 sEgl.eglSwapBuffers(sEglDisplay, mEglSurface);
1590 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1731 if (EGLImpl.getInitCount(sEglDisplay) == 1) {
1735 sEgl.eglDestroyContext(sEglDisplay, eglContext);
1739 sEgl.eglDestroySurface(sEglDisplay, sPbuffer);
1740 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE,
1744 sEgl.eglTerminate(sEglDisplay);
1747 sEglDisplay = null;
2013 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE,
2106 if (sEgl != null && sEglDisplay != null) {
2107 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
2116 sPbuffer = sEgl.eglCreatePbufferSurface(sEglDisplay, sEglConfig, new int[] {
2121 sEgl.eglMakeCurrent(sEglDisplay, sPbuffer, sPbuffer, eglContext);