/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 186 EGLint numConfigs = 1; in load8BitsConfig() local 187 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load8BitsConfig() 215 EGLint numConfigs = 1; in load1010102Config() local 216 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load1010102Config() 246 EGLint numConfigs = 1; in loadFP16Config() local 247 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in loadFP16Config() 271 EGLint numConfigs = 1; in loadA8Config() local 272 if (!eglChooseConfig(display, attribs, nullptr, numConfigs, &numConfigs)) { in loadA8Config() 276 std::vector<EGLConfig> configs(numConfigs, EGL_NO_CONFIG_KHR); in loadA8Config() 277 if (!eglChooseConfig(display, attribs, configs.data(), numConfigs, &numConfigs)) { in loadA8Config()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.cpp | 154 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/ |
D | EGL_test.cpp | 99 EGLint numConfigs; in TEST_F() local 108 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 111 ASSERT_GE(numConfigs, 1); in TEST_F() 131 EGLint numConfigs; in TEST_F() local 142 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); in TEST_F() 169 EGLint numConfigs; in TEST_F() local 182 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 185 ASSERT_GE(numConfigs, 1); in TEST_F() 209 EGLint numConfigs; in TEST_F() local 238 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() [all …]
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | GLDualGL2View.java | 129 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/ |
D | GLPerfView.java | 126 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/gl2_jni/src/com/android/gl2jni/ |
D | GL2JNIView.java | 126 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/ |
D | swapinterval.cpp | 42 EGLint numConfigs=0; in main() local 53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main() 54 printf("# configs = %d\n", numConfigs); in main()
|
/frameworks/av/services/camera/virtualcamera/util/ |
D | EglDisplayContext.cc | 54 EGLint numConfigs = 0; in EglDisplayContext() local 64 eglChooseConfig(mEglDisplay, configAttribs, &mEglConfig, 1, &numConfigs); in EglDisplayContext()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 411 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/ |
D | EGLUtils.h | 98 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/native/libs/nativedisplay/ |
D | ADisplay.cpp | 100 size_t numConfigs; member 227 for (int i = 0; i < impl->numConfigs; ++i) { in ADisplay_getMaxSupportedFps() 262 for (size_t i = 0; i < impl->numConfigs; i++) { in ADisplay_getCurrentConfig()
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 227 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()
|
D | rsdGL.h | 31 EGLint numConfigs; member
|
/frameworks/av/cmds/screenrecord/ |
D | EglWindow.cpp | 116 EGLint numConfigs = 0; in eglSetupContext() local 138 &mEglConfig, 1, &numConfigs); in eglSetupContext()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 32 EGLint numConfigs = -1; in main() local 57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 146 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/ |
D | VendorConfig.java | 231 final int numConfigs = configs.size(); in readVendorConfigs() local 232 for (int i = 0; i < numConfigs; i++) { in readVendorConfigs()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 65 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute() local 66 eglGetConfigs(dpy, nullptr, 0, &numConfigs); in selectConfigForAttribute() 67 std::vector<EGLConfig> configs(numConfigs, EGL_NO_CONFIG_KHR); in selectConfigForAttribute()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 63 EGLint numConfigs = 0; in SetUp() local 65 &myConfig, 1, &numConfigs)); in SetUp() 146 EGLint numConfigs = 0; in TEST_F() local 158 &numConfigs)); in TEST_F() 719 EGLint numConfigs = 0; in SetUp() local 725 &numConfigs)); in SetUp()
|
D | GLTest.cpp | 43 EGLint numConfigs = 0; in SetUp() local 45 &numConfigs)); in SetUp()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 58 EGLint numConfigs = 0; in setUp() local 69 &numConfigs); in setUp()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 886 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/av/media/libstagefright/renderfright/gl/ |
D | GLESRenderEngine.cpp | 121 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute() local 122 eglGetConfigs(dpy, nullptr, 0, &numConfigs); in selectConfigForAttribute() 123 std::vector<EGLConfig> configs(numConfigs, EGL_NO_CONFIG_KHR); in selectConfigForAttribute()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2835 int[] numConfigs = new int[1]; 2836 if (!egl.eglGetConfigs(display, null, 0, numConfigs)) { 2842 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; 2843 if (!egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { 2865 for (int i = 0; i < numConfigs[0]; i++) {
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 481 EGLint numConfigs; in getEglConfig() local 483 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in getEglConfig()
|