Home
last modified time | relevance | path

Searched refs:EGLContext (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java94 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0);
99EGLContext 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()
DEGLContext.java21 public abstract class EGLContext class
/frameworks/base/opengl/tests/angeles/include/GLES/
Degl.h73 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…
Degltypes.h9 typedef void *EGLContext; typedef
18 #define EGL_NO_CONTEXT ((EGLContext)0)
/frameworks/base/opengl/libs/EGL/
Degl_entries.in13 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…
Degl_object.h157 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()
Degl_tls.h38 EGLContext ctx;
52 static void setContext(EGLContext ctx);
53 static EGLContext getContext();
DeglApi.cpp137 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 …]
Degl_tls.cpp134 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/
DEGLImpl.java32 …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()
DEGLContextImpl.java22 public class EGLContextImpl extends EGLContext {
/frameworks/base/opengl/include/EGL/
Degl.h47 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/
DEGLLogWrapper.java26 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()
DGLSurfaceView.java25 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/
Dcom_google_android_gles_jni_EGLImpl.cpp56 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/
DGLDualGL2View.java37 import javax.microedition.khronos.egl.EGLContext;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
87EGLContext 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/
DGL2JNIView.java44 import javax.microedition.khronos.egl.EGLContext;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
84EGLContext 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/
DGLPerfView.java44 import javax.microedition.khronos.egl.EGLContext;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
84EGLContext 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/
DHardwareRenderer.java32 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/
Dgles2context.h74 static inline egl_context_t* context(EGLContext ctx);
157 inline egl_context_t* egl_context_t::context(EGLContext ctx) in context()
Degl.cpp111 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/
Dapp-linux.cpp71 static EGLContext sEglContext = EGL_NO_CONTEXT;
132 EGLContext context; in initGraphics()
/frameworks/base/opengl/libagl/
Degl.cpp125 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/
DGLTextureViewActivity.java37 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/
DImageWallpaper.java40 import javax.microedition.khronos.egl.EGLContext;
117 private EGLContext mEglContext;
555 mEgl = (EGL10) EGLContext.getEGL();
599 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {

123