Lines Matching refs:display

49  * <li>Manages an EGL display, which enables OpenGL to render into a surface.
125 * the OpenGL display.
556 * recreate the OpenGL display and resume the rendering
760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig);
761 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context);
767 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) {
771 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
775 public void destroyContext(EGL10 egl, EGLDisplay display,
777 if (!egl.eglDestroyContext(display, context)) {
778 Log.e("DefaultContextFactory", "display:" + display + " context: " + context);
797 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config,
799 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface);
804 public EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display,
808 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null);
821 public void destroySurface(EGL10 egl, EGLDisplay display,
823 egl.eglDestroySurface(display, surface);
840 * @param egl the EGL10 for the current display.
841 * @param display the current display.
844 EGLConfig chooseConfig(EGL10 egl, EGLDisplay display);
853 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
855 if (!egl.eglChooseConfig(display, mConfigSpec, null, 0,
868 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs,
872 EGLConfig config = chooseConfig(egl, display, configs);
879 abstract EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
926 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
929 int d = findConfigAttrib(egl, display, config,
931 int s = findConfigAttrib(egl, display, config,
934 int r = findConfigAttrib(egl, display, config,
936 int g = findConfigAttrib(egl, display, config,
938 int b = findConfigAttrib(egl, display, config,
940 int a = findConfigAttrib(egl, display, config,
951 private int findConfigAttrib(EGL10 egl, EGLDisplay display,
954 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
1004 * Get to the default display.
1013 * We can now initialize EGL for that display