venus: flush when batched draw calls reach a threshold