/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 | 34 EGLint numConfigs; member in struct:RsdGLRec::__anon1476
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 240 const tv_stream_config_t* getStreamConfigs(int deviceId, int* numConfigs); 336 int numConfigs = 0; local 339 mDevice, deviceId, &numConfigs, &configs) != 0) { 344 for (int i = 0; i < numConfigs; ++i) { 417 const tv_stream_config_t* JTvInputHal::getStreamConfigs(int deviceId, int* numConfigs) { argument 420 mDevice, deviceId, numConfigs, &configs) != 0) { 577 int numConfigs = 0; local 578 const tv_stream_config_t* configs = tvInputHal->getStreamConfigs(deviceId, &numConfigs); 580 jobjectArray result = env->NewObjectArray(numConfigs, gTvStreamConfigClassInfo.clazz, NULL); 581 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 | 283 EGLint numConfigs = -1, n = 0; local 284 eglGetConfigs(dpy, NULL, 0, &numConfigs); 285 EGLConfig* const configs = new EGLConfig[numConfigs]; 286 eglChooseConfig(dpy, attrs, configs, numConfigs, &n);
|
/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 | 259 EGLint numConfigs = 0; local 261 &numConfigs)); 263 ASSERT_GT(numConfigs, 0);
|
H A D | GLTest.cpp | 45 EGLint numConfigs = 0; local 47 &numConfigs));
|
H A D | SurfaceTextureClient_test.cpp | 66 EGLint numConfigs = 0; local 68 &myConfig, 1, &numConfigs)); 154 EGLint numConfigs = 0; local 166 &numConfigs)); 702 EGLint numConfigs = 0; local 708 &numConfigs));
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 229 size_t numConfigs = static_cast<size_t>(reply.readInt32()); local 231 configs->resize(numConfigs); 232 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 | 1203 size_t numConfigs = NELEM(gConfigs); local 1205 if (uint32_t(index) >= numConfigs) 1444 GLint numConfigs = NELEM(gConfigs); 1446 *num_config = numConfigs; 1450 for (i=0 ; i<numConfigs && i<config_size ; i++) { 1479 int numConfigs = NELEM(gConfigs); local 1480 uint32_t possibleMatch = (1<<numConfigs)-1; 1485 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { 1503 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { 1520 for (int i=0 ; config_size && i<numConfigs ; [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 855 int numConfigs = num_config[0]; 857 if (numConfigs <= 0) { 862 EGLConfig[] configs = new EGLConfig[numConfigs]; 863 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs,
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 123 EGLint numConfigs = 1;
local
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 259 EGLint numConfigs; local 267 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SurfaceTextureRenderer.java | 375 int[] numConfigs = new int[1]; 377 configs.length, numConfigs, /*offset*/ 0);
|