Add double buffer.