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.java202 int[] numConfigs = new int[1]; in getDetectedMajorVersion() local
208 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedMajorVersion()
209 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedMajorVersion()
210 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedMajorVersion()
213 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedMajorVersion()
227 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedMajorVersion()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java165 int numConfigs = num_config[0]; in chooseConfig() local
167 if (numConfigs <= 0) { in chooseConfig()
173 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig()
223 int numConfigs = configs.length; in printConfigs() local
224 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs()
225 for (int i = 0; i < numConfigs; i++) { in printConfigs()
/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/tests/openglperf2/jni/graphics/
DRenderer.cpp104 EGLint numConfigs = 0; in eglSetUp() local
105 EGL_RESULT_CHECK(eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs) in eglSetUp()
106 && (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()
DDecodeAccuracyTestBase.java875 int[] numConfigs = new int[1]; in eglSetup() local
877 eglDisplay, configAttribs, configs, configs.length, numConfigs)) { in eglSetup()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java319 int numConfigs = num_config[0]; in chooseConfig() local
320 if (numConfigs <= 0) { in chooseConfig()
324 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
325 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, in chooseConfig()
/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/camera/src/android/hardware/cts/
DCameraGLTest.java256 int[] numConfigs = new int[1]; in getDetectedVersion() local
260 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedVersion()
261 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedVersion()
262 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedVersion()
264 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedVersion()
273 + "(" + 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()