[PATCH 3/5] d2d1: Implement sprite batches.