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 

Creating an OpenGLES.cmake

Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
OSG Project Lead

Joined: 18 Mar 2009
Posts: 11834

PostPosted: Wed Oct 12, 2016 3:37 pm    Post subject:
Creating an OpenGLES.cmake
Reply with quote

Hi All,

With OSG-3.6 looming I'm looking to streamline build across platforms
and one area that isn't yet as streamlined as it could be is GLES.
Part of making things more straight forward was the addition of the
OPENGL_PROFILE variable to our cmake scripts that allows you to select
the appropriate settings for various headers etc. i.e.


This doesn't switch across the libraries though, you still have to
manually set up the EGL and GLES libs as the OSG doesn't even try
looking for them in standard places. Instead we just have usage of
the official CMake FindOpenGL.cmake script.

What we need is FindOpenGLES.cmake script that we'd call in place of
the OpenGL.cmake when GLES pathway is selected. As far as I can tell
there isn't yet an official Cmake FindOpenGLES.cmake. I'm a bit
surprised by this.

Without one provided by CMake we have to fallback on providing one
ourselves. My preliminary search of the web as uncovered a couple of
open source projects that have their own. As they are open source it
should be OK to copy one of these. Which one though... If we do
leverage existing FindOpenGLES.cmake then I'd want to do it
co-operatively with the original developers so we can share
improvements that either project makes without the versions diverging.

I only hold a portion of the knowledge on this stuff that the whole
OSG community has, so I'd love to hear from others to what they know
about possible FindOpenGLES,cmake options, and there thoughts on the
way forward.


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 Self provide osg related cmake find_p... Ralf Habacker General 0 Thu Apr 26, 2018 7:11 am View latest post
No new posts Messages when trying to cmake of OSX ... minghia Build system [build] 0 Sat Apr 21, 2018 1:49 pm View latest post
No new posts geometry shader with opengles lyn General 3 Mon Apr 02, 2018 1:41 am View latest post
No new posts osgWidget Visual Studio project is in... Jiri_Patrak Build system [build] 1 Sat Mar 31, 2018 4:26 pm View latest post
No new posts Creating depth texture in pre render ... wernerM General 0 Fri Mar 16, 2018 2:31 pm 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