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

  /cts/tests/tests/nativeopengl/standalone/jni/tests/
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;
  /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)
  /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/Gallery2/src/com/android/camera/
MosaicPreviewRenderer.java 55 private EGLContext mEglContext;
139 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
142 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
151 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
155 mGl = (GL10) mEglContext.getGL();
163 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
168 mEglContext = null;
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 109 EGLContext mEglContext;
173 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
175 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
176 mEglContext = null;
230 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
246 return (GL10) mEglContext.getGL();
275 if (mEglContext != null) {
276 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
277 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 34 mEglContext(EGL_NO_CONTEXT) {
73 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
75 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
77 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
87 eglDestroyContext(mEglDisplay, mEglContext);
112 EGLContext mEglContext;
180 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext);
194 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
683 mEglContext(EGL_NO_CONTEXT) {
712 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT
    [all...]
SurfaceTexture_test.cpp 49 mEglContext(EGL_NO_CONTEXT) {
116 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
119 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
122 mEglContext));
147 if (mEglContext != EGL_NO_CONTEXT) {
148 eglDestroyContext(mEglDisplay, mEglContext);
284 EGLContext mEglContext;
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java     [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 123 private EGLContext mEglContext;
604 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
628 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
629 if (mEglContext == EGL_NO_CONTEXT) {
640 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext);
650 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
670 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /frameworks/native/libs/gui/
GLConsumer.cpp 95 mEglContext(EGL_NO_CONTEXT),
323 if ((mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) ||
330 mEglContext = ctx;
369 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
396 mEglContext = EGL_NO_CONTEXT;
446 mEglContext = ctx;
786 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /frameworks/av/libvideoeditor/lvpp/
NativeWindowRenderer.h 90 EGLContext mEglContext;
NativeWindowRenderer.cpp 213 mEglContext = eglCreateContext(mEglDisplay, config, EGL_NO_CONTEXT,
217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
222 eglDestroyContext(mEglDisplay, mEglContext);
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 57 mEglContext(EGL_NO_CONTEXT) {
121 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
124 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
127 mEglContext));
152 if (mEglContext != EGL_NO_CONTEXT) {
153 eglDestroyContext(mEglDisplay, mEglContext);
341 EGLContext mEglContext;
499 mEglContext));
801 mEglContext));
    [all...]
  /frameworks/base/services/java/com/android/server/power/
ElectronBeam.java 89 private EGLContext mEglContext;
476 if (mEglContext == null) {
480 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
482 if (mEglContext == null) {
492 if (mEglContext != null) {
493 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) {
496 mEglContext = null;
599 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /frameworks/base/core/java/android/view/
HardwareRenderer.java 774 EGLContext mEglContext;
    [all...]
  /frameworks/native/include/gui/
GLConsumer.h 265 // to mEglDisplay and mEglContext. If the fields have been previously
392 // mEglContext is the OpenGL ES context with which this GLConsumer is
396 EGLContext mEglContext;

Completed in 844 milliseconds