Home
last modified time | relevance | path

Searched refs:eglMakeCurrent (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp257 result = eglMakeCurrent(display, surface, surface, context); in init()
310 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in init()
333 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in fini()
403 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in makeCurrent()
/frameworks/base/opengl/tests/angeles/
Dapp-linux.cpp159 eglMakeCurrent(dpy, surface, surface, context); in initGraphics()
180 eglMakeCurrent(sEglDisplay, NULL, NULL, NULL); in deinitGraphics()
/frameworks/base/core/java/android/view/
DHardwareRenderer.java631 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createEglSurface()
682 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroySurface()
692 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in invalidate()
852 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent()
999 sEgl.eglMakeCurrent(sEglDisplay, sPbuffer, sPbuffer, eglContext); in trimMemory()
/frameworks/base/libs/gui/tests/
DSurfaceTextureClient_test.cpp66 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in SetUp()
75 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
437 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
442 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
451 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
454 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
661 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
689 eglMakeCurrent(mEglDisplay, mEglSurfaces[i], mEglSurfaces[i], in TEST_F()
DSurfaceTexture_test.cpp113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in SetUp()
146 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
955 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, stcEglSurface, stcEglSurface, in TEST_F()
978 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in TEST_F()
1144 eglMakeCurrent(mProducerEglDisplay, mProducerEglSurface, in threadLoop()
1147 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in threadLoop()
/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in SetUp()
493 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in setUpEGLSurfaceFromMediaRecorder()
787 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in TEST_F()
798 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
882 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
925 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
/frameworks/base/opengl/tests/tritex/
Dtritex.cpp159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
172 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
/frameworks/base/libs/rs/driver/
DrsdGL.cpp135 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, in rsdGLShutdown()
291 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surfaceDefault, in rsdGLInit()
377 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surfaceDefault, in rsdGLSetSurface()
409 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surface, in rsdGLSetSurface()
/frameworks/base/opengl/tests/linetex/
Dlinetex.cpp63 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1042 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in createSurface()
1066 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
1090 mEgl.eglMakeCurrent(mEglDisplay, in purgeBuffers()
1093 mEgl.eglMakeCurrent(mEglDisplay, in purgeBuffers()
1133 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in destroySurface()
DEGLLogWrapper.java263 public boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, in eglMakeCurrent() method in EGLLogWrapper
271 boolean result = mEgl10.eglMakeCurrent(display, draw, read, context); in eglMakeCurrent()
/frameworks/base/opengl/tests/textures/
Dtextures.cpp59 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/opengl/tests/gl_perf/
Dgl2_perf.cpp111 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/opengl/tests/gl_basic/
Dgl_basic.cpp255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
283 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
/frameworks/base/opengl/tests/swapinterval/
Dswapinterval.cpp83 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java113 …boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext contex… in eglMakeCurrent() method
/frameworks/base/opengl/tests/fillrate/
Dfillrate.cpp62 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java350 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent()
391 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
/frameworks/base/opengl/tests/filter/
Dfilter.cpp63 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/opengl/libs/EGL/
Degl_entries.in15 EGL_ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay, EGLSurface, EGLSurface, EGLContext)
/frameworks/base/opengl/tests/angeles/include/GLES/
Degl.h214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLCont…
/frameworks/media/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp218 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in initializeEGL()
225 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminateEGL()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java40 …public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGL… in eglMakeCurrent() method in EGLImpl
/frameworks/base/opengl/tests/finish/
Dfinish.cpp63 eglMakeCurrent(dpy, surface, surface, context); in main()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp245 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) in readyToRun()
289 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in threadLoop()

12