Home
last modified time | relevance | path

Searched refs:nConfigs (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/tests/egl_tests/
DEGLRecordableTest.cpp38 int nConfigs = 0; in TEST_P() local
39 ASSERT_EGL_TRUE(eglGetConfigs(display, nullptr, 0, &nConfigs)); in TEST_P()
40 ASSERT_NE(nConfigs, 0); in TEST_P()
43 std::vector<EGLConfig> configs(nConfigs); in TEST_P()
44 ASSERT_EGL_TRUE(eglGetConfigs(display, configs.data(), nConfigs, &nReturnedConfigs)); in TEST_P()
45 ASSERT_EQ(nConfigs, nReturnedConfigs); in TEST_P()
DEGLChooseConfigTest.cpp30 EGLint nConfigs = 0; in TEST_P() local
32 ASSERT_EGL_TRUE(eglGetConfigs(display, nullptr, 0, &nConfigs)); in TEST_P()
33 ASSERT_NE(nConfigs, 0); in TEST_P()
35 std::vector<EGLConfig> allConfigs(nConfigs); in TEST_P()
36 ASSERT_EGL_TRUE(eglGetConfigs(display, allConfigs.data(), nConfigs, &allConfigCount)); in TEST_P()
37 ASSERT_EQ(nConfigs, allConfigCount); in TEST_P()
DEGLSurfacelessContextTest.cpp35 int nConfigs = 0; in testSetUp() local
36 ASSERT_EGL_TRUE(eglGetConfigs(mDisplay, nullptr, 0, &nConfigs)); in testSetUp()
37 ASSERT_TRUE(nConfigs != 0); in testSetUp()
40 std::vector<EGLConfig> configs(nConfigs); in testSetUp()
41 ASSERT_EGL_TRUE(eglGetConfigs(mDisplay, configs.data(), nConfigs, &nReturnedConfigs)); in testSetUp()
42 ASSERT_TRUE(nConfigs == nReturnedConfigs); in testSetUp()
DEGLContextCompatibilityTest.cpp79 int nConfigs = 0; in GetConfigs() local
80 if (eglGetConfigs(display, nullptr, 0, &nConfigs) != EGL_TRUE) in GetConfigs()
85 if (nConfigs == 0) in GetConfigs()
94 configs.resize(nConfigs); in GetConfigs()
95 if (eglGetConfigs(display, configs.data(), nConfigs, &nReturnedConfigs) != EGL_TRUE) in GetConfigs()
100 if (nConfigs != nReturnedConfigs) in GetConfigs()
184 int nConfigs = 0; in SetUp() local
185 ASSERT_TRUE(eglGetConfigs(mDisplay, nullptr, 0, &nConfigs) == EGL_TRUE); in SetUp()
186 ASSERT_TRUE(nConfigs != 0); in SetUp()
189 mConfigs.resize(nConfigs); in SetUp()
[all …]
DEGLX11VisualTest.cpp112 int nConfigs = 0; in TEST_P() local
113 ASSERT_TRUE(EGL_TRUE == eglGetConfigs(display, nullptr, 0, &nConfigs)); in TEST_P()
114 ASSERT_EQ(1, nConfigs); in TEST_P()
119 ASSERT_EQ(nConfigs, nReturnedConfigs); in TEST_P()
DEGLDirectCompositionTest.cpp165 EGLint nConfigs = 0; in Init() local
167 ASSERT_EGL_TRUE(eglGetConfigs(mEglDisplay, nullptr, 0, &nConfigs)); in Init()
168 ASSERT_TRUE(nConfigs != 0); in Init()
170 ASSERT_EGL_TRUE(eglChooseConfig(mEglDisplay, configAttributes, &mEglConfig, 1, &nConfigs)); in Init()
DEGLRobustnessTest.cpp61 int nConfigs = 0; in testSetUp() local
62 ASSERT_TRUE(eglGetConfigs(mDisplay, nullptr, 0, &nConfigs) == EGL_TRUE); in testSetUp()
63 ASSERT_LE(1, nConfigs); in testSetUp()
/external/angle/src/libANGLE/renderer/gl/glx/
DDisplayGLX.cpp166 int nConfigs; in initialize() local
170 glx::FBConfig *allConfigs = mGLX.chooseFBConfig(attribList, &nConfigs); in initialize()
172 for (int i = 0; i < nConfigs; ++i) in initialize()
196 int nConfigs; in initialize() local
210 glx::FBConfig *candidates = mGLX.chooseFBConfig(attribList, &nConfigs); in initialize()
211 if (nConfigs == 0) in initialize()