Home
last modified time | relevance | path

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

12345

/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.java34 public static EGLContext EGL_NO_CONTEXT = null;
393 public static native EGLContext eglCreateContext( in eglCreateContext()
396 EGLContext share_context, in eglCreateContext()
405 EGLContext ctx in eglDestroyContext()
414 EGLContext ctx in eglMakeCurrent()
419 public static native EGLContext eglGetCurrentContext( in eglGetCurrentContext()
437 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/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/libs/hwui/debug/
Dnullegl.cpp29 EGLContext context;
116 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, in eglCreateContext()
118 return (EGLContext)malloc(sizeof(void*)); in eglCreateContext()
120 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) { in eglDestroyContext()
125 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) { in eglMakeCurrent()
132 EGLContext eglGetCurrentContext(void) { in eglGetCurrentContext()
153 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, 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()
104 boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext()
108 EGLContext eglGetCurrentContext(); in eglGetCurrentContext()
114 …boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext contex… in eglMakeCurrent()
115 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); in eglQueryContext()
/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/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java27 import javax.microedition.khronos.egl.EGLContext;
37 …public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, i… in eglQueryContext()
45 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext()
47 …olean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); in eglMakeCurrent()
62 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
127 public synchronized EGLContext eglGetCurrentContext() { in eglGetCurrentContext()
157 …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 *)
48 EGL_ENTRY(EGLImage, eglCreateImage, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLAttr…
63 EGL_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const…
Degl_tls.h36 EGLContext ctx;
50 static void setContext(EGLContext ctx);
51 static EGLContext getContext();
Degl_object.h193 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
195 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
202 EGLContext context;
230 egl_context_t* get_context(EGLContext context) { in get_context()
Degl_display.h80 EGLSurface draw, EGLSurface read, EGLContext ctx,
81 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx);
191 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
/frameworks/native/opengl/libs/
Dplatform_entries.in16 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint*)
17 EGL_ENTRY(EGLBoolean, eglDestroyContext, EGLDisplay, EGLContext)
18 EGL_ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay, EGLSurface, EGLSurface, EGLContext)
19 EGL_ENTRY(EGLBoolean, eglQueryContext, EGLDisplay, EGLContext, EGLint, EGLint*)
20 EGL_ENTRY(EGLContext, eglGetCurrentContext, void)
43 EGL_ENTRY(EGLImage, eglCreateImage, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLAttr…
45 EGL_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const E…
/frameworks/native/opengl/include/EGL/
Degl.h60 typedef void *EGLContext; typedef
98 #define EGL_NO_CONTEXT EGL_CAST(EGLContext,0)
123 EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_…
127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
137 …lean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
138 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EG…
235 EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void);
291 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClie…
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateImage.cpp10 EGLContext context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, context); in android_eglCreateImage()
34 (EGLContext)context_native, in android_eglCreateImage()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h57 EGLDisplay display, EGLConfig config, EGLContext ctxt, EGLSurface dummy,
58 EGLContext protectedContext, EGLSurface protectedDummy,
148 static EGLContext createEglContext(EGLDisplay display, EGLConfig config,
149 EGLContext shareContext, bool useContextPriority,
182 EGLContext mEGLContext;
184 EGLContext mProtectedEGLContext;
DProgramCache.h182 void primeCache(const EGLContext context, bool useColorManagement);
184 size_t getSize(const EGLContext context) { return mCaches[context].size(); } in getSize()
188 void useProgram(const EGLContext context, const Description& description);
210 std::unordered_map<EGLContext, std::unordered_map<Key, std::unique_ptr<Program>, Key::Hash>>
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.h141 int AddContext(const EGLContext& context);
154 const EGLContext& context() const { in context()
233 std::map<int, EGLContext> contexts_;
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp58 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext()
60 return (EGLContext)env->GetLongField(o, gContext_EGLContextFieldID); in getContext()
148 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext()
167 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface()
232 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext()
234 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext()
269 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface()
296 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture()
324 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib()
388 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext()
[all …]
Dandroid_opengl_EGL14.cpp118 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
992 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext()
995EGLContext share_context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, share_co… in android_eglCreateContext()
1034 (EGLContext)share_context_native, in android_eglCreateContext()
1056 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglDestroyContext()
1060 (EGLContext)ctx_native in android_eglDestroyContext()
1073 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglMakeCurrent()
1079 (EGLContext)ctx_native in android_eglMakeCurrent()
1088 EGLContext _returnValue = (EGLContext) 0; in android_eglGetCurrentContext()
1122 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglQueryContext()
[all …]
/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()

12345