Home
last modified time | relevance | path

Searched refs:EGLContext (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/opengl/java/android/opengl/
DManagedEGLContext.java25 import javax.microedition.khronos.egl.EGLContext;
54 final EGLContext mContext;
59 public ManagedEGLContext(EGLContext context) { in ManagedEGLContext()
69 public EGLContext getContext() { in getContext()
94 public abstract void onTerminate(EGLContext context); in onTerminate()
113 EGL10 egl = (EGL10) EGLContext.getEGL(); in doTerminate()
DEGLContext.java24 public class EGLContext extends EGLObjectHandle { class
25 private EGLContext(int handle) { in EGLContext() method in EGLContext
34 EGLContext that = (EGLContext) o; in equals()
DEGL14.java34 public static EGLContext EGL_NO_CONTEXT = null;
372 public static native EGLContext eglCreateContext( in eglCreateContext()
375 EGLContext share_context, in eglCreateContext()
384 EGLContext ctx in eglDestroyContext()
393 EGLContext ctx in eglMakeCurrent()
398 public static native EGLContext eglGetCurrentContext( in eglGetCurrentContext()
416 EGLContext ctx, in eglQueryContext()
DEGLLogWrapper.java26 import javax.microedition.khronos.egl.EGLContext;
78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, in eglCreateContext()
79 EGLContext share_context, int[] attrib_list) { in eglCreateContext()
87 EGLContext result = mEgl10.eglCreateContext(display, config, in eglCreateContext()
141 public boolean eglDestroyContext(EGLDisplay display, EGLContext context) { in eglDestroyContext()
196 public EGLContext eglGetCurrentContext() { in eglGetCurrentContext()
200 EGLContext result = mEgl10.eglGetCurrentContext(); in eglGetCurrentContext()
264 EGLSurface read, EGLContext context) { in eglMakeCurrent()
277 public boolean eglQueryContext(EGLDisplay display, EGLContext context, in eglQueryContext()
438 private void arg(String name, EGLContext object) { in arg()
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLContext.java24 public class EGLContext extends EGLObjectHandle { class
25 private EGLContext(int handle) { in EGLContext() method in EGLContext
34 EGLContext that = (EGLContext) o; in equals()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java94 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0);
99EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[]… in eglCreateContext()
103 boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext()
107 EGLContext eglGetCurrentContext(); in eglGetCurrentContext()
113 …boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext contex… in eglMakeCurrent()
114 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); in eglQueryContext()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h73 typedef void *EGLContext;
79 #define EGL_NO_CONTEXT ((EGLContext)0)
212 GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list…
213 GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
214 …Boolean 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…
Degltypes.h9 typedef void *EGLContext; typedef
18 #define EGL_NO_CONTEXT ((EGLContext)0)
/frameworks/native/opengl/libs/EGL/
Degl_entries.in13 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint *)
14 EGL_ENTRY(EGLBoolean, eglDestroyContext, EGLDisplay, EGLContext)
15 EGL_ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay, EGLSurface, EGLSurface, EGLContext)
16 EGL_ENTRY(EGLContext, eglGetCurrentContext, void)
19 EGL_ENTRY(EGLBoolean, eglQueryContext, EGLDisplay, EGLContext, EGLint, EGLint *)
51 EGL_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const…
Degl_tls.h38 EGLContext ctx;
51 static void setContext(EGLContext ctx);
52 static EGLContext getContext();
Degl_object.h148 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
150 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
157 EGLContext context;
184 egl_context_t* get_context(EGLContext context) { in get_context()
Degl_display.h91 EGLSurface draw, EGLSurface read, EGLContext ctx,
92 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx);
253 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
DeglApi.cpp107 static inline EGLContext getContext() { return egl_tls_t::getContext(); } in getContext()
435 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext()
436 EGLContext share_list, const EGLint *attrib_list) in eglCreateContext()
447 EGLContext context = cnx->egl.eglCreateContext( in eglCreateContext()
483 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext()
504 EGLSurface read, EGLContext ctx) in eglMakeCurrent()
531 EGLContext impl_ctx = EGL_NO_CONTEXT; in eglMakeCurrent()
599 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext()
616 EGLContext eglGetCurrentContext(void) in eglGetCurrentContext()
623 EGLContext ctx = getContext(); in eglGetCurrentContext()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGL…
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/native/opengl/include/EGL/
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,
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java32 …public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, i… in eglQueryContext()
40 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext()
42 …olean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); in eglMakeCurrent()
53 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
118 public synchronized EGLContext eglGetCurrentContext() { in eglGetCurrentContext()
148 …private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_contex… in _eglCreateContext()
/frameworks/native/opengl/libs/
Dglestrace.h27 void GLTrace_eglCreateContext(int version, EGLContext c);
28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.h137 int AddContext(const EGLContext& context);
150 const EGLContext& context() const { in context()
229 std::map<int, EGLContext> contexts_;
Dgl_env.cpp57 for (std::map<int, EGLContext>::iterator it = contexts_.begin(); in ~GLEnv()
267 int GLEnv::AddContext(const EGLContext& context) { in AddContext()
274 const EGLContext* context = FindOrNull(contexts_, context_id); in SwitchToContextId()
287 const EGLContext* context = FindOrNull(contexts_, context_id); in ReleaseContextId()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_context.h90 std::map<EGLContext, GLTraceContext*> mPerContextState;
106 GLTraceContext *createTraceContext(int version, EGLContext c);
107 GLTraceContext *getTraceContext(EGLContext c);
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
983 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext()
986EGLContext share_context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, share_co… in android_eglCreateContext()
1025 (EGLContext)share_context_native, in android_eglCreateContext()
1046 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglDestroyContext()
1050 (EGLContext)ctx_native in android_eglDestroyContext()
1063 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglMakeCurrent()
1069 (EGLContext)ctx_native in android_eglMakeCurrent()
1078 EGLContext _returnValue = (EGLContext) 0; in android_eglGetCurrentContext()
1112 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglQueryContext()
[all …]
Dcom_google_android_gles_jni_EGLImpl.cpp59 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext()
61 return (EGLContext)env->GetIntField(o, gContext_EGLContextFieldID); in getContext()
148 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext()
167 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface()
233 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext()
235 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext()
320 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface()
347 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture()
376 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib()
440 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext()
[all …]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java44 import javax.microedition.khronos.egl.EGLContext;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
84EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java37 import javax.microedition.khronos.egl.EGLContext;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
87EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java44 import javax.microedition.khronos.egl.EGLContext;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
84EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()

1234