void clear() { CanvasUtils.resetArray(allLayers); layersStack.clear(); root.reset(); currentLayer = root; lastSimple = null; }
@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; }
@Override public void reset() { calls.clear(); CanvasUtils.resetArray(nodes); }