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

  /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;
321 * Destroys the specified surface. Note the EGLSurface won't actually be destroyed if it's
324 public void releaseSurface(EGLSurface eglSurface) {
325 EGL14.eglDestroySurface(mEGLDisplay, eglSurface);
333 public EGLSurface createWindowSurface(Object surface) {
342 EGLSurface eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mEGLConfig, surface,
345 if (eglSurface == null) {
348 return eglSurface;
    [all...]
  /frameworks/native/opengl/tests/tritex/
tritex.cpp 21 EGLSurface eglSurface;
147 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
176 eglDestroySurface( eglDisplay, eglSurface );
261 eglSwapBuffers(eglDisplay, eglSurface);
264 eglSwapBuffers(eglDisplay, eglSurface);
273 eglSwapBuffers(eglDisplay, eglSurface);
  /frameworks/native/opengl/tests/gl_basic/
gl_basic.cpp 19 EGLSurface eglSurface;
243 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
264 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w);
266 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h);
287 eglDestroySurface( eglDisplay, eglSurface );
364 eglSwapBuffers(eglDisplay, eglSurface);
  /frameworks/native/opengl/tests/EGLTest/
EGL_test.cpp 109 // Create a EGLSurface
117 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config,
120 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ;
122 // do not destroy eglSurface
  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 26 import android.opengl.EGLSurface;
262 EGLSurface eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig,
273 EGL14.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
283 EGL14.eglDestroySurface(eglDisplay, eglSurface);
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 27 import android.opengl.EGLSurface;
72 EGLSurface eglSurface;
464 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs,
485 holder.eglSurface =
500 if (holder.eglSurface != null) {
501 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
507 if (holder.eglSurface != null) {
508 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
523 private void makeCurrent(EGLSurface surface)
    [all...]
  /frameworks/native/services/surfaceflinger/
DisplayDevice.cpp 62 inline void eglSetSwapRectangleANDROID (EGLDisplay, EGLSurface, EGLint, EGLint, EGLint, EGLint) {
114 EGLSurface eglSurface;
123 eglSurface = eglCreateWindowSurface(display, config, window, NULL);
124 eglQuerySurface(display, eglSurface, EGL_WIDTH, &mDisplayWidth);
125 eglQuerySurface(display, eglSurface, EGL_HEIGHT, &mDisplayHeight);
139 mSurface = eglSurface;
209 EGLSurface DisplayDevice::getEGLSurface() const {
349 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW);
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 122 EGLSurface mEglSurface;
173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
175 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
178 if (eglSurface != EGL_NO_SURFACE) {
179 eglDestroySurface(dpy, eglSurface);
187 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL);
188 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
191 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext)
    [all...]
  /external/deqp/modules/egl/
teglRenderCase.cpp 60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit)
138 EGLSurface eglSurface = createWindowSurface(nativeDisplay, *window, display, config, DE_NULL);
139 eglu::UniqueSurface surface (egl, display, eglSurface);
162 EGLSurface eglSurface = createPixmapSurface(nativeDisplay, *pixmap, display, config, DE_NULL);
163 eglu::UniqueSurface surface (egl, display, eglSurface);
218 void SingleContextRenderCase::executeForSurface (EGLDisplay display, EGLSurface surface, const Config& config)
303 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 273 s_display.onCreateSurface((EGLSurface)this);
283 s_display.onDestroySurface((EGLSurface)this);
819 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
849 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
915 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
929 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface)
932 VALIDATE_SURFACE_RETURN(eglSurface, EGL_FALSE);
934 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface));
950 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 36 import javax.microedition.khronos.egl.EGLSurface;
47 private static HashMap<Object, EGLSurface> mSurfaceSources = new HashMap<Object, EGLSurface>();
67 private EGLSurface mSurface;
76 private static HashMap<EGLContext, EGLSurface> mDisplaySurfaces
77 = new HashMap<EGLContext, EGLSurface>();
91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height);
92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true);
93 result.addReferenceTo(eglSurface);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java 74 import javax.microedition.khronos.egl.EGLSurface;
856 private EGLSurface eglSurface = null;
    [all...]
  /external/skia/src/views/win/
SkOSWindow_win.cpp 403 EGLSurface* eglSurface,
467 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
489 *eglSurface = surface;
  /frameworks/native/opengl/libagl/
egl.cpp 55 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
129 EGLSurface read;
130 EGLSurface draw;
190 ALOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this);
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl/libs/
lwjgl.jar 

Completed in 2831 milliseconds