/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLContext.java | 21 * Wrapper class for native EGLContext objects. 24 public class EGLContext extends EGLObjectHandle { class in inherits:EGLObjectHandle 25 private EGLContext(int handle) { method in class:EGLContext 34 EGLContext that = (EGLContext) o;
|
H A D | ManagedEGLContext.java | 25 import javax.microedition.khronos.egl.EGLContext; 41 * <p>To use, simple instantiate this class with the EGLContext you create. 54 final EGLContext mContext; 57 * Instantiate to manage the given EGLContext. 59 public ManagedEGLContext(EGLContext context) { 67 * Retrieve the EGLContext being managed by the class. 69 public EGLContext getContext() { 75 * {@link #onTerminate(EGLContext)} to be called. You <em>must</em> 76 * call this when destroying the EGLContext, so that the framework 88 * Override this method to destroy the EGLContext whe [all...] |
H A D | EGL14.java | 34 public static EGLContext EGL_NO_CONTEXT = null; 370 // C function EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list ) 372 public static native EGLContext eglCreateContext( 375 EGLContext share_context, 380 // C function EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx ) 384 EGLContext ctx 387 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) 393 EGLContext ctx 396 // C function EGLContext eglGetCurrentContex [all...] |
H A D | EGLLogWrapper.java | 26 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 D | EGLContext.java | 21 * Wrapper class for native EGLContext objects. 24 public class EGLContext extends EGLObjectHandle { class in inherits:EGLObjectHandle 25 private EGLContext(int handle) { method in class:EGLContext 34 EGLContext that = (EGLContext) o;
|
/frameworks/native/opengl/libs/ |
H A D | glestrace.h | 27 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 D | egltypes.h | 9 typedef void *EGLContext; typedef 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
H A 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, 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 D | EGLContext.java | 21 public abstract class EGLContext class
|
H A 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[] 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 D | egl_tls.h | 37 EGLContext ctx; 50 static void setContext(EGLContext ctx); 51 static EGLContext getContext();
|
H A D | egl_object.h | 146 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 D | egl_display.h | 89 EGLSurface draw, EGLSurface read, EGLContext ctx, 90 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx); 251 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
|
H A D | egl_tls.cpp | 132 void egl_tls_t::setContext(EGLContext ctx) { 137 EGLContext egl_tls_t::getContext() {
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
H A D | EGL14.spec | 23 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/media/mca/filterfw/native/core/ |
H A D | gl_env.h | 137 int AddContext(const EGLContext& context); 150 const EGLContext& context() const { 229 std::map<int, EGLContext> contexts_;
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLContextImpl.java | 22 public class EGLContextImpl extends EGLContext {
|
H A D | EGLImpl.java | 32 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 int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.h | 50 /** GL Trace Context info associated with each EGLContext */ 90 std::map<EGLContext, GLTraceContext*> mPerContextState; 106 GLTraceContext *createTraceContext(int version, EGLContext c); 107 GLTraceContext *getTraceContext(EGLContext c);
|
H A D | gltrace_eglapi.cpp | 162 void GLTrace_eglCreateContext(int version, EGLContext c) { 177 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) {
|
/frameworks/native/opengl/include/EGL/ |
H A 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/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNIView.java | 44 import javax.microedition.khronos.egl.EGLContext; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfView.java | 44 import javax.microedition.khronos.egl.EGLContext; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 37 import javax.microedition.khronos.egl.EGLContext; 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
|
/frameworks/base/core/jni/ |
H A D | android_opengl_EGL14.cpp | 65 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); 92 jfieldID noContextFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_CONTEXT", "Landroid/opengl/EGLContext;"); 115 (EGLContext)handle == EGL_NO_CONTEXT) { 979 /* EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list ) */ 986 EGLContext _returnValue = (EGLContext) 0; 989 EGLContext share_context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, share_context); 1028 (EGLContext)share_context_nativ [all...] |