/frameworks/base/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/android/opengl/ |
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 | 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/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/base/opengl/libs/EGL/ |
H A D | egl_tls.h | 38 EGLContext ctx; 52 static void setContext(EGLContext ctx); 53 static EGLContext getContext();
|
H A D | egl_object.h | 158 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 160 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 167 EGLContext context; 182 egl_image_t(EGLDisplay dpy, EGLContext context) : 187 EGLContext context; 197 egl_sync_t(EGLDisplay dpy, EGLContext context, EGLSyncKHR sync) : 201 EGLContext context; 225 egl_context_t* get_context(EGLContext context) {
|
H A D | egl_tls.cpp | 134 void egl_tls_t::setContext(EGLContext ctx) { 139 EGLContext egl_tls_t::getContext() {
|
H A D | eglApi.cpp | 121 static inline EGLContext getContext() { return egl_tls_t::getContext(); } 485 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, 486 EGLContext share_list, const EGLint *attrib_list) 497 EGLContext context = cnx->egl.eglCreateContext( 525 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) 568 EGLSurface read, EGLContext ctx) 595 EGLContext impl_ctx = EGL_NO_CONTEXT; 626 // make sure the EGLContext and EGLSurface passed in are for 636 // make sure the EGLContext and EGLSurface passed in are for 680 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ct [all...] |
H A D | egl_display.h | 148 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
|
/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) { 117 public synchronized EGLContext eglGetCurrentContext() { 147 private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
|
/frameworks/base/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/base/libs/rs/driver/ |
H A D | rsdGL.h | 38 EGLContext context;
|
/frameworks/base/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/base/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/base/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/opengl/tests/angeles/ |
H A D | app-linux.cpp | 71 static EGLContext sEglContext = EGL_NO_CONTEXT; 132 EGLContext context;
|
/frameworks/base/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 33 import javax.microedition.khronos.egl.EGLContext;
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardware.h | 102 EGLContext mContext;
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 58 static inline EGLContext getContext(JNIEnv* env, jobject o) { 60 return (EGLContext)env->GetIntField(o, gContext_EGLContextFieldID); 147 EGLContext ctx = getContext(_env, context); 166 EGLContext sur = getSurface(_env, surface); 232 EGLContext shr = getContext(_env, share_context); 234 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); 319 EGLContext cnf = getConfig(_env, config); 346 EGLContext cnf = getConfig(_env, config); 375 EGLContext cnf = getConfig(_env, config); 439 EGLContext ct [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 36 import javax.microedition.khronos.egl.EGLContext; 424 EGLContext mEglContext; 541 sEgl = (EGL10) EGLContext.getEGL(); 699 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 928 public Gl20RendererEglContext(EGLContext context) { 933 public void onTerminate(final EGLContext eglContext) { 1136 private static void usePbufferSurface(EGLContext eglContext) {
|
/frameworks/base/opengl/libagl/ |
H A D | egl.cpp | 130 static inline egl_context_t* context(EGLContext ctx) { 148 EGLContext ctx; 1637 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, 1638 EGLContext share_list, const EGLint *attrib_list) 1652 return (EGLContext)gl; 1655 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) 1667 EGLSurface read, EGLContext ctx) 1688 EGLContext current_ctx = EGL_NO_CONTEXT; 1698 current_ctx = (EGLContext)getGlThreadSpecific(); 1776 EGLContext eglGetCurrentContex [all...] |
/frameworks/base/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 70 EGLContext context;
|