Home
last modified time | relevance | path

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

/cts/hostsidetests/angle/app/common/src/com/android/angleIntegrationTest/common/
DGlesView.java65 int[] numConfigs = new int[1]; in createEGL() local
66 EGL.eglGetConfigs(display, null, 0, numConfigs); in createEGL()
67 EGLConfig[] allConfigs = new EGLConfig[numConfigs[0]]; in createEGL()
68 EGL.eglGetConfigs(display, allConfigs, numConfigs[0], numConfigs); in createEGL()
92 EGL.eglChooseConfig(display, configAttrib, selectedConfig, 1, numConfigs); in createEGL()
/cts/tests/tests/opengl/src/android/opengl/cts/
DEglConfigCtsActivity.java147 int[] numConfigs = new int[1]; in getEglConfigIds() local
163 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { in getEglConfigIds()
164 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getEglConfigIds()
166 numConfigs)) { in getEglConfigIds()
167 int[] configIds = new int[numConfigs[0]]; in getEglConfigIds()
168 for (int i = 0; i < numConfigs[0]; i++) { in getEglConfigIds()
DEgl10Utils.java37 int numConfigs = value[0]; in chooseConfig() local
38 if (numConfigs <= 0) { in chooseConfig()
42 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
43 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
DOpenGlEsVersionTest.java403 int[] numConfigs = new int[1]; in getDetectedMajorVersion() local
409 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedMajorVersion()
410 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedMajorVersion()
411 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedMajorVersion()
414 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedMajorVersion()
428 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedMajorVersion()
DWrapperTest.java267 int[] numConfigs = new int[1]; in eglSetup() local
269 numConfigs, 0)) { in eglSetup()
DFramebufferTest.java275 int[] numConfigs = new int[1]; in getConfig() local
277 numConfigs, 0)) { in getConfig()
/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/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java167 int[] numConfigs = new int[1]; in getGlExtensionsFromDriver() local
168 if (!egl.eglGetConfigs(display, null, 0, numConfigs)) { in getGlExtensionsFromDriver()
173 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getGlExtensionsFromDriver()
174 if (!egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getGlExtensionsFromDriver()
195 for (int i = 0; i < numConfigs[0]; i++) { in getGlExtensionsFromDriver()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java99 int[] numConfigs = new int[1]; in initGL() local
101 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) in initGL()
102 || numConfigs[0] == 0) { in initGL()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSyncTest.java76 int[] numConfigs = new int[1]; in setup() local
84 0, configs, 0, 1, numConfigs, 0)) { in setup()
DASurfaceTextureTest.java66 int[] numConfigs = new int[1]; in setup() local
73 0, configs, 0, 1, numConfigs, 0)) { in setup()
DEGL14Test.java77 int[] numConfigs = new int[1]; in setup() local
84 0, configs, 0, 1, numConfigs, 0)) { in setup()
DANativeWindowTest.java71 int[] numConfigs = new int[1]; in setup() local
78 0, configs, 0, 1, numConfigs, 0)) { in setup()
DEGL15Test.java89 int[] numConfigs = new int[1]; in setup() local
96 0, configs, 0, 1, numConfigs, 0)) { in setup()
/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/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp84 EGLint numConfigs; in initGLES() local
105 if (!eglChooseConfig(display, attribs, &config, 1, &numConfigs)) { in initGLES()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java263 int[] numConfigs = new int[1]; in getDetectedVersion() local
267 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedVersion()
268 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedVersion()
269 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedVersion()
271 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedVersion()
280 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedVersion()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java323 int numConfigs = num_config[0]; in chooseConfig() local
324 if (numConfigs <= 0) { in chooseConfig()
328 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
329 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, in chooseConfig()
/cts/tests/tests/media/src/android/media/cts/
DOutputSurface.java144 int[] numConfigs = new int[1]; in eglSetup() local
146 numConfigs, 0)) { in eglSetup()
DInputSurface.java96 int[] numConfigs = new int[1]; in eglSetup() local
98 numConfigs, 0)) { in eglSetup()
DDecodeAccuracyTestBase.java1091 int[] numConfigs = new int[1]; in eglSetup() local
1093 eglDisplay, configAttribs, configs, configs.length, numConfigs)) { 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/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()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp1338 EGLint numConfigs[1]; in Java_android_media_cts_NdkInputSurface_eglChooseConfig() local
1339 … (!eglChooseConfig(reinterpret_cast<EGLDisplay>(eglDisplay), attribList, configs, 1, numConfigs)) { in Java_android_media_cts_NdkInputSurface_eglChooseConfig()