I just added a branch gz-opengl-init to get better diagnostics on various systems. Currently downloading to the netbook... It should run within the next 5 hours or so.
On highp etc: See Qt Help on QOpenGLShaderProgram, section "Writing Portable Shaders". The QOpenGLShaderProgram class makes the process of writing portable shaders easier by prefixing all shader programs with the following lines on desktop OpenGL: #define highp #define mediump #define lowp So I understand these words are defined and influence precision (bit width) in GLES, and set to empty dummies in Desktop OpenGL/GLSL. G. On So, 10.08.2014, 13:35, Alexander Wolf wrote: > Hi! > > 2014-08-10 7:03 GMT+07:00 Georg Zotti <[email protected]>: > >> >> Most interesting for me was ANGLE on my Atom netbook with mediocre >> GMA3150. Like before, the shader programs are too long :-( >> >> Fabien, the startup diagnostics for win32 ANGLE versions seem to always >> come with answer like >> >> GL renderer is "ANGLE (Intel(R) Graphics Media Accelerator 3150 >> Direct3D9Ex vs_0_0 ps_2_0)" >> >> >> GL renderer is "ANGLE (Intel(R) HD Graphics 3000 Direct3D9Ex vs_3_0 >> ps_3_0)" >> (about 60 fps here) >> >> >> or, on a more capable system (which I will not use with ANGLE, it's >> 196fps >> native vs. 60fps ANGLE!): >> >> GL renderer is "ANGLE (NVIDIA GeForce GTX 580M Direct3D9Ex vs_3_0 >> ps_3_0)" >> >> >> >From this I see a way of discerning shader capabilities of the graphics >> hardware if running ANGLE. (Testing the ps_2_0 or ps_3_0 answer.) Would >> it >> be possible for you to develop alternative ultra-simple shaders (no >> shadows, no normal mapping, etc.) for the minimal-hardware systems? >> > > Georg, can you remove highp and mediump instructions from shaders (like at > http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/6848) > and > check it again? > > -- > With best regards, Alexander > ------------------------------------------------------------------------------ _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
