Hi Emil,

On Mon, Sep 18, 2017 at 02:18:42PM +0100, Emil Velikov wrote:
> Hi Duncan,
>
> On 17 September 2017 at 09:04, Duncan Roe <[email protected]> wrote:
> > On Fri, Sep 15, 2017 at 11:29:19AM +0100, Emil Velikov wrote:
> >> From: Emil Velikov <[email protected]>
...
>
> > 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:

qt5/QtWaylandCompositor/5.7.1/QtWaylandCompositor/private/wayland-wayland-server-protocol.h
    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:
qt5/QtWaylandCompositor/5.7.1/QtWaylandCompositor/private/wayland-surface-extension-server-protocol.h:64
qt5/QtWaylandCompositor/5.7.1/QtWaylandCompositor/private/wayland-qtkey-extension-server-protocol.h:62
qt5/QtWaylandCompositor/5.7.1/QtWaylandCompositor/private/wayland-text-input-unstable-v2-server-protocol.h:51
qt5/QtWaylandCompositor/5.7.1/QtWaylandCompositor/private/wayland-xdg-shell-server-protocol.h:55
qt5/QtWaylandClient/5.7.1/QtWaylandClient/private/wayland-wayland-client-protocol.h:88
qt5/QtWaylandClient/5.7.1/QtWaylandClient/private/wayland-surface-extension-client-protocol.h:61
qt5/QtWaylandClient/5.7.1/QtWaylandClient/private/wayland-qtkey-extension-client-protocol.h:59
qt5/QtWaylandClient/5.7.1/QtWaylandClient/private/wayland-text-input-unstable-v2-client-protocol.h:48
qt5/QtWaylandClient/5.7.1/QtWaylandClient/private/wayland-xdg-shell-client-protocol.h:52
wayland-egl-core.h:37
wayland-server-protocol.h:91
wayland-client-protocol.h:88
vlc/plugins/vlc_vout_window.h:44

Cheers ... Duncan.
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to