@WorkerThread @VisibleForTesting(VisibleForTesting.PROTECTED) synchronized fun renderOffscreen(cropToFit: boolean): Bitmap