Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sudbury support to mesa? #8

Open
abooij opened this issue Apr 4, 2016 · 1 comment
Open

Add sudbury support to mesa? #8

abooij opened this issue Apr 4, 2016 · 1 comment
Labels

Comments

@abooij
Copy link
Owner

abooij commented Apr 4, 2016

It looks like mesa does some hackery to detect pointers to libwayland objects. In particular, in the function _eglNativePlatformDetectNativeDisplay in src/egl/main/egldisplay.c:

if (first_pointer == &wl_display_interface)
   return _EGL_PLATFORM_WAYLAND;

But as far as I know, mesa does not break encapsulation anywhere else. So fixing this instance might be sufficient.
I'm not sure what the impact of this is.

@abooij
Copy link
Owner Author

abooij commented Apr 6, 2016

After appropriate fixes in #5, weston-simple-egl now runs fine. So it seems the impact of this need not be big.
(I'm not sure what happens server side: this is not testable because of #3.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant