/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/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; 391 public static native EGLContext eglCreateContext( in eglCreateContext() 394 EGLContext share_context, in eglCreateContext() 403 EGLContext ctx in eglDestroyContext() 412 EGLContext ctx in eglMakeCurrent() 417 public static native EGLContext eglGetCurrentContext( in eglGetCurrentContext() 435 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/base/libs/hwui/debug/ |
D | nullegl.cpp | 29 EGLContext context; 121 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() 122 EGLContext share_context, in eglCreateContext() 124 return (EGLContext) malloc(sizeof(void*)); in eglCreateContext() 126 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) { in eglDestroyContext() 132 EGLSurface read, EGLContext ctx) { in eglMakeCurrent() 139 EGLContext eglGetCurrentContext(void) { in eglGetCurrentContext() 159 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffe… in eglCreateImageKHR()
|
/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/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() 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/ |
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/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/include/EGL/ |
D | egl.h | 60 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);
|
/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 | 36 EGLContext ctx; 49 static void setContext(EGLContext ctx); 50 static EGLContext getContext();
|
D | egl_object.h | 159 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 161 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 168 EGLContext context; 196 egl_context_t* get_context(EGLContext context) { in get_context()
|
D | egl_display.h | 76 EGLSurface draw, EGLSurface read, EGLContext ctx, 77 EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx); 186 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
|
D | egl.cpp | 118 EGLContext context = egl_tls_t::getContext(); in egl_get_string_for_current_context() 136 EGLContext context = egl_tls_t::getContext(); in egl_get_string_for_current_context() 159 EGLContext context = egl_tls_t::getContext(); in egl_get_num_extensions_for_current_context()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.h | 141 int AddContext(const EGLContext& context); 154 const EGLContext& context() const { in context() 233 std::map<int, EGLContext> contexts_;
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 58 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 …]
|
D | android_opengl_EGL14.cpp | 120 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle() 985 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext() 988 …EGLContext 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 …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | SingleFrameTextureViewTestActivity.java | 38 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/services/surfaceflinger/RenderEngine/ |
D | RenderEngine.h | 51 EGLContext mEGLContext; 52 void setEGLHandles(EGLConfig config, EGLContext ctxt); 131 EGLContext getEGLContext() const;
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureMultiContextGL.h | 76 EGLContext mSecondEglContext; 79 EGLContext mThirdEglContext;
|
/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()
|