delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/15/13:59:15

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
Date: Wed, 15 Oct 2003 13:55:22 -0400 (EDT)
From: Suresh Venkatasubramanian <suresh AT research DOT att DOT com>
To: Brian Ford <ford AT vss DOT fsi DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin and vertex/pixel programs
In-Reply-To: <Pine.GSO.4.56.0310151049160.823@eos>
Message-ID: <Pine.LNX.4.58.0310151351570.1045@apollonius.research.att.com>
References: <Pine DOT LNX DOT 4 DOT 58 DOT 0310151133450 DOT 1045 AT apollonius DOT research DOT att DOT com>
<Pine DOT GSO DOT 4 DOT 56 DOT 0310151049160 DOT 823 AT eos>
MIME-Version: 1.0

On Wed, 15 Oct 2003, Brian Ford wrote:

> On Wed, 15 Oct 2003, Suresh Venkatasubramanian wrote:
>
> > i have an nvidia graphics card that doesn't yet have linux drivers.
> > hence, I was considering using cygwin to write my code in windows.
> >
> Really?  I thought that all Nvidia cards capable of pixel/vertex shaders
> had Linux driver support.

Like in all such cases, the driver support is limited, and currently does
not work on laptops that use the latest mobile nvidia cards. their desktop
linux support is quite good though. My problem is that I am using a dell
8600 laptop

> They work.

That is excellent. Just curious - have you used things like Cg (the nvidia
hi level shader language) under cygwin as well ?

> Please see /usr/doc/opengl-1.1.0/README.txt.  Note that some of that info
> is out of date.  In particular, if you are using gcc 3.3.1, you will want
> to move /usr/include/GL/[gl.h glu.h] out of the way so you get the ones in
> /usr/include/w32api/GL instead.  Also, you will need to include GL/glext.h
> (which comes from there too), and ignore the references to GL_VERSION_*.
>
> An updated OpenGL package for Cygwin is in the works to fix these issues
> (I think).
>
> A second note.  You mentioned Linux, which would imply that you expect to
> code using GLX.  Xfree86 under Cygwin does not currently use a pass
> through mechanism to the native OpenGL DLLs.  Instead, it uses Mesa
> software rendering (not HW accelerated), and the previous
> document/comments do not apply.  If you use this method, use standard GLX
> includes/libs ie. -I /usr/X11R6/include -L /usr/X11R6/lib -lGLU -lGL.

> You must use Windows wgl windowing code (ie. no X) to get acceleration and
> native OpenGL DLLs.
>

I think I understand. What you saying is that if I want windows and native
dlls I have to use the wgl... versions of OpenGL rather than writing
linux-like glx code.

Thanks a lot. your response really helped.

Suresh Venkatasubramanian, Ph: 973 360 8951 (o)
Member, Technical Staff    Web: http://www.research.att.com/~suresh/
AT&T Shannon Labs

Amateurs built the Ark; professionals built the Titanic - heard on Car Talk

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