@WorkerThread fun renderToBitmap(canvas: Bitmap, layerStage: Rect, chunkRect: Rect, transformation: Transformation): Bitmap