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
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11154

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.

cmake -DOPENGL_PROFILE="GLES2"

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.

Cheers,
Robert.


------------------
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 WG: CMake Updates for DicomTK zonk Submission 3 Fri May 12, 2017 10:46 am View latest post
No new posts OSG 3.4 and Qt 5 cmake problem. Found... Elias Tarasov General 1 Mon Apr 10, 2017 12:26 pm View latest post
No new posts CMake Updates for DicomTK zonk Submission 0 Fri Apr 07, 2017 12:19 pm View latest post
No new posts Update to FindCollada.cmake zonk Submission 12 Tue Apr 04, 2017 8:54 pm View latest post
No new posts Updated Find3rdPartyDependencies.cmake zonk Submission 2 Wed Mar 22, 2017 3:55 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