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

  /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...]
  /external/chromium_org/third_party/angle/src/libEGL/
libEGL.cpp 297 EGLSurface __stdcall eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
326 EGLSurface __stdcall eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
348 EGLSurface __stdcall eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
372 EGLBoolean __stdcall eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
374 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p)", dpy, surface);
379 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
381 if (!validateSurface(display, eglSurface))
401 EGLBoolean __stdcall eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value)
403 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint attribute = %d, EGLint *value = 0x%0.8p)",
409 egl::Surface *eglSurface = (egl::Surface*)surface
    [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);
  /sdk/emulator/opengl/tests/ut_renderer/
RendererSurface.h 30 EGLSurface eglSurface() { return m_eglSurface; }
40 RendererSurface(EGLDisplay display, NativeWindowType window, EGLSurface surface, EGLConfig config) :
50 EGLSurface m_eglSurface;
RendererSurface.cpp 91 EGLSurface eglSurface = eglCreateWindowSurface(eglDisplay,
99 return new RendererSurface(eglDisplay, window, eglSurface, eglConfig);
Renderer.cpp 163 EGLSurface draw = EGL_NO_SURFACE;
164 EGLSurface read = EGL_NO_SURFACE;
166 i = m_surfaces.find(drawSurface); if (i != m_surfaces.end()) draw = i->second->eglSurface();
167 i = m_surfaces.find(readSurface); if (i != m_surfaces.end()) read = i->second->eglSurface();
182 return eglSwapBuffers(m_dpy, s->second->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/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 27 import android.opengl.EGLSurface;
67 EGLSurface eglSurface;
404 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs,
432 holder.eglSurface =
450 if (holder.eglSurface != null) {
451 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
457 if (holder.eglSurface != null) {
458 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
473 private void makeCurrent(EGLSurface surface)
    [all...]
  /device/generic/goldfish/opengl/system/egl/
egl.cpp 609 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
637 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
695 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
705 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface)
708 VALIDATE_SURFACE_RETURN(eglSurface, EGL_FALSE);
710 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface));
716 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value)
719 VALIDATE_SURFACE_RETURN(eglSurface, EGL_FALSE)
    [all...]
  /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
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 118 EGLSurface mEglSurface;
169 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
171 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
174 if (eglSurface != EGL_NO_SURFACE) {
175 eglDestroySurface(dpy, eglSurface);
183 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL);
184 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
187 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext)
    [all...]
  /external/deqp/modules/egl/
teglRenderCase.cpp 151 EGLSurface eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, display.getEGLDisplay(), config, DE_NULL);
152 tcu::egl::WindowSurface surface (display, eglSurface);
173 EGLSurface eglSurface = createPixmapSurface(m_eglTestCtx.getNativeDisplay(), *pixmap, display.getEGLDisplay(), config, DE_NULL);
174 tcu::egl::PixmapSurface surface (display, eglSurface);
teglResizeTests.cpp 163 const EGLSurface eglSurface = eglu::createWindowSurface(nativeDisplay,
168 MovePtr<UniqueSurface> surface (new UniqueSurface(eglDisplay, eglSurface));
314 EGLSurface eglSurface,
320 IVec2 eglSize = eglu::getSurfaceSize(eglDisplay, eglSurface);
teglGLES2SharingThreadedTests.cpp 187 EGLSurface surface;
219 EGLSurface eglSurface;
238 , eglSurface (EGL_NO_SURFACE)
265 eglDestroySurface(runtimeContext->display, eglSurface);
268 eglSurface = EGL_NO_SURFACE;
731 thread.eglSurface = m_surface->surface;
    [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...]
  /external/chromium_org/third_party/skia/src/views/win/
SkOSWindow_win.cpp 390 EGLSurface* eglSurface,
452 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
474 *eglSurface = surface;
  /external/skia/src/views/win/
SkOSWindow_win.cpp 390 EGLSurface* eglSurface,
452 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
474 *eglSurface = surface;
  /frameworks/native/opengl/libagl/
egl.cpp 54 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
128 EGLSurface read;
129 EGLSurface draw;
189 ALOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this);
    [all...]

Completed in 426 milliseconds