Lines Matching refs:mEglDisplay
109 mContexts[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs); in setUp()
114 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]) in setUp()
145 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); in tearDown()
150 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in tearDown()
151 eglDestroyContext(mEglDisplay, mContexts[i]); in tearDown()
155 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in tearDown()
181 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in drawWorkload()
186 eglWaitSyncKHR(mEglDisplay, fence, 0); in drawWorkload()
187 eglDestroySyncKHR(mEglDisplay, fence); in drawWorkload()
204 fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in drawWorkload()
208 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); in drawWorkload()
226 eglWaitSyncKHR(mEglDisplay, fence, 0); in drawWorkload()
227 eglDestroySyncKHR(mEglDisplay, fence); in drawWorkload()
230 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in drawWorkload()