Searched defs:mEglContext (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DGLTest.h40 mEglContext(EGL_NO_CONTEXT) {
64 EGLContext mEglContext; member in class:android::GLTest
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 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));
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h36 mEglContext(EGL_NO_CONTEXT),
76 EGLContext mEglContext; member in class:android::EglWindow
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h73 EGLContext mEglContext; member in class:android::uirenderer::renderthread::EglManager
/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
/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/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/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/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/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/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...]

Completed in 297 milliseconds