opengl 3.1 support?

View: New views
4 Messages — Rating Filter:   Alert me  

opengl 3.1 support?

by Juan Linietsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I checked on svn, but no signs of gl 3.1 support and its extensions,
Since the gl3.h header has been published, i guess it shouln't be that
difficult to add?
Is any work being done on this? otherwise i may volunteer to submit a
GL_VERSION_3_1 patch or something (if i'm explained how to do it)

Thanks!

Juan Linietsky

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users

Re: opengl 3.1 support?

by tom fogal-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Juan Linietsky <reduzio@...> writes:

> I checked on svn, but no signs of gl 3.1 support and its extensions,
> Since the gl3.h header has been published, i guess it shouln't be
> that difficult to add?

Likely not.

> Is any work being done on this?

Nothing has been mentioned.

> otherwise i may volunteer to submit a GL_VERSION_3_1 patch or
> something (if i'm explained how to do it)

1. create auto/GL_VERSION_3_1 based on the gl3.h published header

You can use the other GL_VERSION* files in auto/ as a reference.  It's
pretty simple.

2. In glewContextInit from auto/src/glew_init_gl.c, add a case for gl
   3.1 in the else {} branch of the if.

3. Test! =)

Cheers,

-tom

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users

Re: opengl 3.1 support?

by GMScribe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would recommend looking at simply adding the functionality from the glext.h file. gl3.h is not complete and is incompatible with gl.h so there's a high chance you'll run into issues.

If I understood more about some of the conventions used in GLEW I'd make the changes myself. If anyone could provide links to resources/documents that explain some of the intregacies of how an API like GLEW works it would be much appreciated.

Many thanks.

tom fogal-3 wrote:
Juan Linietsky <reduzio@gmail.com> writes:

> I checked on svn, but no signs of gl 3.1 support and its extensions,
> Since the gl3.h header has been published, i guess it shouln't be
> that difficult to add?

Likely not.

> Is any work being done on this?

Nothing has been mentioned.

> otherwise i may volunteer to submit a GL_VERSION_3_1 patch or
> something (if i'm explained how to do it)

1. create auto/GL_VERSION_3_1 based on the gl3.h published header

You can use the other GL_VERSION* files in auto/ as a reference.  It's
pretty simple.

2. In glewContextInit from auto/src/glew_init_gl.c, add a case for gl
   3.1 in the else {} branch of the if.

3. Test! =)

Cheers,

-tom

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
glew-users mailing list
glew-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/glew-users

Re: opengl 3.1 support?

by Juan Linietsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, my wish was to add Opengl 3.1+ to GLEW in a way where backwards
compatibility can be optinally deprecated (so only have opengl 3.1+
available) but i couldn't figure out how to do this.. Most OpenGL
programmers i talked to are happy to port their code to OpenGL 3.1+ ,
and the only way to test strict compliance is by using gl3.h header..
Since i still don't have to release the software I'm working on, i
did't get to mess with GLEW yet, but if 3.1+ isn't supported by the
time i have to ship, my plan was to fork glew into a 3.1 only
version..

Cheers

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users