Example #1
0
 void clear() {
   CanvasUtils.resetArray(allLayers);
   layersStack.clear();
   root.reset();
   currentLayer = root;
   lastSimple = null;
 }
Example #2
0
 @Override
 public void reset() {
   clear();
   externalRootFrameBuffer = 0;
   if (rootFrameBuffer != null) {
     rootFrameBuffer.free();
     rootFrameBuffer = null;
   }
   CanvasUtils.resetArray(frameBuffersCache);
   frameBuffersStack.clear();
   width = 0;
   height = 0;
   glContext = null;
 }
Example #3
0
 @Override
 public void reset() {
   calls.clear();
   CanvasUtils.resetArray(nodes);
 }