Searched refs:EGLContext (Results 1 - 25 of 84) sorted by relevance

1234

/frameworks/base/opengl/java/android/opengl/
H A DEGLContext.java21 * Wrapper class for native EGLContext objects.
24 public class EGLContext extends EGLObjectHandle { class in inherits:EGLObjectHandle
25 private EGLContext(long handle) { method in class:EGLContext
32 if (!(o instanceof EGLContext)) return false;
34 EGLContext that = (EGLContext) o;
H A DEGL14.java33 public static EGLContext EGL_NO_CONTEXT = null;
388 // C function EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
390 public static native EGLContext eglCreateContext(
393 EGLContext share_context,
398 // C function EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
402 EGLContext ctx
405 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
411 EGLContext ctx
414 // C function EGLContext eglGetCurrentContex
[all...]
H A DEGLLogWrapper.java26 import javax.microedition.khronos.egl.EGLContext;
78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config,
79 EGLContext share_context, int[] attrib_list) {
87 EGLContext result = mEgl10.eglCreateContext(display, config,
141 public boolean eglDestroyContext(EGLDisplay display, EGLContext context) {
196 public EGLContext eglGetCurrentContext() {
200 EGLContext result = mEgl10.eglGetCurrentContext();
264 EGLSurface read, EGLContext context) {
277 public boolean eglQueryContext(EGLDisplay display, EGLContext context,
438 private void arg(String name, EGLContext objec
[all...]
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLContext.java21 * Wrapper class for native EGLContext objects.
24 public class EGLContext extends EGLObjectHandle { class in inherits:EGLObjectHandle
25 private EGLContext(long handle) { method in class:EGLContext
32 if (!(o instanceof EGLContext)) return false;
34 EGLContext that = (EGLContext) o;
/frameworks/native/opengl/libs/
H A Dglestrace.h27 void GLTrace_eglCreateContext(int version, EGLContext c);
28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Degltypes.h9 typedef void *EGLContext; typedef
18 #define EGL_NO_CONTEXT ((EGLContext)0)
H A Degl.h73 typedef void *EGLContext;
79 #define EGL_NO_CONTEXT ((EGLContext)0)
212 GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list);
213 GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
215 GLAPI EGLContext APIENTRY eglGetCurrentContext (void);
218 GLAPI EGLBoolean APIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGLContext.java21 public abstract class EGLContext class
H A DEGL10.java94 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0);
99 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
103 boolean eglDestroyContext(EGLDisplay display, EGLContext context);
107 EGLContext eglGetCurrentContext();
113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);
114 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value);
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.h38 EGLContext ctx;
51 static void setContext(EGLContext ctx);
52 static EGLContext getContext();
H A Degl_object.h146 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
148 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
155 EGLContext context;
182 egl_context_t* get_context(EGLContext context) {
H A Degl_display.h89 EGLSurface draw, EGLSurface read, EGLContext ctx,
90 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx);
255 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
H A Degl_tls.cpp135 void egl_tls_t::setContext(EGLContext ctx) {
140 EGLContext egl_tls_t::getContext() {
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
24 EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
26 EGLContext eglGetCurrentContext ( void )
29 EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java22 public class EGLContextImpl extends EGLContext {
H A DEGLImpl.java32 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value);
40 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context);
42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);
53 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) {
118 public synchronized EGLContext eglGetCurrentContext() {
148 private native long _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java34 import javax.microedition.khronos.egl.EGLContext;
66 private EGLContext mContext;
73 private static HashMap<EGLContext, ImageShader> mIdShaders
74 = new HashMap<EGLContext, ImageShader>();
76 private static HashMap<EGLContext, EGLSurface> mDisplaySurfaces
77 = new HashMap<EGLContext, EGLSurface>();
87 EGL10 egl = (EGL10) EGLContext.getEGL();
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig);
224 EGL10 egl = (EGL10) EGLContext.getEGL();
237 public EGLContext getContex
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureMultiContextGL.h75 EGLContext mSecondEglContext;
78 EGLContext mThirdEglContext;
H A DSurfaceTextureGLToGL.h26 * EGLSurface and an EGLContext for the image producer to use.
60 EGLContext mProducerEglContext;
H A DSurfaceTextureGLThreadToGL.h65 EGLContext producerEglContext) {
89 EGLContext mProducerEglContext;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h140 int AddContext(const EGLContext& context);
153 const EGLContext& context() const {
232 std::map<int, EGLContext> contexts_;
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.h50 /** GL Trace Context info associated with each EGLContext */
98 std::map<EGLContext, GLTraceContext*> mPerContextState;
114 GLTraceContext *createTraceContext(int version, EGLContext c);
115 GLTraceContext *getTraceContext(EGLContext c);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h51 EGLContext mEGLContext;
52 void setEGLHandles(EGLConfig config, EGLContext ctxt);
119 EGLContext getEGLContext() const;
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h76 EGLContext mEglContext;
/frameworks/native/opengl/include/EGL/
H A Degl.h47 typedef void *EGLContext; typedef
69 #define EGL_NO_CONTEXT ((EGLContext)0)
297 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config,
298 EGLContext share_context,
300 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
302 EGLSurface read, EGLContext ctx);
304 EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext(void);
307 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx,

Completed in 740 milliseconds

1234