Searched defs:numConfigs (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp32 EGLint numConfigs = -1; local
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp116 EGLint numConfigs = 0; local
138 &mEglConfig, 1, &numConfigs);
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp42 EGLint numConfigs=0; local
53 eglGetConfigs(dpy, NULL, 0, &numConfigs);
54 printf("# configs = %d\n", numConfigs);
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp97 EGLint numConfigs;
106 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
109 ASSERT_GE(numConfigs, 1);
129 EGLint numConfigs;
140 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs));
167 EGLint numConfigs; local
180 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
183 ASSERT_GE(numConfigs, 1);
207 EGLint numConfigs; local
235 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
293 EGLint numConfigs; local
379 EGLint numConfigs; local
606 EGLint numConfigs; local
709 EGLint numConfigs; local
[all...]
/frameworks/rs/driver/
H A DrsdGL.h31 EGLint numConfigs; member in struct:RsdGLRec::__anon1980
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp203 EGLint numConfigs = 1; local
204 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, numConfigs, &numConfigs) ||
205 numConfigs != 1) {
240 numConfigs = 1;
241 if (!eglChooseConfig(mEglDisplay, attribs16F, &mEglConfigWideGamut, numConfigs,
242 &numConfigs) ||
243 numConfigs != 1) {
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp154 EGLint numConfigs = -1; local
167 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
168 if (numConfigs < 1) {
223 EGLint numConfigs = -1; local
236 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
237 if (numConfigs < 1) {
322 EGLint numConfigs = -1; local
334 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
335 if (numConfigs < 1) {
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp146 EGLint numConfigs = -1; local
161 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local
162 if (numConfigs < 1) {
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp56 EGLint numConfigs = 0; local
67 &numConfigs);
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp47 EGLint numConfigs = 0; local
49 &numConfigs));
H A DSurfaceTextureClient_test.cpp71 EGLint numConfigs = 0; local
73 &myConfig, 1, &numConfigs));
159 EGLint numConfigs = 0; local
171 &numConfigs));
746 EGLint numConfigs = 0; local
752 &numConfigs));
/frameworks/native/opengl/tests/lib/include/
H A DEGLUtils.h98 EGLint numConfigs = -1, n=0; local
107 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE)
110 std::vector<EGLConfig> configs(numConfigs);
111 if (eglChooseConfig(dpy, attrs, configs.data(), numConfigs, &n) == EGL_FALSE) {
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp307 size_t numConfigs = reply.readUint32(); local
309 configs->resize(numConfigs);
310 for (size_t c = 0; c < numConfigs; ++c) {
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp411 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/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp445 EGLint numConfigs = -1, n = 0; local
446 eglGetConfigs(dpy, nullptr, 0, &numConfigs);
447 EGLConfig* const configs = new EGLConfig[numConfigs];
448 eglChooseConfig(dpy, attrs, configs, numConfigs, &n);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp281 EGLint numConfigs; local
289 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
/frameworks/base/tools/aapt/
H A DCommand.cpp2523 const size_t numConfigs = gp->getFiles().size(); local
2524 for (size_t j = 0; j < numConfigs; j++) {
/frameworks/native/opengl/libagl/
H A Degl.cpp1260 size_t numConfigs = NELEM(gConfigs); local
1262 if (uint32_t(index) >= numConfigs)
1505 GLint numConfigs = NELEM(gConfigs);
1507 *num_config = numConfigs;
1511 for (i=0 ; i<numConfigs && i<config_size ; i++) {
1540 int numConfigs = NELEM(gConfigs); local
1541 uint32_t possibleMatch = (1<<numConfigs)-1;
1546 for (int i=0 ; possibleMatch && i<numConfigs ; i++) {
1564 for (int i=0 ; possibleMatch && i<numConfigs ; i++) {
1581 for (int i=0 ; config_size && i<numConfigs ;
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp211 uint32_t numConfigs = 0; local
214 &numConfigs, nullptr));
217 outConfigs->resize(numConfigs);
220 &numConfigs, outConfigs->data()));
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp6178 const size_t numConfigs = type->configs.size(); local
6179 for (size_t m = 0; m < numConfigs; m++) {
6437 const size_t numConfigs = candidateConfigs->size(); local
6438 for (size_t c = 0; c < numConfigs; c++) {

Completed in 467 milliseconds