Home
last modified time | relevance | path

Searched refs:numConfigs (Results 1 – 4 of 4) sorted by relevance

/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
DGL2JNIView.java165 int numConfigs = num_config[0]; in chooseConfig() local
167 if (numConfigs <= 0) { in chooseConfig()
173 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig()
223 int numConfigs = configs.length; in printConfigs() local
224 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs()
225 for (int i = 0; i < numConfigs; i++) { in printConfigs()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dapp-linux.c114 EGLint numConfigs; in initGraphics() local
128 success = eglGetConfigs(sEglDisplay, NULL, 0, &numConfigs); in initGraphics()
131 &sEglConfig, 1, &numConfigs); in initGraphics()
Dapp-win32.c100 EGLint numConfigs; in initEGL() local
122 success = eglGetConfigs(sEglDisplay, NULL, 0, &numConfigs); in initEGL()
125 &sEglConfig, 1, &numConfigs); in initEGL()
/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c79 EGLint numConfigs; in engine_init_display() local
91 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in engine_init_display()