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

  /frameworks/base/opengl/tests/EGLTest/
EGL_test.cpp 27 EGLDisplay mEglDisplay;
31 mEglDisplay(EGL_NO_DISPLAY) {
35 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
36 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
41 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
48 EGLBoolean success = eglTerminate(mEglDisplay);
65 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
72 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2])
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderThread.java 47 EGLDisplay mEglDisplay;
236 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
255 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
256 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
263 if (!mEgl.eglInitialize(mEglDisplay, version)) {
275 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
277 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
285 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
297 if (mEgl == null || mEglDisplay == null) {
302 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE
    [all...]
  /frameworks/base/libs/gui/tests/
SurfaceTextureClient_test.cpp 27 mEglDisplay(EGL_NO_DISPLAY),
40 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
42 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
45 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
50 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(),
58 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
62 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
66 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
75 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
76 eglDestroyContext(mEglDisplay, mEglContext)
    [all...]
SurfaceTexture_test.cpp 44 mEglDisplay(EGL_NO_DISPLAY),
50 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
52 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
56 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
62 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
94 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
102 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
108 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
118 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w))
    [all...]
  /frameworks/base/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 55 mEglDisplay(EGL_NO_DISPLAY),
62 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
64 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
68 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
74 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
106 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
115 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
121 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
131 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 138 private EGLDisplay mEglDisplay;
234 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
343 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
344 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
350 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
360 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
361 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
367 if (!mEgl.eglInitialize(mEglDisplay, version)) {
377 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
379 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null)
    [all...]
  /frameworks/media/libvideoeditor/lvpp/
NativeWindowRenderer.cpp 188 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
193 eglInitialize(mEglDisplay, &majorVersion, &minorVersion);
206 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs);
209 mEglSurface = eglCreateWindowSurface(mEglDisplay, config,
214 mEglContext = eglCreateContext(mEglDisplay, config, EGL_NO_CONTEXT,
218 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
223 eglDestroyContext(mEglDisplay, mEglContext);
224 eglDestroySurface(mEglDisplay, mEglSurface);
225 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
226 eglTerminate(mEglDisplay);
    [all...]
NativeWindowRenderer.h 88 EGLDisplay mEglDisplay;
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 115 private EGLDisplay mEglDisplay;
431 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
549 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
550 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
551 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
557 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
558 if (mEglDisplay == EGL_NO_DISPLAY) {
564 if (!mEgl.eglInitialize(mEglDisplay, version)) {
574 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
576 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null)
    [all...]
  /frameworks/base/include/gui/
SurfaceTexture.h 261 mEglDisplay(EGL_NO_DISPLAY),
277 // mEglDisplay is the EGLDisplay used to create mEglImage.
278 EGLDisplay mEglDisplay;
  /frameworks/base/libs/gui/
SurfaceTexture.cpp 424 eglDestroyImageKHR(mSlots[buf].mEglDisplay, mSlots[buf].mEglImage);
426 mSlots[buf].mEglDisplay = EGL_NO_DISPLAY;
690 mSlots[buf].mEglDisplay = dpy;
881 eglDestroyImageKHR(mSlots[i].mEglDisplay, mSlots[i].mEglImage);
883 mSlots[i].mEglDisplay = EGL_NO_DISPLAY;
    [all...]

Completed in 1173 milliseconds