On Monday 02 March 2015 15:46:01 Shi Yan wrote:
> Thank you.
> 
> But why does es2 use egl, whereas the desktop opengl uses glx?

I think it's the other way around: GLX implies desktop GL, so using OpenGL ES2 
implies using EGL. EGL supports desktop GLs too.

> I learnt that nvidia's egl implementation can only support opengl es, is
> this true with intel graphics too?

Intel's driver supports OpenGL ES 2, ES 3, OpenGL 2 and 3. And they're binary 
compatible, so both libraries can be loaded in the same process.

$ LD_LIBRARY_PATH=$QT5_WITH_DESKTOPGL qtdiag | tail
LibGL Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Haswell Mobile 
Version: 3.0 Mesa 10.3.7
Shading language: 1.30
Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8

$ LD_LIBRARY_PATH=$QT5_WITH_GLES qtdiag | tail
LibGLES Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Haswell Mobile 
Version: OpenGL ES 3.0 Mesa 10.3.7
Shading language: OpenGL ES GLSL ES 3.0
Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to