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

  /cts/tests/tests/media/src/android/media/cts/
NdkInputSurface.java 37 static private native boolean eglMakeCurrent(long eglDisplay, long eglSurface, long eglContext);
38 static private native boolean eglSwapBuffers(long eglDisplay, long eglSurface);
39 static private native boolean eglPresentationTimeANDROID(long eglDisplay, long eglSurface, long nsecs);
40 static private native int eglGetWidth(long eglDisplay, long eglSurface);
41 static private native int eglGetHeight(long eglDisplay, long eglSurface);
42 static private native boolean eglDestroySurface(long eglDisplay, long eglSurface);
43 static private native void nativeRelease(long eglDisplay, long eglSurface, long eglContext, long nativeWindow);
104 Log.d(TAG, "re-create EGLSurface");
DecodeAccuracyTestBase.java 83 import javax.microedition.khronos.egl.EGLSurface;
    [all...]
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
EglBase14.java 37 import android.opengl.EGLSurface;
44 * and an EGLSurface.
54 private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE;
80 // Create EGLSurface from the Android Surface.
86 // Create EGLSurface from the Android SurfaceTexture.
92 // Create EGLSurface from either Surface or SurfaceTexture.
98 if (eglSurface != EGL14.EGL_NO_SURFACE) {
99 throw new RuntimeException("Already has an EGLSurface");
102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0)
    [all...]
EglBase10.java 40 import javax.microedition.khronos.egl.EGLSurface;
44 * and an EGLSurface.
54 private EGLSurface eglSurface = EGL10.EGL_NO_SURFACE;
141 // Create EGLSurface from the Android SurfaceTexture.
147 // Create EGLSurface from either a SurfaceHolder or a SurfaceTexture.
153 if (eglSurface != EGL10.EGL_NO_SURFACE) {
154 throw new RuntimeException("Already has an EGLSurface");
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs);
158 if (eglSurface == EGL10.EGL_NO_SURFACE)
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
FramebufferTest.java 26 import android.opengl.EGLSurface;
318 * Destroys the specified surface. Note the EGLSurface won't actually be destroyed if it's
321 public void releaseSurface(EGLSurface eglSurface) {
322 EGL14.eglDestroySurface(mEGLDisplay, eglSurface);
330 public EGLSurface createWindowSurface(Object surface) {
339 EGLSurface eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mEGLConfig, surface,
342 if (eglSurface == null) {
345 return eglSurface;
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
OGLES2HelloAPI_LinuxX11.cpp 295 @Output eglSurface The EGLSurface created from the native window.
297 @Description Creates an EGLSurface from a native window
299 bool CreateEGLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface& eglSurface)
301 /* Create an EGLSurface for rendering.
310 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL);
323 @Input eglSurface The EGLSurface created from the native window.
329 bool SetupEGLContext( EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface eglSurface, EGLContext& eglContext )
    [all...]
OGLES2HelloAPI_Windows.cpp 160 EGLSurface eglSurface = 0;
309 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, eglWindow, NULL);
311 if(eglSurface == EGL_NO_SURFACE)
314 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, NULL, NULL);
345 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
512 eglSwapBuffers(eglDisplay, eglSurface);
OGLES2HelloAPI_OSX.mm 60 EGLSurface m_Surface;
192 @Output eglSurface The EGLSurface created
197 @Description Creates an EGLSurface for the screen
199 - (BOOL) createEGLSurface:(EGLSurface &)eglSurface fromDisplay:(EGLDisplay)eglDisplay withConfig:(EGLConfig)eglConfig
202 /* Create an EGLSurface for rendering.
212 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)view, NULL);
226 @Input eglSurface The EGLSurface created by the applicatio
    [all...]
  /external/swiftshader/src/OpenGL/libEGL/
libEGL.cpp 333 EGLSurface CreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list)
353 EGLSurface CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list)
362 EGLSurface CreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType window, const EGLint *attrib_list)
371 EGLSurface CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
386 EGLSurface CreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list)
403 EGLSurface CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list)
412 EGLSurface CreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
421 EGLBoolean DestroySurface(EGLDisplay dpy, EGLSurface surface)
423 TRACE("(EGLDisplay dpy = %p, EGLSurface surface = %p)", dpy, surface);
426 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface)
    [all...]
  /cts/tests/tests/media/libmediandkjni/
native-media-jni.cpp     [all...]
  /external/deqp/modules/egl/
teglRenderCase.cpp 60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit)
143 EGLSurface eglSurface = createWindowSurface(nativeDisplay, *window, display, config, DE_NULL);
144 eglu::UniqueSurface surface (egl, display, eglSurface);
167 EGLSurface eglSurface = createPixmapSurface(nativeDisplay, *pixmap, display, config, DE_NULL);
168 eglu::UniqueSurface surface (egl, display, eglSurface);
223 void SingleContextRenderCase::executeForSurface (EGLDisplay display, EGLSurface surface, const Config& config)
308 void MultiContextRenderCase::executeForSurface (EGLDisplay display, EGLSurface surface, const Config& config)
teglNegativePartialUpdateTests.cpp 76 EGLSurface m_eglSurface;
118 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglSurface, EGLConfig eglConfig, const EGLint* attribList)
125 TCU_CHECK(eglSurface != EGL_NO_SURFACE);
126 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
teglResizeTests.cpp 175 const EGLSurface eglSurface = eglu::createWindowSurface(nativeDisplay,
180 MovePtr<UniqueSurface> surface (new UniqueSurface(egl, eglDisplay, eglSurface));
330 EGLSurface eglSurface,
336 IVec2 eglSize = eglu::getSurfaceSize(egl, eglDisplay, eglSurface);
teglGLES2SharingThreadedTests.cpp 184 EGLSurface surface;
219 EGLSurface eglSurface;
227 , eglSurface (EGL_NO_SURFACE)
241 egl.destroySurface(runtimeContext->display, eglSurface);
242 eglSurface = EGL_NO_SURFACE;
708 thread.eglSurface = m_surface->surface;
    [all...]
  /device/generic/goldfish-opengl/system/egl/
egl.cpp 340 s_display.onCreateSurface((EGLSurface)this);
350 s_display.onDestroySurface((EGLSurface)this);
638 static void s_destroyPendingSurfaceAndSetNull(EGLSurface* surface) {
1032 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
1062 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
    [all...]

Completed in 396 milliseconds