Lines Matching defs:config
409 * Install a config chooser which will choose a config
427 * Install a config chooser which will choose a config
468 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config.
700 * @param config the EGLConfig of the created surface. Can be used
703 void onSurfaceCreated(GL10 gl, EGLConfig config);
762 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) {
766 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
792 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config,
800 EGLConfig config, Object nativeWindow) {
803 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null);
867 EGLConfig config = chooseConfig(egl, display, configs);
868 if (config == null) {
869 throw new IllegalArgumentException("No config chosen");
871 return config;
927 for (EGLConfig config : configs) {
928 int d = findConfigAttrib(egl, display, config,
930 int s = findConfigAttrib(egl, display, config,
933 int r = findConfigAttrib(egl, display, config,
935 int g = findConfigAttrib(egl, display, config,
937 int b = findConfigAttrib(egl, display, config,
939 int a = findConfigAttrib(egl, display, config,
943 return config;
951 EGLConfig config, int attribute, int defaultValue) {
953 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {