On Wed, Oct 23, 2013 at 10:03 PM, Georg Zotti <georg.zo...@univie.ac.at>wrote:
> On Mi, 23.10.2013, 18:41, Timothy Reaves wrote:
> > This is a very confusing topic.
>
> Indeed...
>
> > In my code, I am using QOpenGLFunctions_1_2, and it is working.
>
> I think the real fun starts with versions beyond 2.0.
>
> > But each plugin that uses OpenGL
> > must do this, and it's unclear what version should be used. I simply
> used
> > the minimum version that supported the functionality I needed. It's
> also
> > unclear what happens of two different versions are used in the same
> application.
>
> I understood that's the way to go, and the classes are allowed to do just
> that - implement the minimum version required for their funcionality. It
> is the failure of bool
> QOpenGLFunctions_3_2_Compatibility::initializeOpenGLFunctions() on a fat
> gaming notebook (NVidia, OpenGL 4.2) that puzzles me, to begin with. (And
> I do understand that this compatibility profile would not be supported on
> a Mac, but that's a final thing to solve.) Interestingly, with the
> QOpenGLFunctions_3_2_CoreBackend class, its constructor requires the
> OpenGL context, but I don't even see the functions to return the OpenGL
> context for our StelMainView.
>
> I must pause on the plugin again at least for a week for other, real-world
> work. :-( Anyone willing and understanding enough to dive in here?
>
I haven't looked at the code of the plug-in, but aren't you supposed to use
the QOpenGLFunctions class instead of the version-specific classes?
http://qt-project.org/doc/qt-5.1/qtgui/qopenglfunctions.html#details
Bogdan
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel