/frameworks/base/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 56 EGLint numConfigs; in TEST_F() local 65 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 68 ASSERT_GE(numConfigs, 1); in TEST_F() 89 EGLint numConfigs; in TEST_F() local 102 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 105 ASSERT_GE(numConfigs, 1); in TEST_F()
|
/frameworks/base/libs/ui/ |
D | EGLUtils.cpp | 61 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() local 70 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat() 73 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); in selectConfigForPixelFormat() 74 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { in selectConfigForPixelFormat()
|
/frameworks/base/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/base/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/base/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/base/services/surfaceflinger/DisplayHardware/ |
D | DisplayHardware.cpp | 110 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() local 111 eglGetConfigs(dpy, NULL, 0, &numConfigs); in selectConfigForPixelFormat() 112 EGLConfig* const configs = new EGLConfig[numConfigs]; in selectConfigForPixelFormat() 113 eglChooseConfig(dpy, attrs, configs, numConfigs, &n); in selectConfigForPixelFormat() 145 EGLint numConfigs=0; in init() local 173 eglGetConfigs(display, NULL, 0, &numConfigs); in init() 293 LOGI("# of configs : %d", numConfigs); in init()
|
/frameworks/base/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/base/opengl/libs/EGL/ |
D | egl_display.h | 103 state(NOT_INITIALIZED), numConfigs(0) { } in DisplayImpl() 107 EGLint numConfigs; member
|
D | egl_display.cpp | 182 &disp[i].numConfigs)) { in initialize() 196 for (int j = 0; j < disp[i].numConfigs; j++) { in initialize() 246 disp[i].numConfigs = 0; in terminate()
|
D | eglApi.cpp | 203 GLint numConfigs = dp->numTotalConfigs; in eglGetConfigs() local 205 *num_config = numConfigs; in eglGetConfigs()
|
/frameworks/base/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/base/libs/rs/driver/ |
D | rsdGL.cpp | 154 dc->gl.egl.numConfigs = -1; in rsdGLInit() 213 EGLint numConfigs = -1, n = 0; in rsdGLInit() local 215 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); in rsdGLInit() 218 if (numConfigs) { in rsdGLInit() 219 EGLConfig* const configs = new EGLConfig[numConfigs]; in rsdGLInit() 223 configAttribs, configs, numConfigs, &n); in rsdGLInit()
|
D | rsdGL.h | 34 EGLint numConfigs; member
|
/frameworks/base/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/opengl/libagl2/src/ |
D | egl.cpp | 1193 size_t numConfigs = NELEM(gConfigs); in getConfigAttrib() local 1195 if (uint32_t(index) >= numConfigs) in getConfigAttrib() 1438 GLint numConfigs = NELEM(gConfigs); in eglGetConfigs() local 1440 *num_config = numConfigs; in eglGetConfigs() 1444 for (i=0 ; i<numConfigs && i<config_size ; i++) { in eglGetConfigs() 1521 int numConfigs = NELEM(gConfigs); in eglChooseConfig() local 1522 uint32_t possibleMatch = (1<<numConfigs)-1; in eglChooseConfig() 1527 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1547 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1563 for (int i=0 ; config_size && i<numConfigs ; i++) { in eglChooseConfig() [all …]
|
/frameworks/base/opengl/libagl/ |
D | egl.cpp | 1179 size_t numConfigs = NELEM(gConfigs); in getConfigAttrib() local 1181 if (uint32_t(index) >= numConfigs) in getConfigAttrib() 1420 GLint numConfigs = NELEM(gConfigs); in eglGetConfigs() local 1422 *num_config = numConfigs; in eglGetConfigs() 1426 for (i=0 ; i<numConfigs && i<config_size ; i++) { in eglGetConfigs() 1455 int numConfigs = NELEM(gConfigs); in eglChooseConfig() local 1456 uint32_t possibleMatch = (1<<numConfigs)-1; in eglChooseConfig() 1461 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1479 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig() 1496 for (int i=0 ; config_size && i<numConfigs ; i++) { in eglChooseConfig() [all …]
|
/frameworks/base/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 49 EGLint numConfigs = 0; in SetUp() local 51 &myConfig, 1, &numConfigs)); in SetUp() 130 EGLint numConfigs = 0; in TEST_F() local 142 &numConfigs)); in TEST_F() 636 EGLint numConfigs = 0; in SetUp() local 642 &numConfigs)); in SetUp()
|
D | SurfaceTexture_test.cpp | 61 EGLint numConfigs = 0; in SetUp() local 63 1, &numConfigs)); in SetUp() 1235 EGLint numConfigs = 0; in SetUp() local 1237 1, &numConfigs)); in SetUp()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 835 int numConfigs = num_config[0]; in chooseConfig() local 837 if (numConfigs <= 0) { in chooseConfig() 842 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() 843 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, in chooseConfig()
|
/frameworks/media/libvideoeditor/lvpp/ |
D | NativeWindowRenderer.cpp | 197 EGLint numConfigs = -1; in initializeEGL() local 206 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs); in initializeEGL()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 231 EGLint numConfigs; in readyToRun() local 239 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()
|
/frameworks/base/opengl/tests/tritex/ |
D | tritex.cpp | 122 EGLint numConfigs = 1; in init_gl_surface() local
|
/frameworks/base/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 214 EGLint numConfigs = 1; in init_gl_surface() local
|
/frameworks/base/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 73 EGLint numConfigs = 0; in SetUp() local 75 1, &numConfigs)); in SetUp()
|