static GLProfile getGL2ES3() { final GLProfile glp = GLProfile.getMaxProgrammableCore(true); if (null == glp || !glp.isGL2ES3()) { System.err.println("GL2ES3 n/a, has max-core " + glp); return null; } return glp; }
static GLProfile getGLP() { return GLProfile.getMaxProgrammableCore(true); }