/frameworks/native/opengl/tests/EGLTest/ |
H A D | EGL_test.cpp | 58 EGLint numConfigs; local 67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 70 ASSERT_GE(numConfigs, 1); 90 EGLint numConfigs; local 101 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); 128 EGLint numConfigs; local 141 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 144 ASSERT_GE(numConfigs, 1);
|
/frameworks/native/opengl/tests/include/ |
H A D | EGLUtils.h | 82 EGLint numConfigs = -1, n=0; local 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) {
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | jni_gl_environment.cpp | 153 EGLint numConfigs = -1; local 166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 167 if (numConfigs < 1) { 222 EGLint numConfigs = -1; local 235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 236 if (numConfigs < 1) { 321 EGLint numConfigs = -1; local 333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 334 if (numConfigs < 1) {
|
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 42 EGLint numConfigs=0; local 53 eglGetConfigs(dpy, NULL, 0, &numConfigs); 54 printf("# configs = %d\n", numConfigs);
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 117 EGLint numConfigs = 0; local 139 &mEglConfig, 1, &numConfigs);
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 411 EGLint numConfigs = -1, n = 0; local 412 eglChooseConfig(dpy, s_configAttribs, 0, 0, &numConfigs); 413 if (numConfigs) { 414 EGLConfig* const configs = new EGLConfig[numConfigs]; 415 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n);
|
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 237 dc->gl.egl.numConfigs = -1; 253 EGLint numConfigs = -1, n = 0; 261 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); 263 if (numConfigs > 0) { 268 if (numConfigs) { 269 EGLConfig* const configs = new EGLConfig[numConfigs]; 273 configAttribs, configs, numConfigs, &n);
|
H A D | rsdGL.h | 31 EGLint numConfigs; member in struct:RsdGLRec::__anon1644
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 242 const tv_stream_config_t* getStreamConfigs(int deviceId, int* numConfigs); 356 int numConfigs = 0; local 359 mDevice, deviceId, &numConfigs, &configs) != 0) { 364 for (int i = 0; i < numConfigs; ++i) { 434 const tv_stream_config_t* JTvInputHal::getStreamConfigs(int deviceId, int* numConfigs) { argument 437 mDevice, deviceId, numConfigs, &configs) != 0) { 631 int numConfigs = 0; local 632 const tv_stream_config_t* configs = tvInputHal->getStreamConfigs(deviceId, &numConfigs); 634 jobjectArray result = env->NewObjectArray(numConfigs, gTvStreamConfigClassInfo.clazz, NULL); 635 for (int i = 0; i < numConfigs; [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 143 EGLint numConfigs = -1; local 158 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local 159 if (numConfigs < 1) {
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 286 EGLint numConfigs = -1, n = 0; local 287 eglGetConfigs(dpy, NULL, 0, &numConfigs); 288 EGLConfig* const configs = new EGLConfig[numConfigs]; 289 eglChooseConfig(dpy, attrs, configs, numConfigs, &n);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
H A D | VendorConfig.java | 230 final int numConfigs = configs.size(); 231 for (int i = 0; i < numConfigs; i++) {
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 32 EGLint numConfigs = -1; local 57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs);
|
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 266 EGLint numConfigs = 0; local 268 &numConfigs)); 270 ASSERT_GT(numConfigs, 0);
|
H A D | GLTest.cpp | 45 EGLint numConfigs = 0; local 47 &numConfigs));
|
H A D | SurfaceTextureClient_test.cpp | 70 EGLint numConfigs = 0; local 72 &myConfig, 1, &numConfigs)); 158 EGLint numConfigs = 0; local 170 &numConfigs)); 745 EGLint numConfigs = 0; local 751 &numConfigs));
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 225 size_t numConfigs = reply.readUint32(); local 227 configs->resize(numConfigs); 228 for (size_t c = 0; c < numConfigs; ++c) {
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 57 EGLint numConfigs = 0; local 68 &numConfigs);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 1230 size_t numConfigs = NELEM(gConfigs); local 1232 if (uint32_t(index) >= numConfigs) 1472 GLint numConfigs = NELEM(gConfigs); 1474 *num_config = numConfigs; 1478 for (i=0 ; i<numConfigs && i<config_size ; i++) { 1507 int numConfigs = NELEM(gConfigs); local 1508 uint32_t possibleMatch = (1<<numConfigs)-1; 1513 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { 1531 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { 1548 for (int i=0 ; config_size && i<numConfigs ; [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 868 int numConfigs = num_config[0]; 870 if (numConfigs <= 0) { 875 EGLConfig[] configs = new EGLConfig[numConfigs]; 876 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs,
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 123 EGLint numConfigs = 1;
local
|
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 215 EGLint numConfigs = 1; local
|