/frameworks/base/opengl/tests/angeles/include/GLES/ |
egltypes.h | 9 typedef void *EGLContext; 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
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/libs/EGL/ |
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 EGLint *)
|
egl.cpp | 214 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 216 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 223 EGLContext context; 236 egl_image_t(EGLDisplay dpy, EGLContext context) 242 EGLContext context; 254 EGLContext ctx; 347 void setContext(EGLContext ctx) { 359 EGLContext getContext() { 481 egl_context_t* get_context(EGLContext context) { 507 static EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 33 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); 39 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); 41 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); 49 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { 104 public synchronized EGLContext eglGetCurrentContext() { 134 private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
|
EGLContextImpl.java | 23 public class EGLContextImpl extends EGLContext {
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
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);
|
EGLContext.java | 22 public abstract class EGLContext
|
/frameworks/base/opengl/java/android/opengl/ |
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, 428 private void arg(String name, EGLContext object) [all...] |
/external/webkit/WebCore/platform/graphics/openvg/ |
EGLDisplayOpenVG.cpp | 226 EGLContext context = eglCreateContext(m_display, config, EGL_NO_CONTEXT, 0); 323 EGLContext context = m_contexts.take(surfaceConfigId); 343 EGLContext EGLDisplayOpenVG::contextForSurface(const EGLSurface& surface) 348 return m_platformSurfaces.get(surface)->eglContext(); 379 EGLContext currentContext = eglGetCurrentContext(); 385 HashMap<EGLint, EGLContext>::iterator end = m_contexts.end(); 387 for (HashMap<EGLint, EGLContext>::iterator it = m_contexts.begin(); it != end; ++it) { 423 EGLContext context = eglCreateContext(m_display, config, m_sharedPlatformSurface->eglContext(), 0);
|
SurfaceOpenVG.h | 79 EGLContext eglContext() const { return m_eglContext; } 131 EGLContext m_eglContext;
|
EGLDisplayOpenVG.h | 66 EGLContext contextForSurface(const EGLSurface&); 84 HashMap<EGLint, EGLContext> m_contexts;
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 22 EGLContext eglContext;
153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
174 eglDestroyContext( eglDisplay, eglContext );
|
/development/ndk/platforms/android-9/include/EGL/ |
egl.h | 47 typedef void *EGLContext; 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/include/EGL/ |
egl.h | 47 typedef void *EGLContext; 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/core/jni/ |
com_google_android_gles_jni_EGLImpl.cpp | 76 static inline EGLContext getContext(JNIEnv* env, jobject o) { 78 return (EGLContext)env->GetIntField(o, gContext_EGLContextFieldID); 163 EGLContext ctx = getContext(_env, context); 182 EGLContext sur = getSurface(_env, surface); 238 EGLContext shr = getContext(_env, share_context); 240 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); 325 EGLContext cnf = getConfig(_env, config); 352 EGLContext cnf = getConfig(_env, config); 416 EGLContext ctx = getContext(_env, context); 451 EGLContext ctx = getContext(_env, context) [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
importgl.h | 67 FNDEF(EGLContext, eglCreateContext, (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list)); 69 FNDEF(EGLBoolean, eglDestroyContext, (EGLDisplay dpy, EGLContext ctx)); 76 FNDEF(EGLBoolean, eglMakeCurrent, (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx));
|
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 20 EGLContext eglContext; 249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) 255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) 285 eglDestroyContext( eglDisplay, eglContext );
|
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
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/gldual/src/com/android/gldual/ |
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) {
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
GL2JNIView.java | 45 import javax.microedition.khronos.egl.EGLContext; 112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 116 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 121 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
|
/frameworks/base/opengl/tests/linetex/ |
linetex.cpp | 43 EGLContext context;
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
DisplayHardware.h | 99 EGLContext mContext;
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
OpenGlEsVersionTest.java | 32 import javax.microedition.khronos.egl.EGLContext; 82 EGL10 egl = (EGL10) EGLContext.getEGL();
|
/frameworks/base/opengl/tests/angeles/ |
app-linux.cpp | 71 static EGLContext sEglContext = EGL_NO_CONTEXT; 132 EGLContext context;
|