sub buffer drawing