/frameworks/native/opengl/tests/angeles/include/GLES/ |
egltypes.h | 9 typedef void *EGLContext; 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
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, const EGLint *attrib_list); 213 GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx); 214 GLAPI EGLBoolean 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 *value);
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglContext.cpp | 16 #include "EglContext.h" 21 unsigned int EglContext::s_nextContextHndl = 0; 25 bool EglContext::usingSurface(SurfacePtr surface) { 29 EglContext::EglContext(EglDisplay *dpy, EGLNativeContextType context,ContextPtr shared_context, 46 EglContext::~EglContext() 65 void EglContext::setSurfaces(SurfacePtr read,SurfacePtr draw) 71 bool EglContext::getAttrib(EGLint attrib,EGLint* value) { 82 bool EglContext::attachImage(unsigned int imageId,ImagePtr img) [all...] |
EglContext.h | 32 class EglContext; 33 typedef SmartPtr<EglContext> ContextPtr; 37 class EglContext { 41 EglContext(EglDisplay *dpy, EGLNativeContextType context,ContextPtr shared_context,EglConfig* config,GLEScontext* glesCtx,GLESVersion ver,ObjectNameManager* mngr); 56 ~EglContext();
|
ThreadInfo.h | 19 #include "EglContext.h" 33 ContextPtr eglContext;
|
EglDisplay.h | 27 #include "EglContext.h" 54 EGLContext addContext(ContextPtr ctx ); 55 ContextPtr getContext(EGLContext ctx); 56 bool removeContext(EGLContext ctx);
|
EglValidate.h | 26 static bool releaseContext(EGLContext ctx,EGLSurface s1,EGLSurface s2); 27 static bool badContextMatch(EGLContext ctx,EGLSurface s1,EGLSurface s2);
|
/frameworks/native/opengl/libs/EGL/ |
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 EGLint *)
|
/frameworks/base/opengl/java/android/opengl/ |
ManagedEGLContext.java | 25 import javax.microedition.khronos.egl.EGLContext; 41 * <p>To use, simple instantiate this class with the EGLContext you create. 54 final EGLContext mContext; 57 * Instantiate to manage the given EGLContext. 59 public ManagedEGLContext(EGLContext context) { 67 * Retrieve the EGLContext being managed by the class. 69 public EGLContext getContext() { 75 * {@link #onTerminate(EGLContext)} to be called. You <em>must</em> 76 * call this when destroying the EGLContext, so that the framework 88 * Override this method to destroy the EGLContext when appropriate [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
egl_proc.h | 45 typedef EGLContext (EGLAPIENTRY *eglCreateContext_t) (EGLDisplay, EGLConfig, EGLContext, const EGLint*); 46 typedef EGLBoolean (EGLAPIENTRY *eglDestroyContext_t) (EGLDisplay, EGLContext); 47 typedef EGLBoolean (EGLAPIENTRY *eglMakeCurrent_t) (EGLDisplay, EGLSurface, EGLSurface, EGLContext); 48 typedef EGLContext (EGLAPIENTRY *eglGetCurrentContext_t) (); 51 typedef EGLBoolean (EGLAPIENTRY *eglQueryContext_t) (EGLDisplay, EGLContext, EGLint, EGLint*); 59 typedef EGLImageKHR (EGLAPIENTRY *eglCreateImageKHR_t) (EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLint*);
|
RenderContext.h | 34 EGLContext getEGLContext() const { return m_ctx; } 43 EGLContext m_ctx;
|
FrameBuffer.h | 115 EGLContext m_eglContext; 117 EGLContext m_pbufContext; 119 EGLContext m_prevContext;
|
/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
egl_proc.h | 45 typedef EGLContext (* eglCreateContext_t) (EGLDisplay, EGLConfig, EGLContext, const EGLint*); 46 typedef EGLBoolean (* eglDestroyContext_t) (EGLDisplay, EGLContext); 47 typedef EGLBoolean (* eglMakeCurrent_t) (EGLDisplay, EGLSurface, EGLSurface, EGLContext); 48 typedef EGLContext (* eglGetCurrentContext_t) (); 51 typedef EGLBoolean (* eglQueryContext_t) (EGLDisplay, EGLContext, EGLint, EGLint*); 59 typedef EGLImageKHR (* eglCreateImageKHR_t) (EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLint*);
|
egl.cpp | 174 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) 179 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) 184 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) 189 EGLContext eglGetCurrentContext() 204 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) 239 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
|
/sdk/emulator/opengl/tests/gles_android_wrapper/ |
egl_proc.h | 45 typedef EGLContext (* eglCreateContext_t) (EGLDisplay, EGLConfig, EGLContext, const EGLint*); 46 typedef EGLBoolean (* eglDestroyContext_t) (EGLDisplay, EGLContext); 47 typedef EGLBoolean (* eglMakeCurrent_t) (EGLDisplay, EGLSurface, EGLSurface, EGLContext); 48 typedef EGLContext (* eglGetCurrentContext_t) (); 51 typedef EGLBoolean (* eglQueryContext_t) (EGLDisplay, EGLContext, EGLint, EGLint*); 59 typedef EGLImageKHR (* eglCreateImageKHR_t) (EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLint*);
|
ThreadInfo.h | 24 EGLWrapperContext(EGLContext p_aglContext, int _version) { 34 EGLContext aglContext;
|
/sdk/emulator/opengl/tests/ut_renderer/ |
RendererContext.cpp | 22 EGLContext ctx; 23 EGLContext shared = shareCtx == NULL ? EGL_NO_CONTEXT : shareCtx->eglContext();
|
RendererContext.h | 42 EGLContext eglContext() { return m_ctx; } 100 EGLContext m_ctx; 104 RendererContext(EGLDisplay dpy, EGLContext ctx, int version) :
|
Renderer.cpp | 141 EGLContext eglContext; 147 eglContext = c->second->eglContext(); 153 eglContext = c->second->eglContext(); 156 eglContext = EGL_NO_CONTEXT; 169 return eglMakeCurrent(m_dpy, draw, read, eglContext);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_context.h | 50 /** GL Trace Context info associated with each EGLContext */ 88 std::map<EGLContext, GLTraceContext*> mPerContextState; 104 GLTraceContext *createTraceContext(int version, EGLContext c); 105 GLTraceContext *getTraceContext(EGLContext c);
|
/external/skia/include/gpu/gl/ |
SkNativeGLContext.h | 51 EGLContext fOldEGLContext; 75 EGLContext fContext;
|
/frameworks/native/opengl/libs/ |
glestrace.h | 27 void GLTrace_eglCreateContext(int version, EGLContext c); 28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
|
/cts/tests/tests/effect/src/android/effect/cts/ |
GLEnv.java | 28 private EGLContext mEGLContext; 37 EGL10 egl = (EGL10)EGLContext.getEGL(); 71 EGL10 egl = (EGL10)EGLContext.getEGL(); 96 EGL10 egl = (EGL10)EGLContext.getEGL(); 102 EGL10 egl = (EGL10)EGLContext.getEGL();
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 32 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); 40 public native boolean eglDestroyContext(EGLDisplay display, EGLContext context); 42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); 53 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { 117 public synchronized EGLContext eglGetCurrentContext() { 147 private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
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[] attrib_list); 103 boolean eglDestroyContext(EGLDisplay display, EGLContext context); 107 EGLContext eglGetCurrentContext(); 113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); 114 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value);
|