Esempio n. 1
0
 @Override
 void setup(int width, int height) {
   super.setup(width, height);
   if (mVsyncDisabled) {
     disableVsync();
   }
 }
Esempio n. 2
0
 @Override
 void destroy(boolean full) {
   try {
     super.destroy(full);
   } finally {
     if (full && mGlCanvas != null) {
       mGlCanvas = null;
     }
   }
 }