Home
last modified time | relevance | path

Searched refs:configSpec (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl10Utils.java30 static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, int[] configSpec) { in chooseConfig() argument
32 if (!egl.eglChooseConfig(display, configSpec, null, 0, in chooseConfig()
43 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
46 EGLConfig config = chooseConfig(egl, display, configs, configSpec); in chooseConfig()
53 static int[] filterConfigSpec(int[] configSpec, int version) { in filterConfigSpec() argument
55 return configSpec; in filterConfigSpec()
58 int len = configSpec.length; in filterConfigSpec()
60 System.arraycopy(configSpec, 0, newConfigSpec, 0, len-1); in filterConfigSpec()
74 EGLConfig[] configs, int[] configSpec) { in chooseConfig() argument
76 int redSize = findValue(configSpec, EGL10.EGL_RED_SIZE); in chooseConfig()
[all …]
/cts/tests/tests/effect/src/android/effect/cts/
DGLEnv.java44 int[] configSpec = { in GLEnv() local
54 egl.eglChooseConfig(mEGLDisplay, configSpec, configs, 1, num_config); in GLEnv()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java306 int[] configSpec = new int[] { in chooseConfig() local
319 if (!egl.eglChooseConfig(display, configSpec, null, 0, num_config)) { in chooseConfig()
329 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, in chooseConfig()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java859 public BaseConfigChooser(int[] configSpec) { in BaseConfigChooser() argument
860 mConfigSpec = filterConfigSpec(configSpec); in BaseConfigChooser()
894 private int[] filterConfigSpec(int[] configSpec) { in filterConfigSpec() argument
896 return configSpec; in filterConfigSpec()
901 int len = configSpec.length; in filterConfigSpec()
903 System.arraycopy(configSpec, 0, newConfigSpec, 0, len-1); in filterConfigSpec()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java425 int[] configSpec = getConfig(); in chooseEglConfig() local
426 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()