/frameworks/base/opengl/java/android/opengl/ |
D | EGLContext.java | 24 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()
|
D | EGL14.java | 33 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()
|
D | EGLLogWrapper.java | 26 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/tools/glgen/static/egl/ |
D | EGLContext.java | 24 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/javax/microedition/khronos/egl/ |
D | 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[]… 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/ |
D | 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… 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…
|
D | egltypes.h | 9 typedef void *EGLContext; typedef 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 34 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 …]
|
D | CameraStreamer.java | 46 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/ |
D | EGL14.spec | 23 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/ |
D | egl.h | 47 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/ |
D | EGLImpl.java | 32 …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/ |
D | 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…
|
D | egl_tls.h | 38 EGLContext ctx; 51 static void setContext(EGLContext ctx); 52 static EGLContext getContext();
|
D | egl_object.h | 146 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 148 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 155 EGLContext context; 182 egl_context_t* get_context(EGLContext context) { in get_context()
|
D | egl_display.h | 89 EGLSurface draw, EGLSurface read, EGLContext ctx, 90 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx); 255 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
|
/frameworks/native/opengl/libs/ |
D | glestrace.h | 27 void GLTrace_eglCreateContext(int version, EGLContext c); 28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.h | 140 int AddContext(const EGLContext& context); 153 const EGLContext& context() const { in context() 232 std::map<int, EGLContext> contexts_;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_context.h | 98 std::map<EGLContext, GLTraceContext*> mPerContextState; 114 GLTraceContext *createTraceContext(int version, EGLContext c); 115 GLTraceContext *getTraceContext(EGLContext c);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | RenderEngine.h | 51 EGLContext mEGLContext; 52 void setEGLHandles(EGLConfig config, EGLContext ctxt); 119 EGLContext getEGLContext() const;
|
/frameworks/base/core/jni/ |
D | android_opengl_EGL14.cpp | 116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle() 1009 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext() 1012 …EGLContext share_context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, share_co… in android_eglCreateContext() 1051 (EGLContext)share_context_native, in android_eglCreateContext() 1072 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglDestroyContext() 1076 (EGLContext)ctx_native in android_eglDestroyContext() 1089 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglMakeCurrent() 1095 (EGLContext)ctx_native in android_eglMakeCurrent() 1104 EGLContext _returnValue = (EGLContext) 0; in android_eglGetCurrentContext() 1138 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx); in android_eglQueryContext() [all …]
|
D | com_google_android_gles_jni_EGLImpl.cpp | 59 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext() 61 return (EGLContext)env->GetLongField(o, gContext_EGLContextFieldID); in getContext() 153 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext() 172 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() 238 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext() 240 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext() 324 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface() 351 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture() 379 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib() 443 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureMultiContextGL.h | 75 EGLContext mSecondEglContext; 78 EGLContext mThirdEglContext;
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | GLDualGL2View.java | 37 import javax.microedition.khronos.egl.EGLContext; 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() 87 … EGLContext 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/ |
D | GLPerfView.java | 44 import javax.microedition.khronos.egl.EGLContext; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() 84 … EGLContext 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()
|