Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Brian Ford cc: cygwin AT cygwin DOT com Subject: Re: Cygwin and vertex/pixel programs In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/