Re: [Interest] how to build the xcb-plugin with egl support?

2015-03-06 Thread Shi Yan
Hi Thiago,

are you by any chance working on the intel egl driver?

cause there might be a bug.

http://stackoverflow.com/questions/28892858/egl-pbuffer-offscreen-rendering-can-only-read-back-background/28907106#28907106

How do I file a bug to intel?

Thanks,


On Mon, Mar 2, 2015 at 12:28 PM, Thiago Macieira thiago.macie...@intel.com
wrote:

 On Monday 02 March 2015 12:06:23 Shi Yan wrote:
  I'm trying to make my own platform plugin with egl. but I always get a
  black screen.
 
  I’m trying to build the xcb-plugin with egl support, so that I can debug
 it
  and compare it with my implementation.
 
  I noticed if CONFIG has x11_egl, then it will use egl instead of glx.
 
  but I tried to configure the Qt project with ./configure -opengl x11_egl,
  it won’t work.
 
  I can’t find the right way to enable egl. do you know?

 configure -opengl es2

 --
 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

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


Re: [Interest] how to build the xcb-plugin with egl support?

2015-03-06 Thread Thiago Macieira
On Friday 06 March 2015 12:32:44 Shi Yan wrote:
 Hi Thiago,
 
 are you by any chance working on the intel egl driver?

No. I am merely a user.

 cause there might be a bug.
 
 http://stackoverflow.com/questions/28892858/egl-pbuffer-offscreen-rendering- 
 can-only-read-back-background/28907106#28907106
 
 How do I file a bug to intel?

http://bugs.freedesktop.org, file against Mesa.

-- 
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


Re: [Interest] how to build the xcb-plugin with egl support?

2015-03-03 Thread Giuseppe D'Angelo
On 3 March 2015 at 00:53, Thiago Macieira thiago.macie...@intel.com wrote:
 GLX implies desktop GL

And, Qt supports creating GLES contextes on GLX, if the right
extensions are available.

-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to build the xcb-plugin with egl support?

2015-03-02 Thread Thiago Macieira
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


Re: [Interest] how to build the xcb-plugin with egl support?

2015-03-02 Thread Shi Yan
sorry, I replied too quick without reading your response.

Yes, this is what I want to try! Thanks

On Mon, Mar 2, 2015 at 12:59 PM, Andrew Knight q...@panimo.net wrote:

 On 03/02/2015 10:28 PM, Thiago Macieira wrote:
  On Monday 02 March 2015 12:06:23 Shi Yan wrote:
  I'm trying to make my own platform plugin with egl. but I always get a
  black screen.
 
  I’m trying to build the xcb-plugin with egl support, so that I can
 debug it
  and compare it with my implementation.
 
  I noticed if CONFIG has x11_egl, then it will use egl instead of glx.
 
  but I tried to configure the Qt project with ./configure -opengl
 x11_egl,
  it won’t work.
 
  I can’t find the right way to enable egl. do you know?
 
  configure -opengl es2
 

 Or if you want to use desktop GL without GLX, try -opengl desktop
 -no-xcb-xlib

 You might be better off with EGLFS (+ X11 hooks), though. That option is
 more geared toward custom embedded development. See Laszlo's excellent
 post about the improvements for Qt 5.5:

 http://blog.qt.io/blog/2015/01/20/qt-weekly-23-qt-5-5-enhancements-for-linux-graphics-and-input-stacks/
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest

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


[Interest] how to build the xcb-plugin with egl support?

2015-03-02 Thread Shi Yan
I'm trying to make my own platform plugin with egl. but I always get a
black screen.

I’m trying to build the xcb-plugin with egl support, so that I can debug it
and compare it with my implementation.

I noticed if CONFIG has x11_egl, then it will use egl instead of glx.

but I tried to configure the Qt project with ./configure -opengl x11_egl,
it won’t work.

I can’t find the right way to enable egl. do you know?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest