Home
last modified time | relevance | path

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

/frameworks/base/opengl/tests/EGLTest/
DEGL_test.cpp56 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/
DEGLUtils.cpp61 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/
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/base/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/base/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/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp110 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/
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/base/opengl/libs/EGL/
Degl_display.h103 state(NOT_INITIALIZED), numConfigs(0) { } in DisplayImpl()
107 EGLint numConfigs; member
Degl_display.cpp182 &disp[i].numConfigs)) { in initialize()
196 for (int j = 0; j < disp[i].numConfigs; j++) { in initialize()
246 disp[i].numConfigs = 0; in terminate()
DeglApi.cpp203 GLint numConfigs = dp->numTotalConfigs; in eglGetConfigs() local
205 *num_config = numConfigs; in eglGetConfigs()
/frameworks/base/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/base/libs/rs/driver/
DrsdGL.cpp154 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()
DrsdGL.h34 EGLint numConfigs; member
/frameworks/base/opengl/tests/filter/
Dfilter.cpp32 EGLint numConfigs = -1; in main() local
55 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
/frameworks/base/opengl/libagl2/src/
Degl.cpp1193 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/
Degl.cpp1179 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/
DSurfaceTextureClient_test.cpp49 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()
DSurfaceTexture_test.cpp61 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/
DGLSurfaceView.java835 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/
DNativeWindowRenderer.cpp197 EGLint numConfigs = -1; in initializeEGL() local
206 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs); in initializeEGL()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp231 EGLint numConfigs; in readyToRun() local
239 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()
/frameworks/base/opengl/tests/tritex/
Dtritex.cpp122 EGLint numConfigs = 1; in init_gl_surface() local
/frameworks/base/opengl/tests/gl_basic/
Dgl_basic.cpp214 EGLint numConfigs = 1; in init_gl_surface() local
/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp73 EGLint numConfigs = 0; in SetUp() local
75 1, &numConfigs)); in SetUp()