Home
last modified time | relevance | path

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

/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java918 int[] newConfigSpec = new int[len + 2]; in filterConfigSpec() local
919 System.arraycopy(configSpec, 0, newConfigSpec, 0, len-1); in filterConfigSpec()
920 newConfigSpec[len-1] = EGL10.EGL_RENDERABLE_TYPE; in filterConfigSpec()
922 newConfigSpec[len] = EGL14.EGL_OPENGL_ES2_BIT; /* EGL_OPENGL_ES2_BIT */ in filterConfigSpec()
924 newConfigSpec[len] = EGLExt.EGL_OPENGL_ES3_BIT_KHR; /* EGL_OPENGL_ES3_BIT_KHR */ in filterConfigSpec()
926 newConfigSpec[len+1] = EGL10.EGL_NONE; in filterConfigSpec()
927 return newConfigSpec; in filterConfigSpec()