HomeSort by relevance Sort by last modified time
    Searched refs:mEglContext (Results 1 - 17 of 17) sorted by null

  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 47 private EGLContext mEglContext = EGL10.EGL_NO_CONTEXT;
114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs);
127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
132 mGl = mEglContext.getGL();
136 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
138 mEglContext = EGL10.EGL_NO_CONTEXT;
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 55 private EGLContext mEglContext;
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
141 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
154 mGl = (GL10) mEglContext.getGL();
162 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
167 mEglContext = null;
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 70 private EGLContext mEglContext;
145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
195 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderer.java 161 EGLContext mEglContext;
281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
314 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
330 mGL = (GL10) mEglContext.getGL();
348 if (mEglContext != null) {
349 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 143 private EGLContext mEglContext;
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/
SurfaceTextureClient_test.cpp 34 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;
653 mEglContext(EGL_NO_CONTEXT) {
682 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT,
685 ASSERT_NE(EGL_NO_CONTEXT, mEglContext);
707 if (mEglContext != EGL_NO_CONTEXT)
    [all...]
SurfaceTexture_test.cpp 46 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;
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/base/core/java/android/view/
HardwareRenderer.java 632 EGLContext mEglContext;
862 mEglContext = managedContext != null ? managedContext.getContext() : null;
865 if (mEglContext == null) {
866 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig);
867 sEglContextStorage.set(createManagedContext(mEglContext));
    [all...]
  /frameworks/native/libs/gui/
SurfaceTexture.cpp 130 mEglContext(EGL_NO_CONTEXT),
225 if ((mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) ||
232 mEglContext = ctx;
360 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
387 mEglContext = EGL_NO_CONTEXT;
459 mEglContext = ctx;
767 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT)
    [all...]
  /frameworks/av/libvideoeditor/lvpp/
NativeWindowRenderer.h 90 EGLContext mEglContext;
NativeWindowRenderer.cpp 213 mEglContext = eglCreateContext(mEglDisplay, config, EGL_NO_CONTEXT,
217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
222 eglDestroyContext(mEglDisplay, mEglContext);
  /frameworks/native/include/gui/
SurfaceTexture.h 367 // mEglContext is the OpenGL ES context with which this SurfaceTexture is
371 EGLContext mEglContext;
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 57 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;
499 mEglContext));
801 mEglContext));
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 126 private EGLContext mEglContext;
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/services/java/com/android/server/power/
ElectronBeam.java 85 private EGLContext mEglContext;
503 if (mEglContext == null) {
507 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
509 if (mEglContext == null) {
519 if (mEglContext != null) {
520 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) {
523 mEglContext = null;
636 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {

Completed in 251 milliseconds