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

  /frameworks/native/libs/gui/tests/
GLTest.h 39 mEglSurface(EGL_NO_SURFACE),
63 EGLSurface mEglSurface;
SurfaceTextureClient_test.cpp 39 mEglSurface(EGL_NO_SURFACE),
79 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
81 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
87 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
98 eglDestroySurface(mEglDisplay, mEglSurface);
121 EGLSurface mEglSurface;
204 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
SRGB_test.cpp 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE),
64 if (mEglSurface != EGL_NO_SURFACE) {
65 eglDestroySurface(mEglDisplay, mEglSurface);
241 EGLSurface mEglSurface;
281 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig,
284 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
286 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
384 eglSwapBuffers(mEglDisplay, mEglSurface);
417 eglSwapBuffers(mEglDisplay, mEglSurface);
    [all...]
  /frameworks/av/cmds/screenrecord/
EglWindow.h 37 mEglSurface(EGL_NO_SURFACE),
77 EGLSurface mEglSurface;
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
Renderer.h 37 EGLSurface mEglSurface;
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
GLTest_test.cpp 39 mEglSurface(EGL_NO_SURFACE),
70 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
78 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
82 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
94 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
96 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
105 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
106 eglSwapBuffers(mEglDisplay, mEglSurface);
    [all...]
EGLCleanup_test.cpp 78 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT),
115 EGLSurface mEglSurface;
207 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
265 mEglSurface = eglCreatePbufferSurface(mEglDisplay, eglConfig,
267 if (mEglSurface == EGL_NO_SURFACE) {
299 eglDestroySurface(mEglDisplay, mEglSurface);
  /frameworks/base/libs/hwui/renderthread/
CanvasContext.h 130 EGLSurface mEglSurface = EGL_NO_SURFACE;
  /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)) {
138 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
140 mEglSurface = EGL10.EGL_NO_SURFACE;
152 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
  /hardware/ti/omap4-aah/test/CameraHal/
camera_test_surfacetexture.h 68 mEglSurface(EGL_NO_SURFACE),
89 EGLSurface mEglSurface;
  /packages/apps/Camera2/src/com/android/camera/
SurfaceTextureRenderer.java 43 private EGLSurface mEglSurface;
57 if (mEglDisplay != null && mEglSurface != null) {
59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
84 mEglSurface = null;
135 mEglSurface = mEgl.eglCreateWindowSurface(
137 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
142 mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 58 mEglSurface(EGL_NO_SURFACE),
108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
117 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
121 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
128 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
135 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
146 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
147 eglSwapBuffers(mEglDisplay, mEglSurface);
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
BlockingGLTextureView.java 110 EGLSurface mEglSurface;
183 mEglSurface = null;
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
218 mEglSurface = null;
221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE)
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
ColorFade.java 90 private EGLSurface mEglSurface;
384 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
586 if (mEglSurface == null) {
591 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
593 if (mEglSurface == null) {
602 if (mEglSurface != null) {
603 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) {
606 mEglSurface = null;
644 if (mEglSurface == null) {
647 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 144 private EGLSurface mEglSurface;
238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
385 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 56 private EGLSurface mEglSurface;
108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
144 mEglSurface = mEgl.eglCreateWindowSurface(
146 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
166 mEglSurface = null
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 110 EGLSurface mEglSurface;
183 mEglSurface = null;
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
218 mEglSurface = null;
221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/beam/
FireflyRenderer.java 162 EGLSurface mEglSurface;
204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
318 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 71 private EGLSurface mEglSurface;
135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null);
178 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java     [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 127 private EGLSurface mEglSurface;
564 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
680 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
735 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
736 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
747 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {

Completed in 358 milliseconds