delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/09/10:32:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVZs4OEbb5JuCnaqs7N2BfnfAuM9UuWQSWwqrWENfz8zOr7vqtSEmVao
Message-ID: <3F0C2669.3080408@cygwin.com>
Date: Wed, 09 Jul 2003 10:27:53 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Vladimir Baltchev <vbaltch AT orthosoft DOT ca>
CC: cygwin AT cygwin DOT com
Subject: Re: Performance problem
References: <3F0B3205 DOT 1060406 AT orthosoft DOT ca> <971614c88e911d0893713df1f6ae8e663f0c1e29 AT Orthosoft DOT ca>
In-Reply-To: <971614c88e911d0893713df1f6ae8e663f0c1e29@Orthosoft.ca>

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/
> 
> 


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019