|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
sRGB framebuffers and context profilesThe recent release of OpenGL 3.2 suggested the addition of another init
function: void glutInitContextProfile( int profile ) with the following bit masks for the currently defined profiles: #define GLUT_CORE_PROFILE 0x0001 #define GLUT_COMPATIBILITY_PROFILE 0x0002 While I was at it, I implemented support for sRGB framebuffers, too: Just use GLUT_SRGB with glutInitDisplayMode. Both additions have been mildly tested, so some feedback would be nice. The documentation of the GLX/WGL extensions is a real horror, incomplete and without any example code snippets, so a look at my latest changes would be highly appreciated. I've seen very few examples out there in the wild, and they differ wildly in their interpretation of the spec. The ARB should really do a better job here, this is not the way to catch up with DirectX... One related question: Do I read http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt correctly and with ARB_color_buffer_float you can get floating point framebuffers via WGL, but only floating point pbuffers (i.e. off-screen buffers) via GLX? In other words: No floating point framebuffers via GLX? :-( Cheers, S. ------------------------------------------------------------------------------ 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 _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: sRGB framebuffers and context profilesLet me bump this back into the "active" list.
John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: Sven Panne [mailto:Sven.Panne@...] Sent: Monday, August 10, 2009 1:54 PM To: freeglut-developer@... Subject: [Freeglut-developer] sRGB framebuffers and context profiles The recent release of OpenGL 3.2 suggested the addition of another init function: void glutInitContextProfile( int profile ) with the following bit masks for the currently defined profiles: #define GLUT_CORE_PROFILE 0x0001 #define GLUT_COMPATIBILITY_PROFILE 0x0002 While I was at it, I implemented support for sRGB framebuffers, too: Just use GLUT_SRGB with glutInitDisplayMode. Both additions have been mildly tested, so some feedback would be nice. The documentation of the GLX/WGL extensions is a real horror, incomplete and without any example code snippets, so a look at my latest changes would be highly appreciated. I've seen very few examples out there in the wild, and they differ wildly in their interpretation of the spec. The ARB should really do a better job here, this is not the way to catch up with DirectX... One related question: Do I read http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt correctly and with ARB_color_buffer_float you can get floating point framebuffers via WGL, but only floating point pbuffers (i.e. off-screen buffers) via GLX? In other words: No floating point framebuffers via GLX? :-( Cheers, S. ------------------------------------------------------------------------ ------ 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 _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
| Free embeddable forum powered by Nabble | Forum Help |