[MPlayer-dev-eng] [PATCH] Direct3D panscan draw leftover fix
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Nov 24 12:43:14 CET 2008
On Mon, Nov 24, 2008 at 01:33:18PM +0200, Georgi Petrov wrote:
> 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.
Yes, I fixed the commit message.
> 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.
Unfortunately that is not the only issue. The backbuffer previously was
_never_ cleared, which meant even without panscan the borders would show
random noise when switching to fullscreen.
More information about the MPlayer-dev-eng
mailing list