Lines Matching refs:EGL_RESULT_CHECK
26 #define EGL_RESULT_CHECK(X) do { \ macro
98 EGL_RESULT_CHECK(mEglDisplay != EGL_NO_DISPLAY); in eglSetUp()
102 EGL_RESULT_CHECK(eglInitialize(mEglDisplay, &major, &minor)); in eglSetUp()
105 EGL_RESULT_CHECK(eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs) in eglSetUp()
109 EGL_RESULT_CHECK(mEglSurface != EGL_NO_SURFACE); in eglSetUp()
112 EGL_RESULT_CHECK(mEglContext != EGL_NO_CONTEXT); in eglSetUp()
114 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in eglSetUp()
115 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &mWidth)); in eglSetUp()
116 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight)); in eglSetUp()
143 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in setUp()
229 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in draw()
292 EGL_RESULT_CHECK(eglSwapBuffers(mEglDisplay, mEglSurface)); in draw()