Class DncPainterSync

  • All Implemented Interfaces:
    GlimpsePainter

    public class DncPainterSync
    extends DncPainter
    A DncPainter whose paint method blocks until relevant background tasks have finished. Intended for non-interactive use (e.g. painting to an offscreen image).

    WARNING: this implementation is quite kludgy. A better impl will require changes to RenderCache and DncPainter.

    TODO: Re-implement less kludgily