Esempio n. 1
0
 /** Instantiate singleton factories if available, EGLES1, EGLES2 and the OS native ones. */
 public static final void initSingleton() {
   if (!isInit) { // volatile: ok
     synchronized (GLDrawableFactory.class) {
       if (!isInit) {
         isInit = true;
         initSingletonImpl();
       }
     }
   }
 }