OpenGL is a complex development topic, and the marriage of Qt, OpenGL, OpenGL 
ES, and their shading languages, and the apps over-riding both the Qt app and 
the Qt GL widget,  has always been difficult.  The last commits by Georg & 
merged in by Alex just make things worse, and need to be reverted.  Georg, if 
you’re working towards something new for Qt 5.4, I applaud that, but, it should 
be kept in a separate branch until completed, and Alex, you should have merged 
it until it’d been conformed to work on all OS’es.

Let’s have a look at the current broken code.  The following is from one of my 
Mac’s.

Detected: OpenGL "2.1"
Driver version string: "2.1 NVIDIA-10.0.43 310.41.05f01"
GL vendor is "NVIDIA Corporation"
GL renderer is "NVIDIA GeForce GT 650M OpenGL Engine"
GL Shading Language version is "1.20"
GLSL Version Number after parsing:  1.2
This is not enough: we need GLSL1.30 or later.
You should update graphics drivers, graphics hardware, or use the MESA version.
Else, please try to use an older version like 0.12.4, and try there with 
--safe-mode
Config option main/ignore_opengl_warning found, continuing. Expect problems.


There is so much wrong with this, but, put simply, the application requests 
OpenGL 2.1 with GLSL 1.2, then tells the user to upgrade their hardware as this 
level of support is not sufficient for the app.  Wow.  And if I actually update 
the code to request & use the highest-supported versions, then the app crashes 
with the shaders failing to compile.

With the lnksidasical development we have, this may be an insurmountable issue. 
But I think we need a well though out, defined, described, approach to getting 
the OpenGL mess cleaned up.  The issues should be enumerated, the recommended 
approach described & discussed, and then we can each see what we can do to help 
get it implemented.




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to