What it says on the tin: a place to discuss proposed new features.
RandomCitizen
Kobold
Posts: 26 Joined: Sat Jun 08, 2013 3:12 pm
x 2
Quote
0
login to like this post
Post
by RandomCitizen » Sat Jun 08, 2013 3:35 pm
When I take a look at the Source Code of Ogre, the miscParameter `currentGLContext` does exist and is used.
But it isn't even mentioned in the
api documentation .
I think especially the following Question should be answered by the documentation:
When should I use `currentGLContext` and when `externalGLControl`
If one of those is set, is it necessary to provide the gl context or the window handle in another parameter to the newly created window?
What is the effect on other window specific methods, like setting a viewport?
How does using it changes how one should implement the mainloop?
What are the usage differences between different platforms?
what if the window library changes it's glContext (for example because of changing the resolution)
spacegaier
OGRE Team Member
Posts: 4304 Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 135
Contact:
Quote
0
login to like this post
Post
by spacegaier » Sat Jun 08, 2013 7:25 pm
RandomCitizen
Kobold
Posts: 26 Joined: Sat Jun 08, 2013 3:12 pm
x 2
Quote
0
login to like this post
Post
by RandomCitizen » Sat Jun 08, 2013 7:50 pm
Nice! Thank you for providing a link
dermont
Bugbear
Posts: 812 Joined: Thu Dec 09, 2004 2:51 am
x 42
Quote
0
login to like this post
Post
by dermont » Sat Jun 08, 2013 8:00 pm
RandomCitizen wrote: When I take a look at the Source Code of Ogre, the miscParameter `currentGLContext` does exist and is used.
But it isn't even mentioned in the
api documentation .
I think especially the following Question should be answered by the documentation:
When should I use `currentGLContext` and when `externalGLControl`
If one of those is set, is it necessary to provide the gl context or the window handle in another parameter to the newly created window?
What is the effect on other window specific methods, like setting a viewport?
How does using it changes how one should implement the mainloop?
What are the usage differences between different platforms?
what if the window library changes it's glContext (for example because of changing the resolution)
Most of your questions should answered in the following thread. It's written 5 years ago but the GLX rendersystem hasn't really changed since then.
http://www.ogre3d.org/forums/viewtopic.php?t=39933
The currentGLContext parameter was documented in the API for 1.7, probably just an oversight it was removed.
masterfalcon
OGRE Team Member
Posts: 4270 Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:
Quote
0
login to like this post
Post
by masterfalcon » Sat Jun 08, 2013 8:11 pm
I just looked in the 1.7 source and I don't see it documented. Do you have a link for the header that had the docs?
dermont
Bugbear
Posts: 812 Joined: Thu Dec 09, 2004 2:51 am
x 42
Quote
0
login to like this post
Post
by dermont » Sat Jun 08, 2013 8:53 pm
masterfalcon wrote: I just looked in the 1.7 source and I don't see it documented. Do you have a link for the header that had the docs?
Sorry I don't it looks as if it has never been documented. I'm not sure why I remember it as being part of the api.