[RFC wayland 1/9] wayland-egl: import libwayland-egl.so frontend library from Mesa
duncan_roe at optusnet.com.au
Tue Sep 19 05:24:40 UTC 2017
On Mon, Sep 18, 2017 at 02:18:42PM +0100, Emil Velikov wrote:
> Hi Duncan,
> On 17 September 2017 at 09:04, Duncan Roe <duncan_roe at optusnet.com.au> wrote:
> > On Fri, Sep 15, 2017 at 11:29:19AM +0100, Emil Velikov wrote:
> >> From: Emil Velikov <emil.velikov at collabora.com>
> > From checking header files it does seem to me that the layout of struct
> > wl_egl_window is indeed opaque to the outside world, but all the same wouldn't
> > it be better to be able to see what version of the library one had installed?
> Why? Can you please elaborate.
I searched /usr/include for includes of wayland-egl-priv.h. There weren't any
(as one would hope, since Mesa doesn't expose it).
I then searched /usr/include for declarations of struct wl_surface:
90 struct wl_subsurface;
91 struct wl_surface;
92 struct wl_touch;
It's declared but not defined. Code can only work with pointers to the struct
and not its elements, which is what I meant by saying it was "opaque".
Similar results for:
Cheers ... Duncan.
More information about the wayland-devel