Home
last modified time | relevance | path

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

12

/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp154 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurface() local
167 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurface()
168 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurface()
223 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight() local
236 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight()
237 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight()
322 EGLint numConfigs = -1; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder() local
334 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
335 if (numConfigs < 1) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp97 EGLint numConfigs; in TEST_F() local
106 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F()
109 ASSERT_GE(numConfigs, 1); in TEST_F()
129 EGLint numConfigs; in TEST_F() local
140 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); in TEST_F()
167 EGLint numConfigs; in TEST_F() local
180 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F()
183 ASSERT_GE(numConfigs, 1); in TEST_F()
207 EGLint numConfigs; in TEST_F() local
236 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F()
[all …]
/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/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/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/swapinterval/
Dswapinterval.cpp42 EGLint numConfigs=0; in main() local
53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main()
54 printf("# configs = %d\n", numConfigs); in main()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp173 EGLint numConfigs = 1; in load8BitsConfig() local
174 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load8BitsConfig()
204 EGLint numConfigs = 1; in loadFP16Config() local
205 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in loadFP16Config()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DStatsdStatsRecorder.java50 int numConfigs = metadata.getConfigStatsCount(); in stopRecording() local
52 StatsdStatsReport.ConfigStats configStats = metadata.getConfigStats(numConfigs - 1); in stopRecording()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp411 EGLint numConfigs = -1, n = 0; in main() local
412 eglChooseConfig(dpy, s_configAttribs, 0, 0, &numConfigs); in main()
413 if (numConfigs) { in main()
414 EGLConfig* const configs = new EGLConfig[numConfigs]; in main()
415 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n); in main()
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h98 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() local
107 if (eglGetConfigs(dpy, nullptr, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat()
110 std::vector<EGLConfig> configs(numConfigs); in selectConfigForPixelFormat()
111 if (eglChooseConfig(dpy, attrs, configs.data(), numConfigs, &n) == EGL_FALSE) { in selectConfigForPixelFormat()
/frameworks/rs/driver/
DrsdGL.cpp227 dc->gl.egl.numConfigs = -1; in rsdGLInit()
243 EGLint numConfigs = -1, n = 0; in rsdGLInit() local
251 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs); in rsdGLInit()
253 if (numConfigs > 0) { in rsdGLInit()
258 if (numConfigs) { in rsdGLInit()
259 EGLConfig* const configs = new EGLConfig[numConfigs]; in rsdGLInit()
263 configAttribs, configs, numConfigs, &n); in rsdGLInit()
DrsdGL.h31 EGLint numConfigs; member
/frameworks/av/cmds/screenrecord/
DEglWindow.cpp116 EGLint numConfigs = 0; in eglSetupContext() local
138 &mEglConfig, 1, &numConfigs); in eglSetupContext()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp32 EGLint numConfigs = -1; in main() local
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp146 EGLint numConfigs = -1; in InitWithNewContext() local
161 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); in InitWithNewContext()
162 if (numConfigs < 1) { in InitWithNewContext()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java231 final int numConfigs = configs.size(); in readVendorConfigs() local
232 for (int i = 0; i < numConfigs; i++) { in readVendorConfigs()
/frameworks/native/opengl/libagl/
Degl.cpp1260 size_t numConfigs = NELEM(gConfigs); in getConfigAttrib() local
1262 if (uint32_t(index) >= numConfigs) in getConfigAttrib()
1505 GLint numConfigs = NELEM(gConfigs); in eglGetConfigs() local
1507 *num_config = numConfigs; in eglGetConfigs()
1511 for (i=0 ; i<numConfigs && i<config_size ; i++) { in eglGetConfigs()
1540 int numConfigs = NELEM(gConfigs); in eglChooseConfig() local
1541 uint32_t possibleMatch = (1<<numConfigs)-1; in eglChooseConfig()
1546 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig()
1564 for (int i=0 ; possibleMatch && i<numConfigs ; i++) { in eglChooseConfig()
1581 for (int i=0 ; config_size && i<numConfigs ; i++) { in eglChooseConfig()
[all …]
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp70 EGLint numConfigs = 0; in SetUp() local
72 &myConfig, 1, &numConfigs)); in SetUp()
158 EGLint numConfigs = 0; in TEST_F() local
170 &numConfigs)); in TEST_F()
731 EGLint numConfigs = 0; in SetUp() local
737 &numConfigs)); in SetUp()
DGLTest.cpp47 EGLint numConfigs = 0; in SetUp() local
49 &numConfigs)); in SetUp()
/frameworks/native/cmds/flatland/
DGLHelper.cpp56 EGLint numConfigs = 0; in setUp() local
67 &numConfigs); in setUp()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java886 int numConfigs = num_config[0]; in chooseConfig() local
888 if (numConfigs <= 0) { in chooseConfig()
893 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
894 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, in chooseConfig()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java440 int[] numConfigs = new int[1]; in configureEGLContext() local
442 configs.length, numConfigs, /*offset*/ 0); in configureEGLContext()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2075 int[] numConfigs = new int[1];
2076 if (!egl.eglGetConfigs(display, null, 0, numConfigs)) {
2082 EGLConfig[] configs = new EGLConfig[numConfigs[0]];
2083 if (!egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) {
2105 for (int i = 0; i < numConfigs[0]; i++) {
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp122 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute() local
123 eglGetConfigs(dpy, nullptr, 0, &numConfigs); in selectConfigForAttribute()
124 std::vector<EGLConfig> configs(numConfigs, EGL_NO_CONFIG_KHR); in selectConfigForAttribute()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp311 EGLint numConfigs; in readyToRun() local
319 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()

12