/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglContextTest.java | 22 import android.opengl.EGLContext; 41 EGLContext eglContext = null; 44 eglContext = createEglContext(eglDisplay); 45 destroyEglContext(eglDisplay, eglContext); 47 eglContext = null; 50 if (eglContext != null) { 51 EGL14.eglDestroyContext(eglDisplay, eglContext); 81 private static EGLContext createEglContext(EGLDisplay eglDisplay) { 83 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay [all...] |
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
ThreadInfo.h | 19 #include "EglContext.h" 33 ContextPtr eglContext;
|
ClientAPIExts.cpp | 97 if (!thread->eglContext.Ptr()) { \ 100 int idx = (int)thread->eglContext->version() - 1; \ 111 if (!thread->eglContext.Ptr()) { \ 114 int idx = (int)thread->eglContext->version() - 1; \
|
ThreadInfo.cpp | 33 eglContext = eglCtx;
|
EglImp.cpp | 36 #include "EglContext.h" 75 EGLImageKHR eglCreateImageKHR(EGLDisplay display, EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 119 #define VALIDATE_CONTEXT_RETURN(EGLContext,ret) \ 120 ContextPtr ctx = dpy->getContext(EGLContext); \ 135 #define VALIDATE_CONTEXT(EGLContext) \ 136 VALIDATE_CONTEXT_RETURN(EGLContext,EGL_FALSE) 605 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay display, EGLConfig config, 606 EGLContext share_context, 651 ContextPtr ctx(new EglContext(dpy, nativeContext,sharedCtxPtr,cfg,glesCtx,version,dpy->getManager(version))); 660 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay display, EGLContext context) [all...] |
/sdk/emulator/opengl/tests/ut_renderer/ |
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);
|
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) :
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
esUtil.c | 58 EGLContext* eglContext, EGLSurface* eglSurface, 65 EGLContext context; 133 *eglContext = context; 205 &esContext->eglContext,
|
esUtil.h | 81 EGLContext eglContext;
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 22 EGLContext eglContext;
153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
174 eglDestroyContext( eglDisplay, eglContext );
|
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 20 EGLContext eglContext; 249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) 255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) 285 eglDestroyContext( eglDisplay, eglContext );
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_context.cpp | 117 GLTraceContext *GLTraceState::createTraceContext(int version, EGLContext eglContext) { 123 mPerContextState[eglContext] = traceContext; 128 GLTraceContext *GLTraceState::getTraceContext(EGLContext c) {
|
/frameworks/base/core/java/android/view/ |
HardwareRenderer.java | 44 import javax.microedition.khronos.egl.EGLContext; 838 EGLContext mEglContext; [all...] |
/external/chromium_org/third_party/skia/src/views/win/ |
SkOSWindow_win.cpp | 387 EGLContext* eglContext, 458 EGLContext context = eglCreateContext(display, *eglConfig, 471 *eglContext = context;
|
/external/skia/src/views/win/ |
SkOSWindow_win.cpp | 387 EGLContext* eglContext, 458 EGLContext context = eglCreateContext(display, *eglConfig, 471 *eglContext = context;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
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(); 90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); 92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true) [all...] |
/external/chromium_org/third_party/angle/samples/gles2_book/MultipleRenderTargets/ |
MultipleRenderTargets.c | 271 eglDestroyContext(esContext->eglDisplay, esContext->eglContext);
|