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

  /cts/tests/tests/hardware/src/android/hardware/cts/
HardwareBufferTest.java 24 import android.opengl.EGLSurface;
60 EGLSurface eglSurface = null;
66 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, new int[] {
71 EGL14.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
78 EGL14.eglDestroySurface(eglDisplay, eglSurface);
85 eglSurface = null;
91 if (eglSurface != null) {
92 EGL14.eglDestroySurface(eglDisplay, eglSurface);
    [all...]
  /frameworks/native/opengl/tests/EGLTest/
EGL_test.cpp 139 // Create a EGLSurface
147 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config,
150 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ;
152 // do not destroy eglSurface
254 // Create a EGLSurface
262 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), NULL);
264 ASSERT_NE(EGL_NO_SURFACE, eglSurface);
266 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface));
    [all...]
  /hardware/qcom/display/msm8998/gpu_tonemapper/
glengine.cpp 31 EGLSurface eglSurface;
36 eglSurface = EGL_NO_SURFACE;
46 EGL(eglMakeCurrent(engineContext->eglDisplay, engineContext->eglSurface, engineContext->eglSurface, engineContext->eglContext));
81 engineContext->eglSurface = eglCreatePbufferSurface(engineContext->eglDisplay, eglConfig, eglSurfaceAttribList);
83 eglMakeCurrent(engineContext->eglDisplay, engineContext->eglSurface, engineContext->eglSurface, engineContext->eglContext);
97 EGL(eglDestroySurface(engineContext->eglDisplay, engineContext->eglSurface));
102 engineContext->eglSurface = EGL_NO_SURFACE
    [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)
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...]
  /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 130 EGLSurface eglSurface = 0;
279 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, eglWindow, NULL);
281 if(eglSurface == EGL_NO_SURFACE)
284 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, NULL, NULL);
315 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
482 eglSwapBuffers(eglDisplay, eglSurface);
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
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...]
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...]
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 123 EGLSurface mEglSurface;
174 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
176 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
179 if (eglSurface != EGL_NO_SURFACE) {
180 eglDestroySurface(dpy, eglSurface);
188 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL);
189 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
192 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext)
    [all...]
  /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/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);
  /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);
  /external/swiftshader/src/OpenGL/libEGL/
libEGL.cpp 294 EGLSurface CreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType window, const EGLint *attrib_list)
314 EGLSurface CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
329 EGLSurface CreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
346 EGLBoolean DestroySurface(EGLDisplay dpy, EGLSurface surface)
348 TRACE("(EGLDisplay dpy = %p, EGLSurface surface = %p)", dpy, surface);
351 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
353 if(!validateSurface(display, eglSurface))
368 EGLBoolean QuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value)
370 TRACE("(EGLDisplay dpy = %p, EGLSurface surface = %p, EGLint attribute = %d, EGLint *value = %p)",
374 egl::Surface *eglSurface = (egl::Surface*)surface
    [all...]
  /frameworks/native/services/surfaceflinger/
DisplayDevice.cpp 72 inline void eglSetSwapRectangleANDROID (EGLDisplay, EGLSurface, EGLint, EGLint, EGLint, EGLint) {
133 EGLSurface eglSurface;
142 eglSurface = eglCreateWindowSurface(display, config, window, NULL);
143 eglQuerySurface(display, eglSurface, EGL_WIDTH, &mDisplayWidth);
144 eglQuerySurface(display, eglSurface, EGL_HEIGHT, &mDisplayHeight);
158 mSurface = eglSurface;
228 EGLSurface DisplayDevice::getEGLSurface() const {
368 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW);
  /cts/tests/tests/media/libmediandkjni/
native-media-jni.cpp     [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...]
  /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...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 27 import android.opengl.EGLSurface;
72 EGLSurface eglSurface;
465 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs,
486 holder.eglSurface =
501 if (holder.eglSurface != null) {
502 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
508 if (holder.eglSurface != null) {
509 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface);
524 private void makeCurrent(EGLSurface surface)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java 80 import javax.microedition.khronos.egl.EGLSurface;
    [all...]

Completed in 344 milliseconds