-
Notifications
You must be signed in to change notification settings - Fork 37
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
implement a way to start android's surfaceflinger on glibc based systems #49
Conversation
if surfaceflinger is to be executed, gl and egl functions are currently not hooked. this patch hooks gl and egl functions from the android driver so's to our gl and egl libs.
gl and egl libs from bionic tls to pthread tls, because bionic tls is broken for some reason. without this patch we get a segfault if we execute functions from these libraries.
Does it really work? |
(merge conflicts) |
hi @kika123 |
no problem, apkenv works with X11 ( github.com/mittorn/apkenv/tree/linux-x11) |
@kika123 no i ment something different, surfaceflinger should render into an x11 window which is not implemented in the pr currently |
what are the mods needed for that? |
i have a quick and dirty patch for this: https://bpaste.net/show/a8679bd30dd8 but as i said it currently results in a black window |
I think you should start an app after surfaceflinger and Android services |
yes i have tried starting bootanimation but no luck yet |
Did you try the classic linux-x11 branch? |
Android on the Raspberry Pi is sort of impossible but I got X11-EGL working with the BCM driver(modified, but it is FOSS, had to add some EGL extensions) |
I guess we still keep this open for now? Would need a rebase, too. |
i think we can close it, i don't think this is ever gonna be useful |
[+1] it will never be useful. |
does not work properly yet, crashes somewhere during initialization, also i still need to figure out if it is possible to get it to render into an x11/wayland/? window, i think it should be possible by passing our window handle to the drivers eglInitialize/eglGetDisplay method call
i am merely creating a pull request for this so other people can see it and maybe help me out :)