Lines Matching refs:display
112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
116 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
121 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
122 egl.eglDestroyContext(display, context); in destroyContext()
158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
163 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); in chooseConfig()
174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig()
177 printConfigs(egl, display, configs); in chooseConfig()
181 return chooseConfig(egl, display, configs); in chooseConfig()
184 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig() argument
187 int d = findConfigAttrib(egl, display, config, in chooseConfig()
189 int s = findConfigAttrib(egl, display, config, in chooseConfig()
197 int r = findConfigAttrib(egl, display, config, in chooseConfig()
199 int g = findConfigAttrib(egl, display, config, in chooseConfig()
201 int b = findConfigAttrib(egl, display, config, in chooseConfig()
203 int a = findConfigAttrib(egl, display, config, in chooseConfig()
212 private int findConfigAttrib(EGL10 egl, EGLDisplay display, in findConfigAttrib() argument
215 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib()
221 private void printConfigs(EGL10 egl, EGLDisplay display, in printConfigs() argument
227 printConfig(egl, display, configs[i]); in printConfigs()
231 private void printConfig(EGL10 egl, EGLDisplay display, in printConfig() argument
307 if ( egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig()