/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigTest.java | 74 int[] numConfigs = new int[1]; 90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { 91 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; 93 numConfigs)) { 94 int[] configIds = new int[numConfigs[0]]; 95 for (int i = 0; i < numConfigs[0]; i++) {
|
OpenGlEsVersionTest.java | 154 int[] numConfigs = new int[1]; 160 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { 161 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; 162 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { 165 for (int i = 0; i < numConfigs[0]; i++) { 179 + "(" + i + "/" + numConfigs[0] + "): "
|
/frameworks/native/opengl/tests/EGLTest/ |
EGL_test.cpp | 58 EGLint numConfigs; 67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 70 ASSERT_GE(numConfigs, 1); 90 EGLint numConfigs; 101 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); 128 EGLint numConfigs; 141 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 144 ASSERT_GE(numConfigs, 1);
|
/frameworks/native/opengl/tests/include/ |
EGLUtils.h | 82 EGLint numConfigs = -1, n=0; 91 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) 94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); 95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) {
|
/external/deqp/framework/egl/ |
tcuEgl.cpp | 64 EGLint numConfigs = 0; 65 TCU_CHECK_EGL_CALL(eglGetConfigs(m_display, DE_NULL, 0, &numConfigs)); 66 configs.resize(numConfigs); 67 if (numConfigs > 0) 68 TCU_CHECK_EGL_CALL(eglGetConfigs(m_display, &configs[0], (EGLint)configs.size(), &numConfigs)); 73 EGLint numConfigs = 0; 74 TCU_CHECK_EGL_CALL(eglChooseConfig(m_display, attribList, DE_NULL, 0, &numConfigs)); 75 configs.resize(numConfigs); 76 if (numConfigs > 0) 77 TCU_CHECK_EGL_CALL(eglChooseConfig(m_display, attribList, &configs[0], (EGLint)configs.size(), &numConfigs)); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
DFAState.java | 430 int numConfigs = nfaConfigurations.size(); 431 for (int i = 0; i < numConfigs; i++) { 456 int numConfigs = nfaConfigurations.size(); 457 for (int i = 0; i < numConfigs; i++) { 483 int numConfigs = nfaConfigurations.size(); 484 for (int i = 0; i < numConfigs; i++) { 534 int numConfigs = nfaConfigurations.size(); 535 if ( numConfigs <=1 ) { 543 for (int i = 0; i < numConfigs; i++) { 645 int numConfigs = nfaConfigurations.size() [all...] |
/external/chromium_org/third_party/skia/platform_tools/android/app/src/com/skia/ |
SkiaSampleView.java | 194 int numConfigs = 0; 204 for (int i = initialAPI; i < validAPIs.length && numConfigs == 0; i++) { 241 numConfigs = value[0]; 244 if (numConfigs <= 0) { 268 numConfigs = value[0]; 272 if (numConfigs <= 0) { 277 EGLConfig[] configs = new EGLConfig[numConfigs]; 278 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) {
|
/external/skia/platform_tools/android/app/src/com/skia/ |
SkiaSampleView.java | 194 int numConfigs = 0; 204 for (int i = initialAPI; i < validAPIs.length && numConfigs == 0; i++) { 241 numConfigs = value[0]; 244 if (numConfigs <= 0) { 268 numConfigs = value[0]; 272 if (numConfigs <= 0) { 277 EGLConfig[] configs = new EGLConfig[numConfigs]; 278 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) {
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
GL2JNIView.java | 165 int numConfigs = num_config[0]; 167 if (numConfigs <= 0) { 173 EGLConfig[] configs = new EGLConfig[numConfigs]; 174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 223 int numConfigs = configs.length; 224 Log.w(TAG, String.format("%d configurations", numConfigs)); 225 for (int i = 0; i < numConfigs; i++) {
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
GL2JNIView.java | 126 int numConfigs = num_config[0]; 128 if (numConfigs <= 0) { 131 EGLConfig[] configs = new EGLConfig[numConfigs]; 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 179 int numConfigs = configs.length; 180 Log.w(TAG, String.format("%d configurations", numConfigs)); 181 for (int i = 0; i < numConfigs; i++) {
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
GLPerfView.java | 126 int numConfigs = num_config[0]; 128 if (numConfigs <= 0) { 131 EGLConfig[] configs = new EGLConfig[numConfigs]; 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 179 int numConfigs = configs.length; 180 Log.w(TAG, String.format("%d configurations", numConfigs)); 181 for (int i = 0; i < numConfigs; i++) {
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
GLDualGL2View.java | 129 int numConfigs = num_config[0]; 131 if (numConfigs <= 0) { 134 EGLConfig[] configs = new EGLConfig[numConfigs]; 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 182 int numConfigs = configs.length; 183 Log.w(TAG, String.format("%d configurations", numConfigs)); 184 for (int i = 0; i < numConfigs; i++) {
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_environment.cpp | 153 EGLint numConfigs = -1; 166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 167 if (numConfigs < 1) { 222 EGLint numConfigs = -1; 235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 236 if (numConfigs < 1) { 321 EGLint numConfigs = -1; 333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 334 if (numConfigs < 1) {
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
EGLCreateContext_test.cpp | 67 EGLint numConfigs = 0; 69 &mEglConfig, 1, &numConfigs)); 70 ASSERT_GE(1, numConfigs);
|
/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 42 EGLint numConfigs=0; 53 eglGetConfigs(dpy, NULL, 0, &numConfigs); 54 printf("# configs = %d\n", numConfigs);
|
/hardware/intel/img/hwcomposer/common/devices/ |
DummyDevice.cpp | 114 size_t *numConfigs) 117 if (!configs || !numConfigs) { 128 *numConfigs = 1;
|
ExternalDevice.cpp | 317 bool ExternalDevice::getDisplayConfigs(uint32_t *configs, size_t *numConfigs) 320 return PhysicalDevice::getDisplayConfigs(configs, numConfigs); 323 return PhysicalDevice::getDisplayConfigs(configs, numConfigs); 325 if (!configs || !numConfigs) 329 *numConfigs = 1;
|
/hardware/intel/img/hwcomposer/include/ |
DummyDevice.h | 42 size_t *numConfigs);
|
ExternalDevice.h | 40 size_t *numConfigs);
|
/packages/apps/Camera2/src/com/android/camera/ |
SurfaceTextureRenderer.java | 196 int numConfigs = numConfig[0]; 197 if (numConfigs <= 0) { 201 EGLConfig[] configs = new EGLConfig[numConfigs]; 203 display, CONFIG_SPEC, configs, numConfigs, numConfig)) {
|
/external/chromium_org/third_party/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 63 EGLint numConfigs; 75 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs);
|
/external/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 63 EGLint numConfigs; 75 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs);
|
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViEAndroidGLES20.java | 139 int numConfigs = num_config[0]; 141 if (numConfigs <= 0) { 146 EGLConfig[] configs = new EGLConfig[numConfigs]; 147 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 195 int numConfigs = configs.length; 196 Log.w(TAG, String.format("%d configurations", numConfigs)); 197 for (int i = 0; i < numConfigs; i++) {
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
MosaicRendererSurfaceView.java | 156 int numConfigs = numConfig[0]; 158 if (numConfigs <= 0) { 164 EGLConfig[] configs = new EGLConfig[numConfigs]; 165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig); 214 int numConfigs = configs.length; 215 Log.w(TAG, String.format("%d configurations", numConfigs)); 216 for (int i = 0; i < numConfigs; i++) {
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 104 int[] numConfigs = new int[1]; 106 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) {
|