/frameworks/native/libs/gui/tests/ |
SurfaceTextureGLToGL.h | 32 mProducerEglContext(EGL_NO_CONTEXT) { 46 EGL_NO_CONTEXT, getContextAttribs()); 48 ASSERT_NE(EGL_NO_CONTEXT, mProducerEglContext); 52 if (mProducerEglContext != EGL_NO_CONTEXT) {
|
SurfaceTextureMultiContextGL.h | 30 mSecondEglContext(EGL_NO_CONTEXT), 31 mThirdEglContext(EGL_NO_CONTEXT) { 39 EGL_NO_CONTEXT, getContextAttribs()); 41 ASSERT_NE(EGL_NO_CONTEXT, mSecondEglContext); 51 EGL_NO_CONTEXT, getContextAttribs()); 53 ASSERT_NE(EGL_NO_CONTEXT, mThirdEglContext); 67 if (mThirdEglContext != EGL_NO_CONTEXT) { 70 if (mSecondEglContext != EGL_NO_CONTEXT) {
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
egltypes.h | 18 #define EGL_NO_CONTEXT ((EGLContext)0)
|
/external/deqp/framework/egl/ |
egluUnique.cpp | 77 if (m_context != EGL_NO_CONTEXT) 83 return m_context != EGL_NO_CONTEXT; 95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
GlTestBase.java | 32 import static android.opengl.EGL14.EGL_NO_CONTEXT; 81 assertNotSame(EGL_NO_CONTEXT, eglConfig); 96 eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
/external/skia/tools/viewer/sk_app/android/ |
GLWindowContext_android.cpp | 47 , fEGLContext(EGL_NO_CONTEXT) 96 SkASSERT(EGL_NO_CONTEXT != fEGLContext); 140 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 143 fEGLContext = EGL_NO_CONTEXT;
|
/external/skia/tools/fiddle/ |
egl_context.cpp | 59 EGLContext eglCtx = eglCreateContext(eglDpy, eglCfg, EGL_NO_CONTEXT, NULL); 60 if (EGL_NO_CONTEXT == eglCtx) {
|
/frameworks/av/cmds/screenrecord/ |
EglWindow.cpp | 148 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 150 if (mEglContext == EGL_NO_CONTEXT) { 162 EGL_NO_CONTEXT); 164 if (mEglContext != EGL_NO_CONTEXT) { 174 mEglContext = EGL_NO_CONTEXT;
|
EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT),
|
/external/deqp/modules/egl/ |
teglMultiContextTests.cpp | 146 const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT); 150 if (context == EGL_NO_CONTEXT || error != EGL_SUCCESS) 164 if (context != EGL_NO_CONTEXT) 165 resultCollector.fail("eglCreateContext() produced error, but context is not EGL_NO_CONTEXT"); 199 contexts[contextNdx] = EGL_NO_CONTEXT; 203 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); 209 if (contexts[contextNdx] != EGL_NO_CONTEXT) 214 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
|
teglCreateContextTests.cpp | 97 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); 100 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) 146 const EGLContext context = egl.createContext(*display, (EGLConfig)0, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); 149 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS)
|
teglNegativeApiTests.cpp | 95 // - EGL_BAD_CONTEXT is generated if share_context is not an EGL rendering context of the same client API type as the newly created context and is not EGL_NO_CONTEXT 110 // - EGL_BAD_MATCH is generated if context is set to EGL_NO_CONTEXT and draw or read are not set to EGL_NO_SURFACE 111 // - EGL_BAD_MATCH is generated if draw or read are set to EGL_NO_SURFACE and context is not set to EGL_NO_CONTEXT 295 expectNoContext(eglCreateContext(EGL_NO_DISPLAY, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); 298 expectNoContext(eglCreateContext((EGLDisplay)-1, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); 305 expectNoContext(eglCreateContext(display, (EGLConfig)-1, EGL_NO_CONTEXT, s_emptyAttribList)); 318 expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); 326 expectNoContext(eglCreateContext(display, es2OnlyConfig, EGL_NO_CONTEXT, s_es2ContextAttribList)); 334 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); 345 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)) [all...] |
teglThreadCleanUpTests.cpp | 107 if (m_context == EGL_NO_CONTEXT) 109 const eglu::UniqueContext context (m_egl, m_display, m_egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList)); 176 , m_context (EGL_NO_CONTEXT) 207 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); 235 if (m_context != EGL_NO_CONTEXT) 238 m_context = EGL_NO_CONTEXT;
|
/cts/tests/tests/media/src/android/media/cts/ |
InputSurface.java | 42 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 97 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, mConfigs[0], EGL14.EGL_NO_CONTEXT, 156 mEGLContext = EGL14.EGL_NO_CONTEXT; 174 EGL14.EGL_NO_CONTEXT)) {
|
/cts/tests/tests/view/src/android/view/cts/ |
GLProducerThread.java | 42 private EGLContext mEglContext = EGL10.EGL_NO_CONTEXT; 111 configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); 134 EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); 137 mEglContext = EGL10.EGL_NO_CONTEXT;
|
/frameworks/base/libs/hwui/ |
Image.cpp | 31 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT,
|
/packages/services/Car/evs/app/ |
RenderBase.cpp | 31 EGLContext RenderBase::sContext = EGL_NO_CONTEXT; 103 EGLContext context = eglCreateContext(display, egl_config, EGL_NO_CONTEXT, context_attribs); 104 if (context == EGL_NO_CONTEXT) { 163 sKHRimage = eglCreateImageKHR(sDisplay, EGL_NO_CONTEXT,
|
/prebuilts/ndk/r11/sources/android/ndk_helper/ |
GLContext.cpp | 40 context_( EGL_NO_CONTEXT ), 192 eglMakeCurrent( display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT ); 193 if( context_ != EGL_NO_CONTEXT ) 206 context_ = EGL_NO_CONTEXT;
|
/prebuilts/ndk/r13/sources/android/ndk_helper/ |
GLContext.cpp | 40 context_( EGL_NO_CONTEXT ), 192 eglMakeCurrent( display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT ); 193 if( context_ != EGL_NO_CONTEXT ) 206 context_ = EGL_NO_CONTEXT;
|
/cts/tests/openglperf2/jni/graphics/ |
Renderer.cpp | 92 mEglContext(EGL_NO_CONTEXT), mWindow(window) { 111 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs); 112 EGL_RESULT_CHECK(mEglContext != EGL_NO_CONTEXT); 123 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 125 if (mEglContext != EGL_NO_CONTEXT) { 127 mEglContext = EGL_NO_CONTEXT;
|
/external/skia/tools/gpu/gl/command_buffer/ |
GLTestContext_command_buffer.cpp | 32 #define EGL_NO_CONTEXT ((EGLContext)0) 142 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { 201 if (EGL_NO_CONTEXT == fContext) { 240 if (EGL_NO_CONTEXT != fContext) { 242 fContext = EGL_NO_CONTEXT; 248 gfMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
EglBase10.java | 215 if (eglDisplay == EGL10.EGL_NO_DISPLAY || eglContext == EGL10.EGL_NO_CONTEXT 228 eglContext = EGL10.EGL_NO_CONTEXT; 248 eglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT)) { 291 sharedContext == null ? EGL10.EGL_NO_CONTEXT : sharedContext.eglContext; 294 if (eglContext == EGL10.EGL_NO_CONTEXT) {
|
EglBase14.java | 159 if (eglDisplay == EGL14.EGL_NO_DISPLAY || eglContext == EGL14.EGL_NO_CONTEXT 173 eglContext = EGL14.EGL_NO_CONTEXT; 193 eglDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT)) { 246 sharedContext == null ? EGL14.EGL_NO_CONTEXT : sharedContext.egl14Context; 249 if (eglContext == EGL14.EGL_NO_CONTEXT) {
|
/packages/services/Car/evs/sampleDriver/ |
GlWrapper.cpp | 283 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); 284 if (mContext == EGL_NO_CONTEXT) { 325 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 330 mContext = EGL_NO_CONTEXT; 389 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaOutputSurface.java | 53 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 159 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, 198 mEGLContext = EGL14.EGL_NO_CONTEXT;
|