Searched refs:numConfigs (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp58 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 DEGLUtils.h82 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 DGL2JNIView.java126 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 DGLPerfView.java126 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 DGLDualGL2View.java129 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 Djni_gl_environment.cpp153 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 Dswapinterval.cpp42 EGLint numConfigs=0; local
53 eglGetConfigs(dpy, NULL, 0, &numConfigs);
54 printf("# configs = %d\n", numConfigs);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp117 EGLint numConfigs = 0; local
139 &mEglConfig, 1, &numConfigs);
/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/rs/driver/
H A DrsdGL.cpp237 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 DrsdGL.h31 EGLint numConfigs; member in struct:RsdGLRec::__anon1644
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp242 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 Dgl_env.cpp143 EGLint numConfigs = -1; local
158 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local
159 if (numConfigs < 1) {
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp286 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 DVendorConfig.java230 final int numConfigs = configs.size();
231 for (int i = 0; i < numConfigs; i++) {
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp32 EGLint numConfigs = -1; local
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs);
/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp266 EGLint numConfigs = 0; local
268 &numConfigs));
270 ASSERT_GT(numConfigs, 0);
H A DGLTest.cpp45 EGLint numConfigs = 0; local
47 &numConfigs));
H A DSurfaceTextureClient_test.cpp70 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 DISurfaceComposer.cpp225 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 DGLHelper.cpp57 EGLint numConfigs = 0; local
68 &numConfigs);
/frameworks/native/opengl/libagl/
H A Degl.cpp1230 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 DGLSurfaceView.java868 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 Dtritex.cpp123 EGLint numConfigs = 1; local
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp215 EGLint numConfigs = 1; local

Completed in 402 milliseconds

12