Searched refs:EGL_RESULT_CHECK (Results 1 – 1 of 1) sorted by relevance
/cts/tests/openglperf2/jni/graphics/ |
D | Renderer.cpp | 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() [all …]
|