Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/opengl/java/android/opengl/
H A 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()
H A DEGL14.java35 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 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()
H A DEGL15.java71 public static final EGLContext EGL_NO_CONTEXT = null;
158 EGLContext context, in eglCreateImage()
H A DGLSurfaceView.java34 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 DEGL10.java95 EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0);
100EGLContext 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 DEGLContext.java21 public abstract class EGLContext class
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A 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()
224 EGL10 egl = (EGL10) EGLContext.getEGL(); in focusNone()
237 public EGLContext getContext() { in getContext()
241 public static EGLContext currentContext() { in currentContext()
[all …]
H A 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>();
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 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()
H A DEGLContextImpl.java22 public class EGLContextImpl extends EGLContext {
/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h141 int AddContext(const EGLContext& context);
154 const EGLContext& context() const { in context()
233 std::map<int, EGLContext> contexts_;
H A Dgl_env.cpp62 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 Dcom_google_android_gles_jni_EGLImpl.cpp54 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 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 …]
H A Dandroid_opengl_EGL15.cpp477 EGLContext context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, context); in android_eglCreateImage()
501 (EGLContext)context_native, in android_eglCreateImage()
H A Dandroid_graphics_SurfaceTexture.cpp70 EGLContext ctx = eglGetCurrentContext(); in isProtectedContext()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
H A DGLTextureViewActivity.java38 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 DBlockingGLTextureView.java29 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 DImageFlipRenderThread.java33 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 DGLHelper.java50 import android.opengl.EGLContext;
114 EGLContext eglContext = eglCreateContext( in retrieveTextureSizeFromGL()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h106 EGLContext mEglContext;
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java29 import android.opengl.EGLContext;
101 private EGLContext mEglContext;
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java155 import javax.microedition.khronos.egl.EGLContext;
2662 EGLContext context =
2700 EGL10 egl = (EGL10) EGLContext.getEGL();

12