HomeSort by relevance Sort by last modified time
    Searched defs:eglContext (Results 1 - 7 of 7) 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 188 void checkCreate (const char* desc, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError);
194 CHECK_CREATE("Testing bad context (-1)...", m_display, (EGLContext)-1, EGL_NONE, EGL_BAD_CONTEXT);
204 void InvalidCreateImage::checkCreate (const char* msg, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError)
255 EGLContext getEglContext (void) const { return *m_context; }
353 const EGLContext eglContext = context.getEglContext();
358 const EGLImageKHR image = m_source->createImage(egl, dpy, eglContext, clientBuffer->get());
teglResizeTests.cpp 154 EGLContext eglContext = egl.createContext(eglDisplay,
159 MovePtr<UniqueContext> context (new UniqueContext(egl, eglDisplay, eglContext));
  /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);
  /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...]

Completed in 641 milliseconds