/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 | 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()
|
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/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 | 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()
|
/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 | 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()
|
/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 *) 48 EGL_ENTRY(EGLImage, eglCreateImage, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLAttr… 63 EGL_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const…
|
D | egl_tls.h | 33 EGLContext ctx; 46 static void setContext(EGLContext ctx); 47 static EGLContext getContext();
|
D | egl_display.h | 76 EGLContext ctx, EGLSurface impl_draw, EGLSurface impl_read, 77 EGLContext impl_ctx); 135 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.h | 51 SkiaGLRenderEngine(const RenderEngineCreationArgs& args, EGLDisplay display, EGLContext ctxt, 52 EGLSurface placeholder, EGLContext protectedContext, 83 static EGLContext createEglContext(EGLDisplay display, EGLConfig config, 84 EGLContext shareContext, 115 EGLContext mEGLContext; 117 EGLContext mProtectedEGLContext;
|
/frameworks/native/opengl/libs/ |
D | platform_entries.in | 16 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/ |
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); 291 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClie…
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateImage.cpp | 10 EGLContext context_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, context); in android_eglCreateImage() 34 (EGLContext)context_native, in android_eglCreateImage()
|
/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/av/media/libstagefright/renderfright/gl/ |
D | ProgramCache.h | 189 void primeCache(const EGLContext context, bool useColorManagement, bool toneMapperShaderOnly); 191 size_t getSize(const EGLContext context) { return mCaches[context].size(); } in getSize() 195 void useProgram(const EGLContext context, const Description& description); 217 std::unordered_map<EGLContext, std::unordered_map<Key, std::unique_ptr<Program>, Key::Hash>>
|
D | GLESRenderEngine.h | 56 EGLContext ctxt, EGLSurface stub, EGLContext protectedContext, 121 static EGLContext createEglContext(EGLDisplay display, EGLConfig config, 122 EGLContext shareContext, bool useContextPriority, 183 EGLContext mEGLContext; 185 EGLContext mProtectedEGLContext;
|
/frameworks/native/libs/renderengine/gl/ |
D | GLESRenderEngine.h | 56 EGLContext ctxt, EGLSurface stub, EGLContext protectedContext, 123 static EGLContext createEglContext(EGLDisplay display, EGLConfig config, 124 EGLContext shareContext, 195 EGLContext mEGLContext; 197 EGLContext mProtectedEGLContext;
|
D | ProgramCache.h | 198 void primeCache(const EGLContext context, bool useColorManagement, bool toneMapperShaderOnly); 200 size_t getSize(const EGLContext context) { return mCaches[context].size(); } in getSize() 204 void useProgram(const EGLContext context, const Description& description); 228 std::unordered_map<EGLContext, std::unordered_map<Key, std::unique_ptr<Program>, Key::Hash>>
|
/frameworks/base/core/jni/ |
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 …]
|
/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()
|