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

1 2

  /cts/tests/tests/nativeopengl/standalone/jni/tests/
EGLCreateContext_test.cpp 53 mEglContext(EGL_NO_CONTEXT)
80 if (mEglContext != EGL_NO_CONTEXT) {
81 eglDestroyContext(mEglDisplay, mEglContext);
114 EGLContext mEglContext;
123 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
125 ASSERT_NE(mEglContext, EGL_NO_CONTEXT);
127 ASSERT_EQ(EGL_TRUE, eglDestroyContext(mEglDisplay, mEglContext));
128 mEglContext = EGL_NO_CONTEXT;
132 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
134 ASSERT_EQ(mEglContext, EGL_NO_CONTEXT)
    [all...]
GLTest_test.cpp 40 mEglContext(EGL_NO_CONTEXT) {
84 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
87 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
90 mEglContext));
110 if (mEglContext != EGL_NO_CONTEXT) {
111 eglDestroyContext(mEglDisplay, mEglContext);
184 EGLContext mEglContext;
EGLCleanup_test.cpp 78 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT),
116 EGLContext mEglContext;
208 mEglContext))
272 mEglContext = eglCreateContext(mEglDisplay, eglConfig, EGL_NO_CONTEXT,
274 if (mEglContext == EGL_NO_CONTEXT) {
298 eglDestroyContext(mEglDisplay, mEglContext);
  /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();
136 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
138 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/suite/pts/deviceTests/opengl/jni/graphics/
Renderer.cpp 83 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT), mWorkload(workload) {
110 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs);
111 if (EGL_NO_CONTEXT == mEglContext || EGL_SUCCESS != eglGetError()) {
115 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)
205 if (mEglContext != EGL_NO_CONTEXT) {
206 eglDestroyContext(mEglDisplay, mEglContext);
207 mEglContext = EGL_NO_CONTEXT;
224 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)
Renderer.h 38 EGLContext mEglContext;
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 55 private EGLContext mEglContext;
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
141 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
154 mGl = (GL10) mEglContext.getGL();
162 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
167 mEglContext = null;
  /packages/apps/Camera2/src/com/android/camera/
SurfaceTextureRenderer.java 41 private EGLContext mEglContext;
98 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
103 mEglContext = null;
144 mEglContext = mEgl.eglCreateContext(
147 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
157 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
161 mGl = (GL10) mEglContext.getGL();
  /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...]
  /packages/apps/Launcher3/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/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/
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/
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/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 37 mEglContext(EGL_NO_CONTEXT) {
77 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
79 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
81 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
91 eglDestroyContext(mEglDisplay, mEglContext);
116 EGLContext mEglContext;
184 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext);
198 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
679 mEglContext(EGL_NO_CONTEXT) {
708 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT
    [all...]
  /cts/suite/pts/deviceTests/opengl/jni/primitive/contextswitch/
ContextSwitchRenderer.cpp 108 mContexts[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs);
153 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
220 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java     [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/native/libs/gui/
GLConsumer.cpp 134 mEglContext(EGL_NO_CONTEXT),
474 // if this is the first time we're called, mEglDisplay/mEglContext have
479 if (mEglContext == EGL_NO_DISPLAY) {
480 mEglContext = ctx;
489 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) {
495 mEglContext = ctx;
535 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
562 mEglContext = EGL_NO_CONTEXT;
612 mEglContext = ctx
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 124 private EGLContext mEglContext;
606 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
630 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
631 if (mEglContext == EGL_NO_CONTEXT) {
642 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext);
652 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
672 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /frameworks/av/libvideoeditor/lvpp/
NativeWindowRenderer.h 90 EGLContext mEglContext;
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 59 mEglContext(EGL_NO_CONTEXT) {
123 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
126 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
129 mEglContext));
154 if (mEglContext != EGL_NO_CONTEXT) {
155 eglDestroyContext(mEglDisplay, mEglContext);
343 EGLContext mEglContext;
501 mEglContext));
803 mEglContext));
    [all...]

Completed in 989 milliseconds

1 2