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

  /cts/tests/tests/graphics/src/android/opengl/cts/
EglContextTest.java 22 import android.opengl.EGLContext;
41 EGLContext eglContext = null;
44 eglContext = createEglContext(eglDisplay);
45 destroyEglContext(eglDisplay, eglContext);
47 eglContext = null;
50 if (eglContext != null) {
51 EGL14.eglDestroyContext(eglDisplay, eglContext);
81 private static EGLContext createEglContext(EGLDisplay eglDisplay) {
83 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay
    [all...]
  /external/deqp/modules/egl/
teglImageTests.cpp 193 void checkCreate (const char* desc, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError);
199 CHECK_CREATE("Testing bad context (-1)...", m_display, (EGLContext)-1, EGL_NONE, EGL_BAD_CONTEXT);
209 void InvalidCreateImage::checkCreate (const char* msg, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError)
260 EGLContext getEglContext (void) const { return *m_context; }
369 const EGLContext eglContext = context.getEglContext();
377 const EGLImageKHR image = m_source->createImage(egl, dpy, eglContext, clientBuffer->get());
teglNegativePartialUpdateTests.cpp 77 EGLContext m_eglContext;
118 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglSurface, EGLConfig eglConfig, const EGLint* attribList)
120 EGLContext eglContext = EGL_NO_CONTEXT;
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList);
126 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
129 return eglContext;
teglResizeTests.cpp 154 EGLContext eglContext = egl.createContext(eglDisplay,
159 MovePtr<UniqueContext> context (new UniqueContext(egl, eglDisplay, eglContext));
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
EglBase10.java 38 import javax.microedition.khronos.egl.EGLContext;
43 * Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay,
51 private EGLContext eglContext;
56 // EGL wrapper for an actual EGLContext.
58 private final EGLContext eglContext;
60 public Context(EGLContext eglContext) {
61 this.eglContext = eglContext
    [all...]
EglBase14.java 34 import android.opengl.EGLContext;
43 * Holds EGL state and utility methods for handling an EGL14 EGLContext, an EGLDisplay,
51 private EGLContext eglContext;
65 private final android.opengl.EGLContext egl14Context;
67 Context(android.opengl.EGLContext eglContext) {
68 this.egl14Context = eglContext;
77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig);
128 return new EglBase14.Context(eglContext);
    [all...]
VideoRendererGui.java 35 import javax.microedition.khronos.egl.EGLContext;
56 // |instance|, |instance.surface|, |eglContext|, and |eglContextReady| are synchronized on
62 private static EglBase.Context eglContext = null;
97 // currently leaking resources to avoid a rare crash in release() where the EGLContext has
422 return eglContext;
440 eglContext = null;
612 eglContext = new EglBase14.Context(EGL14.eglGetCurrentContext());
614 eglContext = new EglBase10.Context(((EGL10) EGLContext.getEGL()).eglGetCurrentContext());
617 Logging.d(TAG, "VideoRendererGui EGL Context: " + eglContext);
    [all...]
  /frameworks/native/opengl/tests/gl_basic/
gl_basic.cpp 20 EGLContext eglContext;
250 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
286 eglDestroyContext( eglDisplay, eglContext );
  /frameworks/native/opengl/tests/tritex/
tritex.cpp 22 EGLContext eglContext;
154 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
175 eglDestroyContext( eglDisplay, eglContext );
  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 24 import android.opengl.EGLContext;
271 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay, eglConfig, EGL14.EGL_NO_CONTEXT,
273 EGL14.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
284 EGL14.eglDestroyContext(eglDisplay, eglContext);
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidGraphics.java 24 import javax.microedition.khronos.egl.EGLContext;
82 EGLContext eglContext;
192 EGL10 egl = (EGL10)EGLContext.getEGL();
286 eglContext = ((EGL10)EGLContext.getEGL()).eglGetCurrentContext();
310 EGL10 egl = (EGL10)EGLContext.getEGL();
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 34 import javax.microedition.khronos.egl.EGLContext;
66 private EGLContext mContext;
73 private static HashMap<EGLContext, ImageShader> mIdShaders
74 = new HashMap<EGLContext, ImageShader>();
76 private static HashMap<EGLContext, EGLSurface> mDisplaySurfaces
77 = new HashMap<EGLContext, EGLSurface>();
87 EGL10 egl = (EGL10) EGLContext.getEGL();
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig);
92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java 72 import javax.microedition.khronos.egl.EGLContext;
855 private EGLContext eglContext = null;
899 egl10 = (EGL10) EGLContext.getEGL();
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl/libs/
lwjgl.jar 

Completed in 577 milliseconds