Filling a region in a frame buffer