Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/opengl/cts/
DEglConfigTest.java74 int[] numConfigs = new int[1]; in getEglConfigIds() local
90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { in getEglConfigIds()
91 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getEglConfigIds()
93 numConfigs)) { in getEglConfigIds()
94 int[] configIds = new int[numConfigs[0]]; in getEglConfigIds()
95 for (int i = 0; i < numConfigs[0]; i++) { in getEglConfigIds()
DOpenGlEsVersionTest.java154 int[] numConfigs = new int[1]; in getDetectedMajorVersion() local
160 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedMajorVersion()
161 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedMajorVersion()
162 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedMajorVersion()
165 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedMajorVersion()
179 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedMajorVersion()
/cts/tests/tests/nativeopengl/standalone/jni/tests/
DEGLCreateContext_test.cpp67 EGLint numConfigs = 0; in SetUp() local
69 &mEglConfig, 1, &numConfigs)); in SetUp()
70 ASSERT_GE(1, numConfigs); in SetUp()
DGLTest_test.cpp54 EGLint numConfigs = 0; in SetUp() local
56 1, &numConfigs)); in SetUp()
DEGLCleanup_test.cpp258 EGLint numConfigs = 0; in eglSetup() local
260 1, &numConfigs)) { in eglSetup()
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java104 int[] numConfigs = new int[1]; in initGL() local
106 …if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == … in initGL()
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DRenderer.cpp103 EGLint numConfigs = 0; in eglSetUp() local
104 EGL_RESULT_CHECK(eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs) in eglSetUp()
105 && (numConfigs > 0)); in eglSetUp()
/cts/tests/tests/media/src/android/media/cts/
DInputSurface.java86 int[] numConfigs = new int[1]; in eglSetup() local
88 numConfigs, 0)) { in eglSetup()
DOutputSurface.java144 int[] numConfigs = new int[1]; in eglSetup() local
146 numConfigs, 0)) { in eglSetup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java148 int[] numConfigs = new int[1]; in eglSetup() local
150 numConfigs, 0)) { in eglSetup()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraGLTest.java259 int[] numConfigs = new int[1]; in getDetectedVersion() local
263 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedVersion()
264 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedVersion()
265 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedVersion()
267 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedVersion()
276 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedVersion()
/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java262 int[] numConfigs = new int[1]; in eglSetup() local
264 numConfigs, 0)) { in eglSetup()
DFramebufferTest.java278 int[] numConfigs = new int[1]; in getConfig() local
280 numConfigs, 0)) { in getConfig()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java870 int numConfigs = num_config[0]; in chooseConfig() local
872 if (numConfigs <= 0) { in chooseConfig()
877 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
878 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, in chooseConfig()