[PATCH] clients: add es2_info

Pekka Paalanen ppaalanen at gmail.com
Fri Oct 28 01:27:08 PDT 2011


On Fri, 28 Oct 2011 10:44:47 +0300
Tiago Vignatti <tiago.vignatti at linux.intel.com> wrote:

> Hi,
> 
> On 10/28/2011 09:19 AM, Pekka Paalanen wrote:
> > Originally copied from mesa/demos git, src/egl/opengles1/es1_info.c
> > and ported to Wayland by copying parts of simple-egl.c
> 
> what's the advantage of fetching EGL information only for printing 
> through Wayland? Seems overkill for me when EGL lets without any
> window system involved.

To see the GL version, renderer and extensions strings under Wayland. I
couldn't find any other tool to do just this.

This was more of a "get to know Wayland" thing for me rather than
implementing something generally useful.

Still, I don't really understand why you say it's overkill, or the
window system comment. You cannot run any of the existing {glx,es2}info
tools under Wayland, because you have to create a display and a
surface/window before calling EGL. And without eglMakeCurrent(), the
strings are empty.

- pq


More information about the wayland-devel mailing list