Home
last modified time | relevance | path

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

/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java892 int[] newConfigSpec = new int[len + 2]; in filterConfigSpec() local
893 System.arraycopy(configSpec, 0, newConfigSpec, 0, len-1); in filterConfigSpec()
894 newConfigSpec[len-1] = EGL10.EGL_RENDERABLE_TYPE; in filterConfigSpec()
895 newConfigSpec[len] = 4; /* EGL_OPENGL_ES2_BIT */ in filterConfigSpec()
896 newConfigSpec[len+1] = EGL10.EGL_NONE; in filterConfigSpec()
897 return newConfigSpec; in filterConfigSpec()