Searched refs:mEglContext (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/cmds/screenrecord/
H A DEglWindow.h36 mEglContext(EGL_NO_CONTEXT),
76 EGLContext mEglContext; member in class:android::EglWindow
H A DEglWindow.cpp93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
151 if (mEglContext == EGL_NO_CONTEXT) {
165 if (mEglContext != EGL_NO_CONTEXT) {
166 eglDestroyContext(mEglDisplay, mEglContext);
175 mEglContext = EGL_NO_CONTEXT;
/frameworks/native/libs/gui/tests/
H A DGLTest.h40 mEglContext(EGL_NO_CONTEXT) {
64 EGLContext mEglContext; member in class:android::GLTest
H A DSRGB_test.cpp52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE),
61 if (mEglContext != EGL_NO_CONTEXT) {
62 eglDestroyContext(mEglDisplay, mEglContext);
233 EGLContext mEglContext; member in class:android::SRGBTest
269 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
272 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
280 mEglContext));
436 mEglContext));
448 mEglContext));
H A DSurfaceTextureMultiContextGL.h62 mEglContext));
H A DGLTest.cpp90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
93 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
96 mEglContext));
121 if (mEglContext != EGL_NO_CONTEXT) {
122 eglDestroyContext(mEglDisplay, mEglContext);
H A DSurfaceTextureClient_test.cpp37 mEglContext(EGL_NO_CONTEXT) {
80 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
82 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
84 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
94 eglDestroyContext(mEglDisplay, mEglContext);
119 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest
187 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext);
201 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
682 mEglContext(EGL_NO_CONTEXT) {
711 mEglContext
751 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest
[all...]
H A DSurfaceTextureGLToGL_test.cpp114 mEglContext));
172 mEglContext));
218 mEglContext));
353 mEglContext));
414 mEglContext));
475 mEglContext));
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java112 EGLContext mEglContext; field in class:BlockingGLTextureView.EglHelper
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
179 mEglContext = null;
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
249 return (GL10) mEglContext.getGL();
278 if (mEglContext != null) {
279 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
280 mEglContext
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp71 , mEglContext(EGL_NO_CONTEXT)
151 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs);
152 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT,
221 eglDestroyContext(mEglDisplay, mEglContext);
228 mEglContext = EGL_NO_CONTEXT;
241 } else if (!eglMakeCurrent(mEglDisplay, surface, surface, mEglContext)) {
H A DEglManager.h73 EGLContext mEglContext; member in class:android::uirenderer::renderthread::EglManager
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java143 private EGLContext mEglContext; field in class:GLTextureViewActivity.RenderThread
347 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
400 mGL = mEglContext.getGL();
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1021 mEglContext = null;
1029 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1031 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
1032 mEglContext = null;
1036 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId());
1094 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1112 GL gl = mEglContext.getGL();
1169 if (mEglContext != null) {
1172 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext);
1208 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper
[all...]
/frameworks/native/libs/gui/
H A DGLConsumer.cpp134 mEglContext(EGL_NO_CONTEXT),
161 mEglContext(EGL_NO_CONTEXT),
503 // if this is the first time we're called, mEglDisplay/mEglContext have
508 if (mEglContext == EGL_NO_CONTEXT) {
509 mEglContext = ctx;
518 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) {
524 mEglContext = ctx;
564 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
579 mEglContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java125 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine
650 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
674 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
675 if (mEglContext == EGL_NO_CONTEXT) {
686 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext);
696 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
716 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp58 mEglContext(EGL_NO_CONTEXT) {
122 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
125 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
128 mEglContext));
153 if (mEglContext != EGL_NO_CONTEXT) {
154 eglDestroyContext(mEglDisplay, mEglContext);
342 EGLContext mEglContext; member in class:android::GLTest
498 mEglContext));
800 mEglContext));
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java92 private EGLContext mEglContext; field in class:ColorFade
535 if (mEglContext == null) {
540 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
542 if (mEglContext == null) {
650 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/native/include/gui/
H A DGLConsumer.h270 // to mEglDisplay and mEglContext. If the fields have been previously
444 // mEglContext is the OpenGL ES context with which this GLConsumer is
448 EGLContext mEglContext; member in class:android::GLConsumer

Completed in 415 milliseconds