OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

(no subject)


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
Andre Normann
Guest





PostPosted: Mon Nov 13, 2017 10:00 am    Post subject:
(no subject)
Reply with quote

Hi,

attached is a fix in GLExtension, which is based on latest git version, that fixes the usage of uniform buffer objects on macOS. Under macOS core OpenGL features aren't exported as extension. OpenGL 3.1 includes the GL_ARB_uniform_buffer_object as core feature for example. On macOS a simple osg::isGLExtensionSupported() call would fail. It is required to use the isGLExtensionOrVersionSupported() method. This is what my fix does.




Best regards,
André

------------------
Post generated by Mail2Forum
Back to top
Andre Normann
Guest





PostPosted: Mon Nov 13, 2017 10:02 am    Post subject:
(no subject)
Reply with quote

Ops, I missed a subject. The subject should be "Fix for extension handling on macOS"

Sorry.


Best regards,
André




2017-11-13 10:59 GMT+01:00 Andre Normann < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
Hi,

attached is a fix in GLExtension, which is based on latest git version, that fixes the usage of uniform buffer objects on macOS. Under macOS core OpenGL features aren't exported as extension. OpenGL 3.1 includes the GL_ARB_uniform_buffer_object as core feature for example. On macOS a simple osg::isGLExtensionSupported() call would fail. It is required to use the isGLExtensionOrVersionSupported() method. This is what my fix does.




Best regards,
André




_______________________________________________
osg-submissions mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11910

PostPosted: Mon Nov 13, 2017 10:28 am    Post subject:
(no subject)
Reply with quote

Thanks Andre, changes merged and submitted to master.

On 13 November 2017 at 09:59, Andre Normann <> wrote:
Quote:
Hi,

attached is a fix in GLExtension, which is based on latest git version, that
fixes the usage of uniform buffer objects on macOS. Under macOS core OpenGL
features aren't exported as extension. OpenGL 3.1 includes the
GL_ARB_uniform_buffer_object as core feature for example. On macOS a simple
osg::isGLExtensionSupported() call would fail. It is required to use the
isGLExtensionOrVersionSupported() method. This is what my fix does.


Best regards,
André






------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts (no subject) General 2 Thu Mar 08, 2018 3:16 am View latest post
No new posts (no subject) tanshihaj General 0 Tue Sep 19, 2017 2:26 pm View latest post
No new posts (no subject) filnet Submission 0 Wed Jun 29, 2016 9:31 am View latest post
No new posts (no subject) grendah General 1 Sat Apr 23, 2016 1:45 pm View latest post
No new posts (no subject) andersb General 6 Thu Feb 04, 2016 9:10 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP