HomeSort by relevance Sort by last modified time
    Searched refs:mEgl (Results 1 - 14 of 14) sorted by null

  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 45 private EGL10 mEgl;
79 mEgl = (EGL10) EGLContext.getEGL();
81 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
84 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
88 if (!mEgl.eglInitialize(mEglDisplay, version)) {
90 GLUtils.getEGLErrorString(mEgl.eglGetError()));
106 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) {
114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs);
116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
119 int error = mEgl.eglGetError()
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 68 private EGL10 mEgl;
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.eglInitialize(mEglDisplay, version))
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
BlockingGLTextureView.java 108 EGL10 mEgl;
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.eglGetError()
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 108 EGL10 mEgl;
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.eglGetError()
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
BlockingGLTextureView.java 108 EGL10 mEgl;
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.eglGetError()
    [all...]
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 59 private EGL10 mEgl;
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.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
SurfaceTextureRenderer.java 43 private EGL10 mEgl;
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, mEglDisplay)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderer.java 158 EGL10 mEgl;
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.eglGetError()))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 140 private EGL10 mEgl;
238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
333 int error = mEgl.eglGetError();
347 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
356 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
362 mEgl = (EGL10) EGLContext.getEGL()
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 126 private EGL10 mEgl;
555 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
655 int error = mEgl.eglGetError();
669 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
670 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
671 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
672 mEgl.eglTerminate(mEglDisplay);
676 mEgl = (EGL10) EGLContext.getEGL();
678 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
681 GLUtils.getEGLErrorString(mEgl.eglGetError()))
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 64 private EGL10 mEgl;
119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay);
124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null);
128 checkEglError(mEgl, "eglCreateWindowSurface");
129 checkSurface(mEgl, eglSurf);
138 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay);
143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null);
147 checkEglError(mEgl, "eglCreateWindowSurface");
148 checkSurface(mEgl, eglSurf);
157 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java     [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]

Completed in 1065 milliseconds