[SDL] Double-buffering *and* dirty rectangle lists?
linux_dr at yahoo.com
Tue Aug 27 12:35:01 PDT 2002
On Tue, 2002-08-27 at 11:48, David Olofson wrote:
> On 27/08/2002 09:41:37 , Loren Osborn <linux_dr at yahoo.com> wrote:
> >On Tue, 2002-08-27 at 06:42, David Olofson wrote:
> >> On 26/08/2002 14:24:12 , Loren Osborn <linux_dr at yahoo.com> wrote:
> >> > From experience with DirectX, I
> >> >know the system (Windows at least) will clear the frame behind your
> >> >back.
> >> That's interesting... Why would a driver waste blitting time clearing
> >> buffers automatically.? (If DX does that all the time, that certainly
> >> explains why plain "frame pumping" is much slower than expected on
> >> some cards...)
> >It generally only happened after system events (that weren't readily
> >detectable) such as another program getting focus, etc.
> But isn't that supposed to result in the surface being lost? Or is DX
> making an exception for display surfaces...?
I didn't work on this code personally, I'm just telling you what I
remember... They detected it with a non-black pixel in a corner... I
don't know why they didn't detect it some other way...
More information about the SDL