Searched refs:EGLSurface (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGLSurface.java19 public abstract class EGLSurface class
H A DEGL10.java95 EGLSurface EGL_NO_SURFACE = new com.google.android.gles_jni.EGLSurfaceImpl(0);
98 boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap);
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list);
101 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list);
102 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list);
104 boolean eglDestroySurface(EGLDisplay display, EGLSurface surface);
109 EGLSurface eglGetCurrentSurface(int readdraw);
113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);
116 boolean eglQuerySurface(EGLDisplay display, EGLSurface surfac
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLSurface.java21 * Wrapper class for native EGLSurface objects.
24 public class EGLSurface extends EGLObjectHandle { class in inherits:EGLObjectHandle
25 private EGLSurface(int handle) { method in class:EGLSurface
32 if (!(o instanceof EGLSurface)) return false;
34 EGLSurface that = (EGLSurface) o;
H A DEGLExt.java37 // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
41 EGLSurface sur,
H A DEGL14.java35 public static EGLSurface EGL_NO_SURFACE = null;
219 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
221 private static native EGLSurface _eglCreateWindowSurface(
229 private static native EGLSurface _eglCreateWindowSurfaceTexture(
237 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy,
254 EGLSurface surface;
269 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
271 public static native EGLSurface eglCreatePbufferSurface(
278 // C function EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
280 public static native EGLSurface eglCreatePixmapSurfac
[all...]
H A DEGLLogWrapper.java28 import javax.microedition.khronos.egl.EGLSurface;
64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface,
94 public EGLSurface eglCreatePbufferSurface(EGLDisplay display,
102 EGLSurface result = mEgl10.eglCreatePbufferSurface(display, config,
109 public EGLSurface eglCreatePixmapSurface(EGLDisplay display,
118 EGLSurface result = mEgl10.eglCreatePixmapSurface(display, config,
125 public EGLSurface eglCreateWindowSurface(EGLDisplay display,
134 EGLSurface result = mEgl10.eglCreateWindowSurface(display, config,
153 public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) {
218 public EGLSurface eglGetCurrentSurfac
[all...]
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLSurface.java21 * Wrapper class for native EGLSurface objects.
24 public class EGLSurface extends EGLObjectHandle { class in inherits:EGLObjectHandle
25 private EGLSurface(int handle) { method in class:EGLSurface
32 if (!(o instanceof EGLSurface)) return false;
34 EGLSurface that = (EGLSurface) o;
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGLExt.spec1 EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
H A DEGL14.spec9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
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 buffer, EGLConfig config, const EGLint *attrib_list )
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 dra
[all...]
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Degltypes.h8 typedef void *EGLSurface; typedef
20 #define EGL_NO_SURFACE ((EGLSurface)0)
H A Degl.h72 typedef void *EGLSurface;
81 #define EGL_NO_SURFACE ((EGLSurface)0)
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list);
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list);
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
210 GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
216 GLAPI EGLSurface APIENTR
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.java1 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
3 private static native EGLSurface _eglCreateWindowSurface(
11 private static native EGLSurface _eglCreateWindowSurfaceTexture(
19 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy,
36 EGLSurface surface;
/frameworks/native/cmds/flatland/
H A DGLHelper.h52 bool makeCurrent(EGLSurface surface);
55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
61 void destroySurface(EGLSurface* surface);
63 bool swapBuffers(EGLSurface surface);
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
82 EGLSurface mDummySurface;
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h130 typedef egl_object_t::LocalRef<egl_surface_t, EGLSurface> Ref;
133 EGLNativeWindowType win, EGLSurface surface,
136 EGLSurface surface;
152 void onMakeCurrent(EGLSurface draw, EGLSurface read);
157 EGLSurface read;
158 EGLSurface draw;
177 egl_surface_t* get_surface(EGLSurface surface) {
H A Degl_object.cpp65 EGLNativeWindowType win, EGLSurface surface,
98 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
H A Degl_display.h89 EGLSurface draw, EGLSurface read, EGLContext ctx,
90 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx);
254 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLSurfaceImpl.java21 public class EGLSurfaceImpl extends EGLSurface {
H A DEGLImpl.java33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value);
41 public native boolean eglDestroySurface(EGLDisplay display, EGLSurface surface);
42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);
44 public native boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface);
46 public native boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap);
61 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) {
69 public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) {
78 public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) {
138 public synchronized EGLSurface eglGetCurrentSurfac
[all...]
/frameworks/native/opengl/include/EGL/
H A Degl.h49 typedef void *EGLSurface; typedef
71 #define EGL_NO_SURFACE ((EGLSurface)0)
265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface,
284 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer(
288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface,
290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surfac
[all...]
H A Deglext.h71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
254 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
256 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
290 EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
292 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
298 EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
300 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surfac
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_HardwareRenderer.cpp33 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
65 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW);
80 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW);
109 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW);
H A Dandroid_opengl_EGL14.cpp67 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface");
98 jfieldID noSurfaceFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_SURFACE", "Landroid/opengl/EGLSurface;");
125 (EGLSurface)handle == EGL_NO_SURFACE) {
515 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
522 EGLSurface _returnValue = (EGLSurface) 0;
592 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
599 EGLSurface _returnValue = (EGLSurface) 0;
673 /* EGLSurface eglCreatePbufferSurfac
[all...]
H A Dandroid_opengl_EGLExt.cpp68 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface");
99 jfieldID noSurfaceFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_SURFACE", "Landroid/opengl/EGLSurface;");
126 (EGLSurface)handle == EGL_NO_SURFACE) {
134 /* EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) */
140 EGLSurface sur_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, sur);
144 (EGLSurface)sur_native,
154 {"eglPresentationTimeANDROID", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;J)Z", (void *) android_eglPresentationTimeANDROID },
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h104 int AddSurface(const EGLSurface& surface);
110 int AddWindowSurface(const EGLSurface& surface, WindowHandle* window_handle);
132 const EGLSurface& surface() const {
217 typedef std::pair<EGLSurface, WindowHandle*> SurfaceWindowPair;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A 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);
120 EGLSurface eglSurf = null;
139 EGLSurface eglSurf = null;
158 EGLSurface eglSur
[all...]

Completed in 1463 milliseconds

1234