Home
last modified time | relevance | path

Searched refs:numConfigs (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp59 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/
DEGLUtils.h82 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/
Djni_gl_environment.cpp153 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/
DGL2JNIView.java126 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/
DGLDualGL2View.java129 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/
DGLPerfView.java126 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/
Dswapinterval.cpp42 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/
Dgl2_copyTexImage.cpp410 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/
DrsdGL.cpp239 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()
DrsdGL.h34 EGLint numConfigs; member
/frameworks/native/opengl/tests/filter/
Dfilter.cpp32 EGLint numConfigs = -1; in main() local
55 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp141 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/
Degl.cpp1203 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/
DSurfaceTextureClient_test.cpp59 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()
DSurfaceTexture_test.cpp69 EGLint numConfigs = 0; in SetUp() local
71 1, &numConfigs)); in SetUp()
/frameworks/native/cmds/flatland/
DGLHelper.cpp54 EGLint numConfigs = 0; in setUp() local
65 &numConfigs); in setUp()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java860 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/
DNativeWindowRenderer.cpp196 EGLint numConfigs = -1; in initializeEGL() local
205 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs); in initializeEGL()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp122 EGLint numConfigs = 1; in init_gl_surface() local
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp246 EGLint numConfigs; in readyToRun() local
254 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp214 EGLint numConfigs = 1; in init_gl_surface() local
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp73 EGLint numConfigs = 0; in SetUp() local
75 1, &numConfigs)); in SetUp()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp330 size_t numConfigs = 1; in queryDisplayProperties() local
331 status_t err = mHwc->getDisplayConfigs(mHwc, disp, &config, &numConfigs); in queryDisplayProperties()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp264 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()