Searched refs:EGLSurface (Results 1 - 25 of 85) 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(long 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;
226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
228 private static native EGLSurface _eglCreateWindowSurface(
236 private static native EGLSurface _eglCreateWindowSurfaceTexture(
244 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy,
261 EGLSurface surface;
276 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
278 public static native EGLSurface eglCreatePbufferSurface(
285 // C function EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
287 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(long 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 DeglCreatePbufferFromClientBuffer.java1 // C function EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
3 public static native EGLSurface eglCreatePbufferFromClientBuffer(
15 public static native EGLSurface eglCreatePbufferFromClientBuffer(
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/base/libs/hwui/renderthread/
H A DEglManager.h41 EGLSurface createSurface(EGLNativeWindowType window);
42 void destroySurface(EGLSurface surface);
46 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; }
48 bool makeCurrent(EGLSurface surface);
49 void beginFrame(EGLSurface surface, EGLint* width, EGLint* height);
50 bool swapBuffers(EGLSurface surface);
54 bool setPreserveBuffer(EGLSurface surface, bool preserve);
74 EGLSurface mPBufferSurface;
79 EGLSurface mCurrentSurface;
H A DEglManager.cpp29 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
194 EGLSurface EglManager::createSurface(EGLNativeWindowType window) {
196 EGLSurface surface = eglCreateWindowSurface(mEglDisplay, mEglConfig, window, NULL);
198 "Failed to create EGLSurface for window %p, eglErr = %s",
203 void EglManager::destroySurface(EGLSurface surface) {
233 bool EglManager::makeCurrent(EGLSurface surface) {
249 void EglManager::beginFrame(EGLSurface surface, EGLint* width, EGLint* height) {
263 bool EglManager::swapBuffers(EGLSurface surface) {
287 bool EglManager::setPreserveBuffer(EGLSurface surface, bool preserve) {
/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);
256 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
/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...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
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...]
H A DEGLSurfaceImpl.java21 public class EGLSurfaceImpl extends EGLSurface {
/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...]
/frameworks/native/libs/gui/tests/
H A DGLTest.h50 virtual EGLSurface createWindowSurface(EGLDisplay display, EGLConfig config,
63 EGLSurface mEglSurface;

Completed in 7006 milliseconds

1234