May 2017
Beginner to intermediate
470 pages
10h 49m
English
After the OpenGL ES vendor libraries are loaded, SurfaceFlinger:init will create the rendering engine:
mRenderEngine = RenderEngine::create(mEGLDisplay, mHwc->getVisualID());
Inside RenderEngine::create, it will call RenderEngine::chooseEglConfig, which will print out the debug message for EGL:
EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) { status_t err; EGLConfig config; // First try to get an ES2 config err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config); ... eglGetConfigAttrib(display, config, EGL_ALPHA_SIZE, &a); ALOGI("EGL information:"); ALOGI("vendor : %s", eglQueryString(display, EGL_VENDOR)); ALOGI("version : %s", eglQueryString(display, EGL_VERSION)); ...Read now
Unlock full access