From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95717 invoked by alias); 13 Nov 2019 07:27:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 95709 invoked by uid 89); 13 Nov 2019 07:27:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_40,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=cygwinxfreecygwincom, U*cygwin-xfree, cygwin-xfree@cygwin.com, spy X-HELO: mail.directv.net Received: from mail2.directv.syn-alias.com (HELO mail.directv.net) (69.168.106.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Nov 2019 07:27:55 +0000 Return-Path: DKIM-Signature: v=1; a=rsa-sha1; d=wildblue.net; s=20170921; c=relaxed/simple; q=dns/txt; i=@wildblue.net; t=1573630074; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=QKJvfVzcuCN4JUBSbm7ByRpJF58=; b=I+PDtASzLTUZ1NsjdJBUkIsDNybzAirY4YGcXGA2QHYCEBdWsWhP/zBgqJpAxezo vXCQX1s+OXTfDxCwXZaOAZ6iM5vQu+6v/cJtAkvXNk3olbsrGB2pBqlvhvnDcVxA Na/stvsNXiMjQr6y3GQwzB+Ejzv2ybbyUyo6EDFkhIcQSbtlJKtSEKPSobxiQkgG zxhFL7/K8EZq9kUWh3mrGeWEzQZ2gfgQ3Gc75ehz+2g/99sStoEhgvYlCXdhYRQn UCi4aE8KTfsMQ69cGbZfC1hAi5FuSNhvfml7wb0VRsETxz8SRb38PVfB44X+Gyfs HQfCp2YLEycOjxeKo/PcYQ==; X_CMAE_Category: , , X-CM-Score: 0 X-Authed-Username: bWljay5wZWFyc29uQHdpbGRibHVlLm5ldA== Received: from [10.80.118.14] ([10.80.118.14:42524] helo=md06.jasper.bos.sync.lan) by mail2.directv.syn-alias.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTP id 75/89-20561-970BBCD5; Wed, 13 Nov 2019 02:27:53 -0500 Date: Wed, 13 Nov 2019 07:27:00 -0000 From: Mick Pearson To: cygwin Message-ID: <1501149975.8378096.1573630073765.JavaMail.zimbra@wildblue.net> In-Reply-To: <1603999286.4785804.1573292952544.JavaMail.zimbra@wildblue.net> References: <345212924.4774581.1573291267579.JavaMail.zimbra@wildblue.net> <1603999286.4785804.1573292952544.JavaMail.zimbra@wildblue.net> Subject: Re: XWin can't hold OpenGL picture, has WS_DISABLED and WS_EX_TRANSPARENT styles? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-11/txt/msg00059.txt.bz2 Sorry (I don't know how to you L A Walsh reply so am replying to myself with the same subject) I think I meant to include this (https://sourceware.org/bugzilla/show_bug.cgi?id=25170) link that includes this link: https://www.mail-archive.com/search?l=cygwin-xfree@cygwin.com&q=subject:"Re\%3A+Probable+bug+in+WGL+implementation+\(AIGLX\)+of+GLX+calls+in+XWin+\-wgl"&o=newest&f=1 I was too zealous to be brief, and I think now the window styles are a red herring. In any case the problems arise in "overdraw" scenarios wherein a window passes over the OpenGL windows, that is when the background is "erased" and the picture is lose (not held) which makes it impossible to use XWin for anything but one screen demonstrations of graphical effects. Some applications use multiple windows and do rendering with OpenGL instead of GTK widgets for example. Those can't use XWin. I think OpenGL doesn't work with MS Windows X servers. I hope it works with Linux ones. The other X servers available to Windows are in disarray with regard to OpenGL. So it would be good if one of them could be made to work. XWin is closest since it doesn't crash and does draw correctly other than it can't hold a picture. ----- Original Message ----- > From: "Mick Pearson" > To: "cygwin" > Sent: Saturday, November 9, 2019 3:49:12 AM > Subject: Re: XWin can't hold OpenGL picture, has WS_DISABLED and WS_EX_TRANSPARENT styles? > P.S. Sorry to add, the WM_ERASEBKGND message occurred to me, or setting the > class-background to the "null" brush is a likely culprit. It is behaving like > a front-buffered old-fashioned application somewhat. Clipping and own-DC style > should prevent damage, but I don't know, something seems to be responding to > PAINT like events, that don't make sense for OpenGL. > > Below is line formatted version of the old text. I have to do this manually for > new text, but the > quoted text is already hard-wrapped. > >> XWin has never had a permanent picture with OpenGL. Any movement "damages" all >> windows. I know I've looked at it before, but I checked its window/class styles >> with MS's Spy++ tool today. The normal styles that govern clipping and >> permanence look fine, but it has some weird styles that normally for disabled >> and transparent windows that I wonder are the cause for its abnormal behavior >> in this regard. No OpenGL apps that just draw only OpenGL on a window have >> XWin's problem. >> >> To be brief, it has these unnatural window-styles in this mail's subject line. >> Other than that, I think it may use Direct3D instead of OpenGL, but normally >> drawing OpenGL or Direct3D onto plain windows doesn't clobber other windows. I >> mean, you have to work hard to make it do something like that. >> >> A second, unrelated, oddity is the window decorations are sometimes classic >> style, and sometimes current style. It's very odd. It's random in the same >> session. The windows seem to undergo a transition from classic to current, but >> get stuck in classic sometimes. Maybe they are using the old "animated" show >> functions that didn't survive the version of Windows that introduced them. >> >> Niggling things like this could be fixed. But I don't know how many people use >> Cygwin. I've used it a lot over the years myself, to do development work. XWin >> is the most stable X server. Others don't really get close. But it's kind of >> too comfortable with its crumminess too. Not that I'm going to shove my work >> aside to try to remedy it myself. >> >> -- >> As with mail, anyone who wishes may send email from your email address. In the >> case you receive obscene or unusual email from an address with which you are >> familiar. It could be someone is impersonating that email address. Always >> return a copy of the email to the sender for review and response. > > -- > As with mail, anyone who wishes may send email from your email address. In the > case you receive obscene or unusual email from an address with which you are > familiar. It could be someone is impersonating that email address. Always > return a copy of the email to the sender for review and response. -- As with mail, anyone who wishes may send email from your email address. In the case you receive obscene or unusual email from an address with which you are familiar. It could be someone is impersonating that email address. Always return a copy of the email to the sender for review and response. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple