Jehan, > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jehan > Sent: Sunday, July 21, 2002 6:43 PM > To: [EMAIL PROTECTED] > Subject: Re: On a side note - display resolution changes now handled > > > Harold Hunt wrote: > > On the other hand, display depth changes are much more > disruptive, I think. > > I don't think that DirectDraw can handle transfering bits from > an offscreen > > surface of different format than the primary surface; doing so > would seem to > > defeat the whole purpose of DirectDraw. My current thinking is > that we will > > simply display a popup message indicating that Cygwin/XFree86 will be > > unavailable until the display depth is returned to the original depth. > > Isn't it possible to just froget about the previous offscreen buffer and > ask all X windows to redraw themselves into the newly created surface? > > Jehan
You must be tired. If we create a new offscreen surface (which I was not talking about doing, I only said we have to recreate the primary (onscreen) surface) with a different depth/format/etc than the original offscreen surface, then we have effectively changed the X graphics mode and we would need to use some sort of X extension to notify clients that all pixmaps and visuals have been reset. If there is such an extension, I am not aware of it. Harold
