Home
last modified time | relevance | path

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

1234

/frameworks/native/opengl/tools/glgen/static/egl/
DEGLContext.java24 public class EGLContext extends EGLObjectHandle { class
25 private EGLContext(long handle) { in EGLContext() method in EGLContext
32 if (!(o instanceof EGLContext)) return false; in equals()
34 EGLContext that = (EGLContext) o; in equals()
/frameworks/base/opengl/java/android/opengl/
DEGLContext.java24 public class EGLContext extends EGLObjectHandle { class
25 private EGLContext(long handle) { in EGLContext() method in EGLContext
32 if (!(o instanceof EGLContext)) return false; in equals()
34 EGLContext that = (EGLContext) o; in equals()
DEGL14.java33 public static EGLContext EGL_NO_CONTEXT = null;
390 public static native EGLContext eglCreateContext( in eglCreateContext()
393 EGLContext share_context, in eglCreateContext()
402 EGLContext ctx in eglDestroyContext()
411 EGLContext ctx in eglMakeCurrent()
416 public static native EGLContext eglGetCurrentContext( in eglGetCurrentContext()
434 EGLContext ctx, in eglQueryContext()
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()
438 private void arg(String name, EGLContext object) { in arg()
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp28 EGLContext context;
117 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext()
118 EGLContext share_context, in eglCreateContext()
120 return (EGLContext) malloc(sizeof(void*)); in eglCreateContext()
122 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) { in eglDestroyContext()
128 EGLSurface read, EGLContext ctx) { in eglMakeCurrent()
135 EGLContext eglGetCurrentContext(void) { in eglGetCurrentContext()
151 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffe… in eglCreateImageKHR()
/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()
/frameworks/native/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java34 import javax.microedition.khronos.egl.EGLContext;
66 private EGLContext mContext;
73 private static HashMap<EGLContext, ImageShader> mIdShaders
74 = new HashMap<EGLContext, ImageShader>();
76 private static HashMap<EGLContext, EGLSurface> mDisplaySurfaces
77 = new HashMap<EGLContext, EGLSurface>();
87 EGL10 egl = (EGL10) EGLContext.getEGL(); in newTarget()
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget()
224 EGL10 egl = (EGL10) EGLContext.getEGL(); in focusNone()
237 public EGLContext getContext() { in getContext()
[all …]
DCameraStreamer.java46 import javax.microedition.khronos.egl.EGLContext;
85 protected HashMap<EGLContext, ImageShader> mTargetShaders
86 = new HashMap<EGLContext, ImageShader>();
89 protected HashMap<EGLContext, TextureSource> mTargetTextures
90 = new HashMap<EGLContext, TextureSource>();
93 protected HashMap<EGLContext, Set<FrameClient>> mContextClients
94 = new HashMap<EGLContext, Set<FrameClient>>();
109 EGLContext context = RenderTarget.currentContext(); in registerClient()
117 EGLContext context = RenderTarget.currentContext(); in unregisterClient()
141 protected Set<FrameClient> clientsForContext(EGLContext context) { in clientsForContext()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGL…
24 EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
26 EGLContext eglGetCurrentContext ( void )
29 EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
/frameworks/native/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/com/google/android/gles_jni/
DEGLImpl.java32 …public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, i… in eglQueryContext()
40 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext()
42 …olean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); in eglMakeCurrent()
53 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
118 public synchronized EGLContext eglGetCurrentContext() { in eglGetCurrentContext()
148 …private native long _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_conte… in _eglCreateContext()
/frameworks/native/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_tls.h38 EGLContext ctx;
51 static void setContext(EGLContext ctx);
52 static EGLContext getContext();
Degl_object.h151 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
153 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
160 EGLContext context;
188 egl_context_t* get_context(EGLContext context) { in get_context()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.h140 int AddContext(const EGLContext& context);
153 const EGLContext& context() const { in context()
232 std::map<int, EGLContext> contexts_;
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp120 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
985 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext()
988EGLContext share_context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, share_co… in android_eglCreateContext()
1027 (EGLContext)share_context_native, in android_eglCreateContext()
1048 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglDestroyContext()
1052 (EGLContext)ctx_native in android_eglDestroyContext()
1065 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglMakeCurrent()
1071 (EGLContext)ctx_native in android_eglMakeCurrent()
1080 EGLContext _returnValue = (EGLContext) 0; in android_eglGetCurrentContext()
1114 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglQueryContext()
[all …]
Dcom_google_android_gles_jni_EGLImpl.cpp59 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext()
61 return (EGLContext)env->GetLongField(o, gContext_EGLContextFieldID); in getContext()
150 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext()
169 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface()
235 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext()
237 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext()
320 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface()
347 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture()
375 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib()
439 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.h51 EGLContext mEGLContext;
52 void setEGLHandles(EGLConfig config, EGLContext ctxt);
122 EGLContext getEGLContext() const;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java38 import javax.microedition.khronos.egl.EGLContext;
87 private EGLContext mEglContext; in onSurfaceTextureAvailable()
126 mEgl = (EGL10) EGLContext.getEGL(); in onSurfaceTextureAvailable()
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
/frameworks/native/libs/gui/tests/
DSurfaceTextureMultiContextGL.h76 EGLContext mSecondEglContext;
79 EGLContext mThirdEglContext;
/frameworks/native/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/native/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/native/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()

1234