/aosp14/frameworks/base/opengl/java/android/opengl/ |
H A 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()
|
H A D | EGL14.java | 35 public static EGLContext EGL_NO_CONTEXT = null; 394 public static native EGLContext eglCreateContext( in eglCreateContext() 397 EGLContext share_context, in eglCreateContext() 406 EGLContext ctx in eglDestroyContext() 415 EGLContext ctx in eglMakeCurrent() 420 public static native EGLContext eglGetCurrentContext( in eglGetCurrentContext() 438 EGLContext ctx, in eglQueryContext()
|
H A 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()
|
H A D | EGL15.java | 71 public static final EGLContext EGL_NO_CONTEXT = null; 158 EGLContext context, in eglCreateImage()
|
H A D | GLSurfaceView.java | 34 import javax.microedition.khronos.egl.EGLContext; 786 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() 787 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() 793 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() 802 EGLContext context) { in destroyContext() 1031 mEgl = (EGL10) EGLContext.getEGL(); in start() 1240 EGLContext mEglContext;
|
/aosp14/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
H A D | EGL10.java | 95 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0); 100 …EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[]… in eglCreateContext() 105 boolean eglDestroyContext(EGLDisplay display, EGLContext context); in eglDestroyContext() 109 EGLContext eglGetCurrentContext(); in eglGetCurrentContext() 115 …boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext contex… in eglMakeCurrent() 116 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); in eglQueryContext()
|
H A D | EGLContext.java | 21 public abstract class EGLContext class
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A 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() 224 EGL10 egl = (EGL10) EGLContext.getEGL(); in focusNone() 237 public EGLContext getContext() { in getContext() 241 public static EGLContext currentContext() { in currentContext() [all …]
|
H A 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>(); 94 = new HashMap<EGLContext, Set<FrameClient>>(); 109 EGLContext context = RenderTarget.currentContext(); in registerClient() 117 EGLContext context = RenderTarget.currentContext(); in unregisterClient() 153 protected void onCleanupContext(EGLContext context) { in onCleanupContext() 285 = new HashMap<EGLContext, SurfaceTexture>(); [all …]
|
/aosp14/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 27 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()
|
H A D | EGLContextImpl.java | 22 public class EGLContextImpl extends EGLContext {
|
/aosp14/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.h | 141 int AddContext(const EGLContext& context); 154 const EGLContext& context() const { in context() 233 std::map<int, EGLContext> contexts_;
|
H A D | gl_env.cpp | 62 for (std::map<int, EGLContext>::iterator it = contexts_.begin(); in ~GLEnv() 275 int GLEnv::AddContext(const EGLContext& context) { in AddContext() 282 const EGLContext* context = FindOrNull(contexts_, context_id); in SwitchToContextId() 295 const EGLContext* context = FindOrNull(contexts_, context_id); in ReleaseContextId()
|
/aosp14/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 54 static inline EGLContext getContext(JNIEnv* env, jobject o) { in getContext() 56 return (EGLContext)env->GetLongField(o, gContext_EGLContextFieldID); in getContext() 144 EGLContext ctx = getContext(_env, context); in jni_eglQueryContext() 163 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() 228 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext() 230 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext() 265 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface() 292 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture() 320 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib() 384 EGLContext ctx = getContext(_env, context); in jni_eglDestroyContext() [all …]
|
H A D | android_opengl_EGL14.cpp | 118 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle() 992 EGLContext _returnValue = (EGLContext) 0; in android_eglCreateContext() 995 …EGLContext 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 …]
|
H A D | android_opengl_EGL15.cpp | 477 EGLContext context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, context); in android_eglCreateImage() 501 (EGLContext)context_native, in android_eglCreateImage()
|
H A D | android_graphics_SurfaceTexture.cpp | 70 EGLContext ctx = eglGetCurrentContext(); in isProtectedContext()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A 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()
|
H A D | GLTextureViewActivity.java | 38 import javax.microedition.khronos.egl.EGLContext; 143 private EGLContext mEglContext; 362 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 29 import javax.microedition.khronos.egl.EGLContext; 112 EGLContext mEglContext; 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() 152 mEgl = (EGL10) EGLContext.getEGL(); in start()
|
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 33 import javax.microedition.khronos.egl.EGLContext; 97 private EGLContext mEglContext; 315 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | GLHelper.java | 50 import android.opengl.EGLContext; 114 EGLContext eglContext = eglCreateContext( in retrieveTextureSizeFromGL()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.h | 106 EGLContext mEglContext;
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 29 import android.opengl.EGLContext; 101 private EGLContext mEglContext;
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerShellCommand.java | 155 import javax.microedition.khronos.egl.EGLContext; 2662 EGLContext context = 2700 EGL10 egl = (EGL10) EGLContext.getEGL();
|