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

  /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;
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 53 private EGLContext mEglContext;
135 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
138 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
151 mGl = (GL10) mEglContext.getGL();
159 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
164 mEglContext = null;
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderer.java 161 EGLContext mEglContext;
280 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
282 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
313 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
323 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
329 mGL = (GL10) mEglContext.getGL();
347 if (mEglContext != null) {
348 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 144 private EGLContext mEglContext;
348 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
353 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
355 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
382 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
396 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
401 mGL = mEglContext.getGL();
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 34 mEglContext(EGL_NO_CONTEXT) {
72 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
74 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
86 eglDestroyContext(mEglDisplay, mEglContext);
111 EGLContext mEglContext;
653 mEglContext(EGL_NO_CONTEXT) {
682 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT,
685 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
707 if (mEglContext != EGL_NO_CONTEXT)
    [all...]
SurfaceTexture_test.cpp 46 mEglContext(EGL_NO_CONTEXT) {
113 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
116 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
119 mEglContext));
144 if (mEglContext != EGL_NO_CONTEXT) {
145 eglDestroyContext(mEglDisplay, mEglContext);
283 EGLContext mEglContext;
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/base/core/java/android/view/
HardwareRenderer.java 601 EGLContext mEglContext;
821 mEglContext = managedContext != null ? managedContext.getContext() : null;
824 if (mEglContext == null) {
825 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig);
826 sEglContextStorage.set(createManagedContext(mEglContext));
919 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
928 return mEglContext.getGL();
    [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/native/include/gui/
SurfaceTexture.h 360 // mEglContext is the OpenGL ES context with which this SurfaceTexture is
364 EGLContext mEglContext;
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /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/native/libs/gui/
SurfaceTexture.cpp 120 mEglContext(EGL_NO_CONTEXT),
209 if ((mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) ||
216 mEglContext = ctx;
355 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
382 mEglContext = EGL_NO_CONTEXT;
454 mEglContext = ctx;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 117 private EGLContext mEglContext;
559 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
582 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
596 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
601 mGL = mEglContext.getGL();

Completed in 826 milliseconds