Home
last modified time | relevance | path

Searched refs:EGLSurface (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/native/opengl/libs/EGL/
Degl_entries.in8 EGL_ENTRY(EGLSurface, eglCreateWindowSurface, EGLDisplay, EGLConfig, NativeWindowType, const EGLint…
9 EGL_ENTRY(EGLSurface, eglCreatePixmapSurface, EGLDisplay, EGLConfig, NativePixmapType, const EGLint…
10 EGL_ENTRY(EGLSurface, eglCreatePbufferSurface, EGLDisplay, EGLConfig, const EGLint *)
11 EGL_ENTRY(EGLBoolean, eglDestroySurface, EGLDisplay, EGLSurface)
12 EGL_ENTRY(EGLBoolean, eglQuerySurface, EGLDisplay, EGLSurface, EGLint, EGLint *)
15 EGL_ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay, EGLSurface, EGLSurface, EGLContext)
17 EGL_ENTRY(EGLSurface, eglGetCurrentSurface, EGLint)
22 EGL_ENTRY(EGLBoolean, eglSwapBuffers, EGLDisplay, EGLSurface)
23 EGL_ENTRY(EGLBoolean, eglCopyBuffers, EGLDisplay, EGLSurface, NativePixmapType)
30 EGL_ENTRY(EGLBoolean, eglSurfaceAttrib, EGLDisplay, EGLSurface, EGLint, EGLint)
[all …]
Degl_object.h132 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
134 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface,
152 EGLSurface surface;
199 void onMakeCurrent(EGLSurface draw, EGLSurface read);
204 EGLSurface read;
205 EGLSurface draw;
225 egl_surface_t* get_surface(EGLSurface surface) { in get_surface()
Degl_display.h78 EGLSurface draw, EGLSurface read, EGLContext ctx,
79 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx);
190 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, cons…
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
18 EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buff…
19 EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
20 EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
21 EGLBoolean eglReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL14.java35 public static EGLSurface EGL_NO_SURFACE = null;
228 private static native EGLSurface _eglCreateWindowSurface( in _eglCreateWindowSurface()
236 private static native EGLSurface _eglCreateWindowSurfaceTexture( in _eglCreateWindowSurfaceTexture()
244 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, in eglCreateWindowSurface()
261 EGLSurface surface; in eglCreateWindowSurface()
278 public static native EGLSurface eglCreatePbufferSurface( in eglCreatePbufferSurface()
288 public static native EGLSurface eglCreatePixmapSurface( in eglCreatePixmapSurface()
300 EGLSurface surface in eglDestroySurface()
307 EGLSurface surface, in eglQuerySurface()
336 public static native EGLSurface eglCreatePbufferFromClientBuffer( in eglCreatePbufferFromClientBuffer()
[all …]
DEGLSurface.java24 public class EGLSurface extends EGLObjectHandle { class
25 private EGLSurface(long handle) { in EGLSurface() method in EGLSurface
32 if (!(o instanceof EGLSurface)) return false; in equals()
34 EGLSurface that = (EGLSurface) o; in equals()
DEGLLogWrapper.java28 import javax.microedition.khronos.egl.EGLSurface;
64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, in eglCopyBuffers()
94 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, in eglCreatePbufferSurface()
102 EGLSurface result = mEgl10.eglCreatePbufferSurface(display, config, in eglCreatePbufferSurface()
109 public EGLSurface eglCreatePixmapSurface(EGLDisplay display, in eglCreatePixmapSurface()
118 EGLSurface result = mEgl10.eglCreatePixmapSurface(display, config, in eglCreatePixmapSurface()
125 public EGLSurface eglCreateWindowSurface(EGLDisplay display, in eglCreateWindowSurface()
134 EGLSurface result = mEgl10.eglCreateWindowSurface(display, config, in eglCreateWindowSurface()
153 public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) { in eglDestroySurface()
218 public EGLSurface eglGetCurrentSurface(int readdraw) { in eglGetCurrentSurface()
[all …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.h42 EGLSurface createSurface(EGLNativeWindowType window, bool wideColorGamut);
43 void destroySurface(EGLSurface surface);
47 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent()
49 bool makeCurrent(EGLSurface surface, EGLint* errOut = nullptr);
50 Frame beginFrame(EGLSurface surface);
59 bool setPreserveBuffer(EGLSurface surface, bool preserve);
73 EGLint queryBufferAge(EGLSurface surface);
81 EGLSurface mPBufferSurface;
83 EGLSurface mCurrentSurface;
DEglManager.cpp44 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
278 EGLSurface EglManager::createSurface(EGLNativeWindowType window, bool wideColorGamut) { in createSurface()
325 EGLSurface surface = eglCreateWindowSurface( in createSurface()
341 void EglManager::destroySurface(EGLSurface surface) { in destroySurface()
367 bool EglManager::makeCurrent(EGLSurface surface, EGLint* errOut) { in makeCurrent()
391 EGLint EglManager::queryBufferAge(EGLSurface surface) { in queryBufferAge()
405 Frame EglManager::beginFrame(EGLSurface surface) { in beginFrame()
467 bool EglManager::setPreserveBuffer(EGLSurface surface, bool preserve) { in setPreserveBuffer()
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp28 EGLSurface surface;
85 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, in eglCreateWindowSurface()
87 return (EGLSurface)malloc(sizeof(void*)); in eglCreateWindowSurface()
90 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list) { in eglCreatePbufferSurface()
91 return (EGLSurface)malloc(sizeof(void*)); in eglCreatePbufferSurface()
94 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) { in eglDestroySurface()
99 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) { in eglQuerySurface()
108 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) { in eglSurfaceAttrib()
125 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) { in eglMakeCurrent()
136 EGLSurface eglGetCurrentSurface(EGLint readdraw) { in eglGetCurrentSurface()
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java95 EGLSurface EGL_NO_SURFACE = new com.google.android.gles_jni.EGLSurfaceImpl(0);
98 boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap); in eglCopyBuffers()
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); in eglCreatePbufferSurface()
102EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int… in eglCreatePixmapSurface()
103EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int… in eglCreateWindowSurface()
105 boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); in eglDestroySurface()
110 EGLSurface eglGetCurrentSurface(int readdraw); in eglGetCurrentSurface()
114 …boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext contex… in eglMakeCurrent()
117 boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); in eglQuerySurface()
120 boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); in eglSwapBuffers()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h72 typedef void *EGLSurface;
81 #define EGL_NO_SURFACE ((EGLSurface)0)
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowTyp…
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapTyp…
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *…
209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
210 GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EG…
214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLCont…
216 GLAPI EGLSurface APIENTRY eglGetCurrentSurface (EGLint readdraw);
222 GLAPI EGLBoolean APIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface draw);
[all …]
Degltypes.h8 typedef void *EGLSurface; typedef
20 #define EGL_NO_SURFACE ((EGLSurface)0)
/frameworks/native/opengl/include/EGL/
Degl.h59 typedef void *EGLSurface; typedef
100 #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0)
122 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapTy…
124 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLi…
125 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePi…
126 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWi…
128 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
132 EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw);
137 EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGL…
140 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute…
[all …]
Deglext.h248 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, con…
249 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface);
251 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *…
252 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
263 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, …
265 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attr…
282 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface,…
284 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *re…
433 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConf…
435 EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, …
[all …]
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLSurface.java24 public class EGLSurface extends EGLObjectHandle { class
25 private EGLSurface(long handle) { in EGLSurface() method in EGLSurface
32 if (!(o instanceof EGLSurface)) return false; in equals()
34 EGLSurface that = (EGLSurface) o; in equals()
/frameworks/native/cmds/flatland/
DGLHelper.h51 bool makeCurrent(EGLSurface surface);
54 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
60 void destroySurface(EGLSurface* surface);
62 bool swapBuffers(EGLSurface surface);
71 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
79 EGLSurface mDummySurface;
DGLHelper.cpp134 bool GLHelper::makeCurrent(EGLSurface surface) { in makeCurrent()
152 sp<GLConsumer>* glConsumer, EGLSurface* surface, in createSurfaceTexture()
168 void GLHelper::destroySurface(EGLSurface* surface) { in destroySurface()
178 bool GLHelper::swapBuffers(EGLSurface surface) { in swapBuffers()
202 sp<GLConsumer>* glConsumer, EGLSurface* surface) { in createNamedSurfaceTexture()
213 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); in createNamedSurfaceTexture()
246 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface()
278 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); in createWindowSurface()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java33 …public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, i… in eglQuerySurface()
41 public native boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); in eglDestroySurface()
42 …public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGL… in eglMakeCurrent()
44 public native boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); in eglSwapBuffers()
46 …public native boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pix… in eglCopyBuffers()
61 …public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list)… in eglCreatePbufferSurface()
69 …public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixma… in eglCreatePixmapSurface()
78 …public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_windo… in eglCreateWindowSurface()
138 public synchronized EGLSurface eglGetCurrentSurface(int readdraw) { in eglGetCurrentSurface()
150 …private native void _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, … in _eglCreatePixmapSurface()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java36 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); in newTarget()
120 EGLSurface eglSurf = null; in forSurfaceHolder()
139 EGLSurface eglSurf = null; in forSurfaceTexture()
158 EGLSurface eglSurf = null; in forSurface()
194 EGLSurface currentSurface = mDisplaySurfaces.get(mContext); in registerAsDisplaySurface()
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp129 (EGLSurface)handle == EGL_NO_SURFACE) { in toEGLHandle()
523 EGLSurface _returnValue = (EGLSurface) 0; in android_eglCreateWindowSurface()
596 EGLSurface _returnValue = (EGLSurface) 0; in android_eglCreateWindowSurfaceTexture()
677 EGLSurface _returnValue = (EGLSurface) 0; in android_eglCreatePbufferSurface()
734 return toEGLHandle(_env, eglsurfaceClass, eglsurfaceConstructor, (EGLSurface) 0); in android_eglCreatePixmapSurface()
743 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface); in android_eglDestroySurface()
747 (EGLSurface)surface_native in android_eglDestroySurface()
761 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface); in android_eglQuerySurface()
791 (EGLSurface)surface_native, in android_eglQuerySurface()
852 EGLSurface _returnValue = (EGLSurface) 0; in android_eglCreatePbufferFromClientBuffer()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java3 private static native EGLSurface _eglCreateWindowSurface( in _eglCreateWindowSurface()
11 private static native EGLSurface _eglCreateWindowSurfaceTexture( in _eglCreateWindowSurfaceTexture()
19 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, in eglCreateWindowSurface()
36 EGLSurface surface; in eglCreateWindowSurface()
DeglCreatePbufferFromClientBuffer.java3 public static native EGLSurface eglCreatePbufferFromClientBuffer( in eglCreatePbufferFromClientBuffer()
15 public static native EGLSurface eglCreatePbufferFromClientBuffer( in eglCreatePbufferFromClientBuffer()
DeglCreatePbufferFromClientBuffer.nativeReg1 …roid/opengl/EGLDisplay;IILandroid/opengl/EGLConfig;[II)Landroid/opengl/EGLSurface;", (void *) andr…
2 …roid/opengl/EGLDisplay;IJLandroid/opengl/EGLConfig;[II)Landroid/opengl/EGLSurface;", (void *) andr…
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.h105 int AddSurface(const EGLSurface& surface);
111 int AddWindowSurface(const EGLSurface& surface, WindowHandle* window_handle);
133 const EGLSurface& surface() const { in surface()
218 typedef std::pair<EGLSurface, WindowHandle*> SurfaceWindowPair;

12345