[MPlayer-dev-eng] [PATCH] Direct3D panscan draw leftover fix

Georgi Petrov gogothebee at gmail.com
Mon Nov 24 12:33:18 CET 2008


Thanks. Please note that ColorFill was used for the Offscreen Surface
and not for the backbuffer. ColorFill was not supposed to clear the
whole screen. It just cleared the OffscreenSurface before the first
frame was rendered inside. The problem with the borders when doing
panscan was because after calc_fs_rect was called, a new, smaller
(sub-rect) of the backbuffer was used on the next StretchRect, so the
previous (larger) draw area of the backbuffer was left in it's
previous state. I don't see the need for ColorFill anyway, so it
should be ok this way.



More information about the MPlayer-dev-eng mailing list