/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 59 EGLint numConfigs; in TEST_F() local 68 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 71 ASSERT_GE(numConfigs, 1); in TEST_F() 91 EGLint numConfigs; in TEST_F() local 102 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); in TEST_F() 121 EGLint numConfigs; in TEST_F() local 134 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 137 ASSERT_GE(numConfigs, 1); in TEST_F()
|
/frameworks/native/opengl/tests/include/ |
D | EGLUtils.h | 82 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() local 91 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat() 94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); in selectConfigForPixelFormat() 95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { in selectConfigForPixelFormat()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.cpp | 153 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurface() local 166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurface() 167 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurface() 222 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight() local 235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight() 236 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight() 321 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder() local 333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder() 334 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
D | GL2JNIView.java | 126 int numConfigs = num_config[0]; in chooseConfig() local 128 if (numConfigs <= 0) { in chooseConfig() 131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 179 int numConfigs = configs.length; in printConfigs() local 180 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs() 181 for (int i = 0; i < numConfigs; i++) { in printConfigs()
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | GLDualGL2View.java | 129 int numConfigs = num_config[0]; in chooseConfig() local 131 if (numConfigs <= 0) { in chooseConfig() 134 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 182 int numConfigs = configs.length; in printConfigs() local 183 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs() 184 for (int i = 0; i < numConfigs; i++) { in printConfigs()
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
D | GLPerfView.java | 126 int numConfigs = num_config[0]; in chooseConfig() local 128 if (numConfigs <= 0) { in chooseConfig() 131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 179 int numConfigs = configs.length; in printConfigs() local 180 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs() 181 for (int i = 0; i < numConfigs; i++) { in printConfigs()
|
/frameworks/native/opengl/tests/swapinterval/ |
D | swapinterval.cpp | 42 EGLint numConfigs=0; in main() local 52 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main() 53 printf("# configs = %d\n", numConfigs); in main()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 410 EGLint numConfigs = -1, n = 0; in main() local 411 eglChooseConfig(dpy, s_configAttribs, 0, 0, &numConfigs); in main() 412 if (numConfigs) { in main() 413 EGLConfig* const configs = new EGLConfig[numConfigs]; in main() 414 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n); in main()
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 239 dc->gl.egl.numConfigs = -1; in rsdGLInit() 255 EGLint numConfigs = -1, n = 0; in rsdGLInit() local 263 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); in rsdGLInit() 265 if (numConfigs > 0) { in rsdGLInit() 270 if (numConfigs) { in rsdGLInit() 271 EGLConfig* const configs = new EGLConfig[numConfigs]; in rsdGLInit() 275 configAttribs, configs, numConfigs, &n); in rsdGLInit()
|
D | rsdGL.h | 34 EGLint numConfigs; member
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 32 EGLint numConfigs = -1; in main() local 55 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 141 EGLint numConfigs = -1; in InitWithNewContext() local 156 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); in InitWithNewContext() 157 if (numConfigs < 1) { in InitWithNewContext()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1203 size_t numConfigs = NELEM(gConfigs); in getConfigAttrib() local 1205 if (uint32_t(index) >= numConfigs) in getConfigAttrib() 1444 GLint numConfigs = NELEM(gConfigs); in eglGetConfigs() local 1446 *num_config = numConfigs; in eglGetConfigs() 1450 for (i=0 ; i<numConfigs && i<config_size ; i++) { in eglGetConfigs() 1479 int numConfigs = NELEM(gConfigs); in eglChooseConfig() local 1480 uint32_t possibleMatch = (1<<numConfigs)-1; in eglChooseConfig() 1485 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1503 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1520 for (int i=0 ; config_size && i<numConfigs ; i++) { in eglChooseConfig() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 59 EGLint numConfigs = 0; in SetUp() local 61 &myConfig, 1, &numConfigs)); in SetUp() 147 EGLint numConfigs = 0; in TEST_F() local 159 &numConfigs)); in TEST_F() 703 EGLint numConfigs = 0; in SetUp() local 709 &numConfigs)); in SetUp()
|
D | SurfaceTexture_test.cpp | 69 EGLint numConfigs = 0; in SetUp() local 71 1, &numConfigs)); in SetUp()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 54 EGLint numConfigs = 0; in setUp() local 65 &numConfigs); in setUp()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 860 int numConfigs = num_config[0]; in chooseConfig() local 862 if (numConfigs <= 0) { in chooseConfig() 867 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() 868 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, in chooseConfig()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | NativeWindowRenderer.cpp | 196 EGLint numConfigs = -1; in initializeEGL() local 205 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs); in initializeEGL()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 122 EGLint numConfigs = 1; in init_gl_surface() local
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 246 EGLint numConfigs; in readyToRun() local 254 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 214 EGLint numConfigs = 1; in init_gl_surface() local
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 73 EGLint numConfigs = 0; in SetUp() local 75 1, &numConfigs)); in SetUp()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 330 size_t numConfigs = 1; in queryDisplayProperties() local 331 status_t err = mHwc->getDisplayConfigs(mHwc, disp, &config, &numConfigs); in queryDisplayProperties()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 264 EGLint numConfigs = -1, n=0; in selectConfigForAttribute() local 265 eglGetConfigs(dpy, NULL, 0, &numConfigs); in selectConfigForAttribute() 266 EGLConfig* const configs = new EGLConfig[numConfigs]; in selectConfigForAttribute() 267 eglChooseConfig(dpy, attrs, configs, numConfigs, &n); in selectConfigForAttribute()
|