Handle any shutdown for this graphics context. This is called when a sketch is shut down and this renderer was specified using the size() command, or inside endRecord() and endRaw(), in order to shut things off.
()
| 785 | * endRaw(), in order to shut things off. |
| 786 | */ |
| 787 | public void dispose() { // ignore |
| 788 | if (primaryGraphics && asyncImageSaver != null) { |
| 789 | asyncImageSaver.dispose(); |
| 790 | asyncImageSaver = null; |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | |
| 795 | public PSurface createSurface() { // ignore |