摘要 |
An apparatus for double-buffering a sequence of frames of pixel data for display is disclosed. The apparatus comprises two frame buffers, a read unit to read a first frame of pixel data from a first one of the two frame buffers, a write-switch point determiner, and a write-buffer selector. The write-switch point determiner determines a safe write-switch point in the first one of the two frame buffers. The safe write-switch point is determined, at least in part, by an average rate at which data is written to the frame buffers and an average rate at which data is read from the frame buffers. The write-buffer selector determines if the reading of the first frame has progressed beyond the safe write-switch point, and selects one of the two frame buffers to write a second frame of pixel data based on the determination.
|