Lines Matching refs:display
92 * Initialize the display to the specified values.
245 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
246 eglInitialize(display, NULL, NULL);
247 eglGetConfigs(display, NULL, 0, &numConfigs);
250 err = selectConfigForPixelFormat(display, attribs, format, &config);
254 eglGetConfigAttrib(display, config, EGL_RED_SIZE, &r);
255 eglGetConfigAttrib(display, config, EGL_GREEN_SIZE, &g);
256 eglGetConfigAttrib(display, config, EGL_BLUE_SIZE, &b);
257 eglGetConfigAttrib(display, config, EGL_ALPHA_SIZE, &a);
263 if (eglGetConfigAttrib(display, config, EGL_CONFIG_CAVEAT, &dummy) == EGL_TRUE) {
272 surface = eglCreateWindowSurface(display, config, mNativeWindow.get(), NULL);
273 eglQuerySurface(display, surface, EGL_WIDTH, &mWidth);
274 eglQuerySurface(display, surface, EGL_HEIGHT, &mHeight);
279 eglSurfaceAttrib(display, surface,
296 context = eglCreateContext(display, config, NULL, contextAttributes);
298 mDisplay = display;
309 result = eglMakeCurrent(display, surface, surface, context);
321 eglQueryString(display, EGL_VENDOR),
322 eglQueryString(display, EGL_VERSION),
323 eglQueryString(display, EGL_EXTENSIONS));
333 ALOGI("Client API: %s", eglQueryString(display, EGL_CLIENT_APIS)?:"Not Supported");
346 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);