/frameworks/base/opengl/java/android/opengl/ |
D | ManagedEGLContext.java | 25 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()
|
D | EGLContext.java | 24 public class EGLContext extends EGLObjectHandle { class 25 private EGLContext(int handle) { in EGLContext() method in EGLContext 34 EGLContext that = (EGLContext) o; in equals()
|
D | EGL14.java | 34 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()
|
D | EGLLogWrapper.java | 26 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/ |
D | EGLContext.java | 24 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/ |
D | EGL10.java | 94 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0); 99 …EGLContext 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/ |
D | egl.h | 73 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…
|
D | egltypes.h | 9 typedef void *EGLContext; typedef 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_entries.in | 13 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…
|
D | egl_tls.h | 38 EGLContext ctx; 51 static void setContext(EGLContext ctx); 52 static EGLContext getContext();
|
D | egl_object.h | 148 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()
|
D | egl_display.h | 91 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);
|
D | eglApi.cpp | 107 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/ |
D | EGL14.spec | 23 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/ |
D | egl.h | 47 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/ |
D | EGLImpl.java | 32 …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/ |
D | glestrace.h | 27 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/ |
D | gl_env.h | 137 int AddContext(const EGLContext& context); 150 const EGLContext& context() const { in context() 229 std::map<int, EGLContext> contexts_;
|
D | gl_env.cpp | 57 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/ |
D | gltrace_context.h | 90 std::map<EGLContext, GLTraceContext*> mPerContextState; 106 GLTraceContext *createTraceContext(int version, EGLContext c); 107 GLTraceContext *getTraceContext(EGLContext c);
|
/frameworks/base/core/jni/ |
D | android_opengl_EGL14.cpp | 116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle() 983 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext() 986 …EGLContext 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 …]
|
D | com_google_android_gles_jni_EGLImpl.cpp | 59 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/ |
D | GL2JNIView.java | 44 import javax.microedition.khronos.egl.EGLContext; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() 84 … EGLContext 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/ |
D | GLDualGL2View.java | 37 import javax.microedition.khronos.egl.EGLContext; 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() 87 … EGLContext 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/ |
D | GLPerfView.java | 44 import javax.microedition.khronos.egl.EGLContext; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() 84 … EGLContext 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()
|