/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()
|
D | EGLContext.java | 21 public abstract class EGLContext class
|
/frameworks/base/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/base/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_object.h | 157 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 159 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, in egl_context_t() 166 EGLContext context; 181 egl_image_t(EGLDisplay dpy, EGLContext context) : in egl_image_t() 186 EGLContext context; 196 egl_sync_t(EGLDisplay dpy, EGLContext context, EGLSyncKHR sync) : in egl_sync_t() 200 EGLContext context; 224 egl_context_t* get_context(EGLContext context) { in get_context()
|
D | egl_tls.h | 38 EGLContext ctx; 52 static void setContext(EGLContext ctx); 53 static EGLContext getContext();
|
D | eglApi.cpp | 137 static inline EGLContext getContext() { return egl_tls_t::getContext(); } in getContext() 496 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() 497 EGLContext share_list, const EGLint *attrib_list) in eglCreateContext() 508 EGLContext context = cnx->egl.eglCreateContext( in eglCreateContext() 536 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() 579 EGLSurface read, EGLContext ctx) in eglMakeCurrent() 606 EGLContext impl_ctx = EGL_NO_CONTEXT; in eglMakeCurrent() 691 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() 716 EGLContext eglGetCurrentContext(void) in eglGetCurrentContext() 723 EGLContext ctx = getContext(); in eglGetCurrentContext() [all …]
|
D | egl_tls.cpp | 134 void egl_tls_t::setContext(EGLContext ctx) { in setContext() 139 EGLContext egl_tls_t::getContext() { in getContext()
|
/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() 38 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext() 40 …olean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); in eglMakeCurrent() 48 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext() 112 public synchronized EGLContext eglGetCurrentContext() { in eglGetCurrentContext() 142 …private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_contex… in _eglCreateContext()
|
D | EGLContextImpl.java | 22 public class EGLContextImpl extends EGLContext {
|
/frameworks/base/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/android/opengl/ |
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() 428 private void arg(String name, EGLContext object) { in arg()
|
D | GLSurfaceView.java | 25 import javax.microedition.khronos.egl.EGLContext; 749 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() 750 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() 756 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() 765 EGLContext context) { in destroyContext() 976 mEgl = (EGL10) EGLContext.getEGL(); in start() 1171 EGLContext mEglContext;
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 56 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext() 58 return (EGLContext)env->GetIntField(o, gContext_EGLContextFieldID); in getContext() 145 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext() 164 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() 220 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext() 222 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext() 307 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface() 334 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture() 363 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib() 427 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext() [all …]
|
/frameworks/base/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/base/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/base/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()
|
/frameworks/base/core/java/android/view/ |
D | HardwareRenderer.java | 32 import javax.microedition.khronos.egl.EGLContext; 383 static final ThreadLocal<EGLContext> sEglContextStorage = new ThreadLocal<EGLContext>(); 385 EGLContext mEglContext; 502 sEgl = (EGL10) EGLContext.getEGL(); in initializeEgl() 655 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() 985 EGLContext eglContext = sEglContextStorage.get(); in trimMemory()
|
/frameworks/base/opengl/libagl2/src/ |
D | gles2context.h | 74 static inline egl_context_t* context(EGLContext ctx); 157 inline egl_context_t* egl_context_t::context(EGLContext ctx) in context()
|
D | egl.cpp | 111 EGLContext ctx; 1707 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() 1708 EGLContext share_list, const EGLint *attrib_list) in eglCreateContext() 1728 return (EGLContext)gl; in eglCreateContext() 1731 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() 1745 EGLSurface read, EGLContext ctx) in eglMakeCurrent() 1767 EGLContext current_ctx = EGL_NO_CONTEXT; in eglMakeCurrent() 1777 current_ctx = (EGLContext)getGlThreadSpecific(); in eglMakeCurrent() 1856 EGLContext eglGetCurrentContext(void) in eglGetCurrentContext() 1861 return (EGLContext)getGlThreadSpecific(); in eglGetCurrentContext() [all …]
|
/frameworks/base/opengl/tests/angeles/ |
D | app-linux.cpp | 71 static EGLContext sEglContext = EGL_NO_CONTEXT; 132 EGLContext context; in initGraphics()
|
/frameworks/base/opengl/libagl/ |
D | egl.cpp | 125 static inline egl_context_t* context(EGLContext ctx) { in context() 143 EGLContext ctx; 1632 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() 1633 EGLContext share_list, const EGLint *attrib_list) in eglCreateContext() 1647 return (EGLContext)gl; in eglCreateContext() 1650 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() 1662 EGLSurface read, EGLContext ctx) in eglMakeCurrent() 1683 EGLContext current_ctx = EGL_NO_CONTEXT; in eglMakeCurrent() 1693 current_ctx = (EGLContext)getGlThreadSpecific(); in eglMakeCurrent() 1771 EGLContext eglGetCurrentContext(void) in eglGetCurrentContext() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 37 import javax.microedition.khronos.egl.EGLContext; 140 private EGLContext mEglContext; 358 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 400 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 40 import javax.microedition.khronos.egl.EGLContext; 117 private EGLContext mEglContext; 555 mEgl = (EGL10) EGLContext.getEGL(); 599 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
|