Searched refs:numConfigs (Results 1 - 25 of 29) 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.h34 EGLint numConfigs; member in struct:RsdGLRec::__anon1476
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp240 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 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.cpp283 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 Dfilter.cpp32 EGLint numConfigs = -1; local
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs);
/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp259 EGLint numConfigs = 0; local
261 &numConfigs));
263 ASSERT_GT(numConfigs, 0);
H A DGLTest.cpp45 EGLint numConfigs = 0; local
47 &numConfigs));
H A DSurfaceTextureClient_test.cpp66 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 DISurfaceComposer.cpp229 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 DGLHelper.cpp57 EGLint numConfigs = 0; local
68 &numConfigs);
/frameworks/native/opengl/libagl/
H A Degl.cpp1203 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 DGLSurfaceView.java855 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 Dtritex.cpp123 EGLint numConfigs = 1; local
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp259 EGLint numConfigs; local
267 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java375 int[] numConfigs = new int[1];
377 configs.length, numConfigs, /*offset*/ 0);

Completed in 1458 milliseconds

12