Lines Matching defs:display

47  * <li>Manages an EGL display, which enables OpenGL to render into a surface.
109 * the OpenGL display.
489 * recreate the OpenGL display and resume the rendering
701 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig);
702 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context);
708 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) {
712 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
716 public void destroyContext(EGL10 egl, EGLDisplay display,
718 egl.eglDestroyContext(display, context);
729 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config,
731 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface);
736 public EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display,
738 return egl.eglCreateWindowSurface(display, config, nativeWindow, null);
741 public void destroySurface(EGL10 egl, EGLDisplay display,
743 egl.eglDestroySurface(display, surface);
760 * @param egl the EGL10 for the current display.
761 * @param display the current display.
764 EGLConfig chooseConfig(EGL10 egl, EGLDisplay display);
773 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
775 if (!egl.eglChooseConfig(display, mConfigSpec, null, 0,
788 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs,
792 EGLConfig config = chooseConfig(egl, display, configs);
799 abstract EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
842 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
847 int d = findConfigAttrib(egl, display, config,
849 int s = findConfigAttrib(egl, display, config,
852 int r = findConfigAttrib(egl, display, config,
854 int g = findConfigAttrib(egl, display, config,
856 int b = findConfigAttrib(egl, display, config,
858 int a = findConfigAttrib(egl, display, config,
873 private int findConfigAttrib(EGL10 egl, EGLDisplay display,
876 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
928 * Get to the default display.
937 * We can now initialize EGL for that display