From cygwin-xfree-return-10778-listarch-cygwin-xfree=sourceware dot cygnus dot com at cygwin dot com Mon Jul 22 03:26:10 2002 Return-Path: Delivered-To: listarch-cygwin-xfree at sourceware dot cygnus dot com Received: (qmail 20459 invoked by alias); 22 Jul 2002 03:26:10 -0000 Mailing-List: contact cygwin-xfree-help at cygwin dot com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner at cygwin dot com Mail-Followup-To: cygwin-xfree at cygwin dot com Delivered-To: mailing list cygwin-xfree at cygwin dot com Received: (qmail 20452 invoked from network); 22 Jul 2002 03:26:09 -0000 Received: from unknown (HELO sccrmhc02.attbi.com) (204.127.202.62) by sources dot redhat dot com with SMTP; 22 Jul 2002 03:26:09 -0000 Received: from huntharo ([12.245.196.74]) by sccrmhc02.attbi.com (InterMail vM dot 4 dot 01 dot 03 dot 27 201-229-121-127-20010626) with SMTP id <20020722032609 dot LAGO6023 dot sccrmhc02 dot attbi dot com at huntharo> for ; Mon, 22 Jul 2002 03:26:09 +0000 From: "Harold Hunt" To: Subject: RE: On a side note - display resolution changes now handled Date: Sun, 21 Jul 2002 23:26:08 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <3D3B38FC dot 2040106 at bravobrava dot com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Jehan, > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Jehan > Sent: Sunday, July 21, 2002 6:43 PM > To: cygwin-xfree@cygwin.com > 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