HomeSort by relevance Sort by last modified time
    Searched refs:mEglContext (Results 1 - 25 of 36) sorted by null

1 2

  /frameworks/av/cmds/screenrecord/
EglWindow.h 36 mEglContext(EGL_NO_CONTEXT),
76 EGLContext mEglContext;
EglWindow.cpp 93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
151 if (mEglContext == EGL_NO_CONTEXT) {
165 if (mEglContext != EGL_NO_CONTEXT) {
166 eglDestroyContext(mEglDisplay, mEglContext);
175 mEglContext = EGL_NO_CONTEXT;
  /packages/apps/Camera2/src/com/android/camera/
SurfaceTextureRenderer.java 42 private EGLContext mEglContext;
80 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
85 mEglContext = null;
129 mEglContext = mEgl.eglCreateContext(
132 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
142 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
146 mGl = (GL10) mEglContext.getGL();
  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 47 private EGLContext mEglContext = EGL10.EGL_NO_CONTEXT;
114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs);
127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
132 mGl = mEglContext.getGL();
137 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
139 mEglContext = EGL10.EGL_NO_CONTEXT;
  /development/ndk/platforms/android-18/samples/gles3jni/jni/
RendererES2.cpp 53 const EGLContext mEglContext;
75 : mEglContext(eglGetCurrentContext()),
108 if (eglGetCurrentContext() != mEglContext)
RendererES3.cpp 65 const EGLContext mEglContext;
81 : mEglContext(eglGetCurrentContext()),
132 if (eglGetCurrentContext() != mEglContext)
  /cts/tests/openglperf2/jni/graphics/
Renderer.cpp 92 mEglContext(EGL_NO_CONTEXT), mWindow(window) {
111 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs);
112 EGL_RESULT_CHECK(mEglContext != EGL_NO_CONTEXT);
114 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
125 if (mEglContext != EGL_NO_CONTEXT) {
126 eglDestroyContext(mEglDisplay, mEglContext);
127 mEglContext = EGL_NO_CONTEXT;
143 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
229 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
Renderer.h 38 EGLContext mEglContext;
  /frameworks/native/libs/gui/tests/
GLTest.h 41 mEglContext(EGL_NO_CONTEXT),
66 EGLContext mEglContext;
SRGB_test.cpp 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE),
67 if (mEglContext != EGL_NO_CONTEXT) {
68 eglDestroyContext(mEglDisplay, mEglContext);
240 EGLContext mEglContext;
276 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
279 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
287 mEglContext));
447 mEglContext));
459 mEglContext));
SurfaceTextureMultiContextGL.h 63 mEglContext));
GLTest.cpp 90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
93 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
96 mEglContext));
121 if (mEglContext != EGL_NO_CONTEXT) {
122 eglDestroyContext(mEglDisplay, mEglContext);
SurfaceTextureGLToGL_test.cpp 120 mEglContext));
179 mEglContext));
226 mEglContext));
371 mEglContext));
435 mEglContext));
499 mEglContext));
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
BlockingGLTextureView.java 112 EGLContext mEglContext;
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
179 mEglContext = null;
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
249 return (GL10) mEglContext.getGL();
278 if (mEglContext != null) {
279 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
280 mEglContext = null
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 112 EGLContext mEglContext;
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
179 mEglContext = null;
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
249 return (GL10) mEglContext.getGL();
278 if (mEglContext != null) {
279 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
280 mEglContext = null
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
TextureViewCtsActivity.java 63 private EGLContext mEglContext;
168 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
169 mEglContext = null;
226 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
237 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /frameworks/base/libs/hwui/renderthread/
EglManager.cpp 92 , mEglContext(EGL_NO_CONTEXT)
184 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs);
185 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT,
254 eglDestroyContext(mEglDisplay, mEglContext);
261 mEglContext = EGL_NO_CONTEXT;
273 if (!eglMakeCurrent(mEglDisplay, surface, surface, mEglContext)) {
EglManager.h 104 EGLContext mEglContext;
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 70 private EGLContext mEglContext;
145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
195 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
  /packages/apps/Nfc/src/com/android/nfc/beam/
FireflyRenderer.java 161 EGLContext mEglContext;
281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
314 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
330 mGL = (GL10) mEglContext.getGL();
348 if (mEglContext != null) {
349 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
SingleFrameTextureViewTestActivity.java 87 private EGLContext mEglContext;
121 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
159 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
GLTextureViewActivity.java 143 private EGLContext mEglContext;
347 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
400 mGL = mEglContext.getGL();
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
ImageFlipRenderThread.java 97 private EGLContext mEglContext;
300 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
305 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
334 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
348 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /cts/tests/openglperf2/jni/primitive/contextswitch/
ContextSwitchRenderer.cpp 109 mContexts[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs);
155 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
230 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java     [all...]

Completed in 1937 milliseconds

1 2