The aim of this is to better support users who want to do rapid drawing of the same buffers, such as to achieving flashing or gif behaviour.
This is a performance optimisation by allowing them to 'prepare' a draw, which does all the buffer preparation and jpeg encoding necessary, and then repeatedly send the draw when wanted much cheaper than before.
The prepared buffer can be optionally made json safe, where the buffers will be encoded as a string at the cost of requiring it to be decoded each time it is drawn
The aim of this is to better support users who want to do rapid drawing of the same buffers, such as to achieving flashing or gif behaviour.
This is a performance optimisation by allowing them to 'prepare' a draw, which does all the buffer preparation and jpeg encoding necessary, and then repeatedly send the draw when wanted much cheaper than before.
The prepared buffer can be optionally made json safe, where the buffers will be encoded as a string at the cost of requiring it to be decoded each time it is drawn