Searched refs:mEgl (Results 1 - 6 of 6) sorted by relevance

/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java68 private EGL10 mEgl; field in class:ColorsGLRenderer
135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
149 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
155 mEgl = (EGL10) EGLContext.getEGL();
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
160 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
164 if (!mEgl
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DBlockingGLTextureView.java108 EGL10 mEgl; field in class:BlockingGLTextureView.EglHelper
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
120 GLUtils.getEGLErrorString(mEgl.eglGetError()));
152 mEgl = (EGL10) EGLContext.getEGL();
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
167 if (!mEgl.eglInitialize(mEglDisplay, version)) {
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
196 if (mEgl == null) {
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
222 int error = mEgl
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
H A DBlockingGLTextureView.java108 EGL10 mEgl; field in class:BlockingGLTextureView.EglHelper
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
120 GLUtils.getEGLErrorString(mEgl.eglGetError()));
152 mEgl = (EGL10) EGLContext.getEGL();
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
167 if (!mEgl.eglInitialize(mEglDisplay, version)) {
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
196 if (mEgl == null) {
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
222 int error = mEgl
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DMosaicPreviewRenderer.java59 private EGL10 mEgl; field in class:MosaicPreviewRenderer
108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
125 mEgl = (EGL10) EGLContext.getEGL();
126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
131 if (!mEgl.eglInitialize(mEglDisplay, version)) {
137 mEglConfig = chooseConfig(mEgl, mEglDisplay);
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
144 mEglSurface = mEgl.eglCreateWindowSurface(
150 if (!mEgl
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DSurfaceTextureRenderer.java43 private EGL10 mEgl; field in class:SurfaceTextureRenderer
56 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
99 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
100 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
101 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
103 mEgl.eglTerminate(mEglDisplay);
133 mEgl = (EGL10) EGLContext.getEGL();
134 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
139 if (!mEgl.eglInitialize(mEglDisplay, version)) {
145 mEglConfig = chooseConfig(mEgl, mEglDispla
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DFireflyRenderer.java158 EGL10 mEgl; field in class:FireflyRenderer.FireflyRenderThread
204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
285 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
292 mEgl = (EGL10) EGLContext.getEGL();
294 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
297 GLUtils.getEGLErrorString(mEgl
[all...]

Completed in 903 milliseconds