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

  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 48 private EGLSurface mEglSurface = EGL10.EGL_NO_SURFACE;
116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
118 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
137 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
139 mEglSurface = EGL10.EGL_NO_SURFACE;
151 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 54 private EGLSurface mEglSurface;
105 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
117 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
141 mEglSurface = mEgl.eglCreateWindowSurface(
143 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
158 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
163 mEglSurface = null
    [all...]
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 56 mEglSurface(EGL_NO_SURFACE),
106 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
115 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
119 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
131 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
144 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
145 eglSwapBuffers(mEglDisplay, mEglSurface);
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderer.java 162 EGLSurface mEglSurface;
203 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
229 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
281 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
282 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
315 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
317 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
323 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 145 private EGLSurface mEglSurface;
239 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
349 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
354 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
355 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
384 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
386 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
396 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /frameworks/native/libs/gui/tests/
SurfaceTexture_test.cpp 45 mEglSurface(EGL_NO_SURFACE),
99 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
107 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
111 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
118 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
123 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
125 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
136 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
137 eglSwapBuffers(mEglDisplay, mEglSurface);
    [all...]
SurfaceTextureClient_test.cpp 33 mEglSurface(EGL_NO_SURFACE),
68 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
70 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
87 eglDestroySurface(mEglDisplay, mEglSurface);
110 EGLSurface mEglSurface;
  /frameworks/base/core/java/android/view/
HardwareRenderer.java 604 EGLSurface mEglSurface;
919 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java     [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 118 private EGLSurface mEglSurface;
439 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
558 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
584 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
586 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
596 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
  /frameworks/av/libvideoeditor/lvpp/
NativeWindowRenderer.cpp 208 mEglSurface = eglCreateWindowSurface(mEglDisplay, config,
217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
223 eglDestroySurface(mEglDisplay, mEglSurface);
377 eglSwapBuffers(mEglDisplay, mEglSurface);
NativeWindowRenderer.h 89 EGLSurface mEglSurface;

Completed in 1051 milliseconds