This is the mail archive of the
mailing list for the Cygwin project.
Re: Performance problem
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Vladimir Baltchev <vbaltch at orthosoft dot ca>
- Cc: cygwin at cygwin dot com
- Date: Wed, 9 Jul 2003 11:16:09 -0400 (EDT)
- Subject: Re: Performance problem
- Reply-to: cygwin at cygwin dot com
Just a clarification. OpenGL on Cygwin is *not* slow. OpenGL support in
Cygwin/XFree86 *is* slow, because they do software emulation. If you use
OpenGL with X, you will either have to bear the cost of this emulation, or
rewrite the UI of your application to use the non-X OpenGL package (which
allows hardware acceleration, but will not support X calls). This may not
be as hard as you think -- take a look at the source for rxvt, in
particular, the W11 library, which, though incomplete, implements a lot of
On Wed, 9 Jul 2003, Vladimir Baltchev wrote:
> OK, guys,
> I understand what Andre is saying, but he said cygwin is offering an
> opportunity to use a OpenGL package different from the X11 one.
> In fact I am trying to use cygwin to avoid havy porting effort.
> Obviousely OpenGL on cygwin is slow and I'll forget about cygwin if I
> have to rewrite the application...
> Anyways, thanks for the help
> Larry Hall wrote:
> > Vladimir,
> > I think you're a little too fixated on the portability aspects such that
> > you're not really processing what Andre is saying. If you want
> > absolute minimal porting changes, the route you took is the proper one,
> > but you will suffer extreme performance degradation due to the fact that
> > all of the processing for GL will happen in software. If this isn't
> > acceptable to you, then you do need to do more porting so that you're
> > application works with Windows rather than X. For that, you can go 100%
> > native Windows with your entire application or you can use the OpenGL
> > package in Cygwin so that you only need to port the GL portion. There is
> > no libGL with Windows implementation of GL or in the OpenGL package that
> > comes with Cygwin so I wouldn't waste any time trying to figure out why
> > you can't find one outside of the X package.
> > HTH,
> > Larry
> > Vladimir Baltchev wrote:
> >> In fact you have 3 gl.h in cygwin but only one library - libGL, and
> >> it's the X11 one...
> >> Vladimir Baltchev <vbaltch at orthosoft dot ca> wrote:
> >> The combination OpenGL X11 works fine on Unix.
> >> That's because it is hardware accelerated on Unix.
> >> We are trying to use cygwin to port our applications on Windows. The
> >> cygwin's OpenGL gives us the dependency on the X11 cygwin simulation
> >> on Windows which is slow, I gess...
> >> They are 2 OpenGL implementation for Cygwin:
> >> A slow one for X11: everything is rendered in software.
> >> A fast one for native Windows apps. The OpenGL package enables you to
> >> use it. It uses hardware acceleration if available.
> >> Andr Bleau, Cygwin's OpenGL package maintainer.
> >> --
> >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> >> Problem reports: http://cygwin.com/problems.html
> >> Documentation: http://cygwin.com/docs.html
> >> FAQ: http://cygwin.com/faq/
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html