public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: cygwin-xfree@cygwin.com
Subject: Re: expose event not received by Open GL window in X11 application upon moving app window
Date: Mon, 04 Nov 2013 18:30:00 -0000	[thread overview]
Message-ID: <5277E7AF.4020002@gmail.com> (raw)
In-Reply-To: <5277DADF.5060709@comcast.net>

Il 11/4/2013 6:35 PM, Wendel Dean Renner ha scritto:
> I have compiled and linked an existing X/Motif/Open GL program
> under cygwin.  So far the only problem I have seen is what happens
> when I move the main application window.
>
> I have an array of drawing widgets in the main application window.
> Where the drawing widget is strictly an X window, if I move the main
> application window, the contents
> continue to be visible without an expose event occuring (and so the
> draw loop is not called).
>
> But in the Open GL drawing area window (using glx) the contents disappears
> and one sees only the back ground color.   There is no expose event
> generated.  If I click the mouse on the window, an expose even is generated
> and it redraws.  The same happens if I change the size of the window,  but
> covering and uncovering the window with say a cygwin term window
> does not generate an expose event.  Covering with a child of the
> application
> and uncovering does generate an expose event.
>
> The x window is created with the line
>   %RUN% XWin -multiwindow -clipboard -silent-dup-error -wgl
>
> where I added the -wgl flag.
> Doing export LIBGL_ALWAYS_INDIRECT=1 before I run the application
> does not make any difference.
> I used a startxwin.bat script and modified it to run my application instead
> of a xterm. That allowed for an icon on the desktop to run the bat program
> to run the application.
>
> I also noted, like with Exceed, I cannot get a visual in the overlay
> planes,
> which I can do under Linux.  I do not have glxinfo and can't figure out
> what package has that.
>
> cygwin was downloaded an installed on a Windows 7 computer just
> last week.   The graphics card is an nvidia quadro fx 3800, driver
> version 320.92
> On Performace Options:
> Show window contents while dragging is unchecked.
>
> Background:
> The program runs under Linux (was developedorginally under SGI IRIX) and
> I have been using Exceed,Exceed 3D, and Exceed XDK from OpenText
> (formally Hummingbird) to run on a Windows platform.
>
> I have only recented noted that OSF/Motif is now available with cygwin
> as opposed to the prior LessTiff implementation of motif, as of Oct 2012
> evidently.
> My X/Motif program would not run correctly with LessTiff because
> of behavior differences where I was doing a lot of  drawing widgets
> attached
> to the same place and managing and unmanaging them so that only one would
> appear at a time, allowing the user to change the layout of the draw area
> widgets.
>
> Thanks to any advice available.
>

it looks like this problem
http://www.cygwin.com/ml/cygwin-xfree/2013-06/msg00050.html





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


      reply	other threads:[~2013-11-04 18:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 17:35 Wendel Dean Renner
2013-11-04 18:30 ` marco atzeri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5277E7AF.4020002@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).