John Dallman
2018-07-02 09:41:24 UTC
I'm porting a large math library and its test harness to Android. Most of
this looks reasonably straightforward, but the test harness has debugging
graphics. In the UNIX implementation of the test harness, this is done by
opening an X11 graphics window on the developer's display, and displaying
the debugging graphics in that.
The obvious parallel is to use ES GL graphics on the device display.
However, since the test harness will only ever be used with the device
plugged into a Linux development host (Yes, I really am quite sure of that,
I'm porting a library, *not* developing an application), I could save some
work by using X11 and addressing the developer's display.
However, that requires X11 headers and libraries for the device side, and
the ability to pass the X11 wire protocol over the USB link back to the
Linux development host. Do either of these things exist?
I've found X11 servers for Android in the Play Store, but they are
different: they provide the ability to use an Android device as an X
terminal. X nomenclature is backwards to most systems: the thing that runs
the screen is a server, which runs on a terminal, and the program that
sends graphics commands to the server is a client.
Thanks,
John
this looks reasonably straightforward, but the test harness has debugging
graphics. In the UNIX implementation of the test harness, this is done by
opening an X11 graphics window on the developer's display, and displaying
the debugging graphics in that.
The obvious parallel is to use ES GL graphics on the device display.
However, since the test harness will only ever be used with the device
plugged into a Linux development host (Yes, I really am quite sure of that,
I'm porting a library, *not* developing an application), I could save some
work by using X11 and addressing the developer's display.
However, that requires X11 headers and libraries for the device side, and
the ability to pass the X11 wire protocol over the USB link back to the
Linux development host. Do either of these things exist?
I've found X11 servers for Android in the Play Store, but they are
different: they provide the ability to use an Android device as an X
terminal. X nomenclature is backwards to most systems: the thing that runs
the screen is a server, which runs on a terminal, and the program that
sends graphics commands to the server is a client.
Thanks,
John
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqg%3D0vnYvBA0amxcg3G_8Envb5-rE4OtM2LXV%2BSEz4KQ%2BbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqg%3D0vnYvBA0amxcg3G_8Envb5-rE4OtM2LXV%2BSEz4KQ%2BbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.