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

/frameworks/native/include/gui/
H A DSurfaceTexture.h367 // mEglContext is the OpenGL ES context with which this SurfaceTexture is
371 EGLContext mEglContext; member in class:android::SurfaceTexture
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.h90 EGLContext mEglContext; member in class:android::NativeWindowRenderer
/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/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp34 mEglContext(EGL_NO_CONTEXT) {
72 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
74 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
86 eglDestroyContext(mEglDisplay, mEglContext);
111 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest
653 mEglContext(EGL_NO_CONTEXT) {
682 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT,
685 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
707 if (mEglContext !
718 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest
[all...]
H A DSurfaceTexture_test.cpp46 mEglContext(EGL_NO_CONTEXT) {
113 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
116 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
119 mEglContext));
144 if (mEglContext != EGL_NO_CONTEXT) {
145 eglDestroyContext(mEglDisplay, mEglContext);
283 EGLContext mEglContext; member in class:android::GLTest
1507 mEglContext));
1565 mEglContext));
1611 mEglContext));
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java87 private EGLContext mEglContext; field in class:ElectronBeam
499 if (mEglContext == null) {
503 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
505 if (mEglContext == null) {
515 if (mEglContext != null) {
516 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) {
519 mEglContext = null;
618 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp57 mEglContext(EGL_NO_CONTEXT) {
121 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
124 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
127 mEglContext));
152 if (mEglContext != EGL_NO_CONTEXT) {
153 eglDestroyContext(mEglDisplay, mEglContext);
341 EGLContext mEglContext; member in class:android::GLTest
499 mEglContext));
801 mEglContext));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java126 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine
619 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
642 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
656 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
661 mGL = mEglContext.getGL();
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java632 EGLContext mEglContext; field in class:HardwareRenderer.GlRenderer
862 mEglContext = managedContext != null ? managedContext.getContext() : null;
865 if (mEglContext == null) {
866 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig);
867 sEglContextStorage.set(createManagedContext(mEglContext));
967 return mEglContext.getGL();
1068 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1348 if (!mEglContext.equals(sEgl.eglGetCurrentContext()) ||
1350 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1434 return new Gl20Renderer.Gl20RendererEglContext(mEglContext);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1022 mEglContext = null;
1030 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1032 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
1033 mEglContext = null;
1037 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId());
1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1113 GL gl = mEglContext.getGL();
1170 if (mEglContext != null) {
1173 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext);
1209 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 317 milliseconds