/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/java/com/google/android/gles_jni/ |
EGLContextImpl.java | 23 public class EGLContextImpl extends EGLContext {
|
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);
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
EGLContext.java | 22 public abstract class EGLContext
|
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);
|
/external/webkit/WebCore/platform/graphics/openvg/ |
EGLDisplayOpenVG.h | 66 EGLContext contextForSurface(const EGLSurface&); 84 HashMap<EGLint, EGLContext> m_contexts;
|
SurfaceOpenVG.h | 79 EGLContext eglContext() const { return m_eglContext; } 131 EGLContext m_eglContext;
|
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);
|
/frameworks/base/opengl/include/EGL/ |
egl.h | 47 typedef void *EGLContext; 69 #define EGL_NO_CONTEXT ((EGLContext)0) 298 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, 299 EGLContext share_context, 301 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx); 303 EGLSurface read, EGLContext ctx); 305 EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext(void); 308 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx,
|
eglext.h | 84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
|
/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...] |
GLSurfaceView.java | 25 import javax.microedition.khronos.egl.EGLContext; 395 * which EGLContext client version to pick. 417 * @param version The EGLContext client version to choose. Use 2 for OpenGL ES 2.0 671 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); 672 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); 678 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { 687 EGLContext context) { [all...] |
/frameworks/base/opengl/tests/angeles/ |
app-linux.cpp | 71 static EGLContext sEglContext = EGL_NO_CONTEXT; 130 EGLContext context;
|
/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) {
|
/ndk/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) {
|
/ndk/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/libs/EGL/ |
egl.cpp | 196 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 198 egl_context_t(EGLDisplay dpy, EGLContext context, 205 EGLContext context; 217 egl_image_t(EGLDisplay dpy, EGLContext context) 235 EGLContext ctx; 328 void setContext(EGLContext ctx) { 340 EGLContext getContext() { 469 egl_context_t* get_context(EGLContext context) { 500 static EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx) 527 EGLContext context = getContext() [all...] |
/frameworks/base/libs/surfaceflinger/DisplayHardware/ |
DisplayHardware.h | 98 EGLContext mContext;
|
/frameworks/base/core/jni/ |
com_google_android_gles_jni_EGLImpl.cpp | 75 static inline EGLContext getContext(JNIEnv* env, jobject o) { 77 return (EGLContext)env->GetIntField(o, gContext_EGLContextFieldID); 165 EGLContext ctx = getContext(_env, context); 184 EGLContext sur = getSurface(_env, surface); 240 EGLContext shr = getContext(_env, share_context); 242 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); 327 EGLContext cnf = getConfig(_env, config); 353 EGLContext cnf = getConfig(_env, config); 417 EGLContext ctx = getContext(_env, context); 452 EGLContext ctx = getContext(_env, context) [all...] |
/frameworks/base/opengl/tests/linetex/ |
linetex.cpp | 43 EGLContext context;
|
/frameworks/base/opengl/tests/swapinterval/ |
swapinterval.cpp | 40 EGLContext context;
|
/frameworks/base/opengl/libagl/ |
egl.cpp | 123 static inline egl_context_t* context(EGLContext ctx) { 141 EGLContext ctx; [all...] |
/frameworks/base/opengl/tests/fillrate/ |
fillrate.cpp | 42 EGLContext context;
|