- Build Server app using Android Studio with NDK installed.
- Install server APK.
cd /path/to/android-gl-streaming/gl_client
# Make the client
make
# Install gl-streaming client
make install
# Copy GL4ES into (optional)
cp /path/to/gl4es/lib/libGL.so.1 /usr/local/lib/gl-streaming
# Override system libGLESv2.so.2, libEGL.so.1 and libGL.so.1
export LD_LIBRARY_PATH=/usr/local/lib/gl-streaming:$LD_LIBRARY_PATH
- Do as title: Launch server.
- Enter server port and client address, or leave empty for default values.
- Test: run
es2_info, es2gears, es2tri, glxinfo, glxgears, glxdemo or glxheads
- Run an program requires OpenGL or OpenGL ES (many: Xvfb, x-window-manager, etc...).
- Enable debug log write to
/sdard/mthr_log.txt
. - Disabled by default.
- Enable support for X11 apps.
- Enabled by default.
- Sample side doesn't use X11 so not enabled.
- Use server window size instead of X Window size.
- Disabled by default.
- This is enabled if USE_X11 is not enabled.
- May useful for fixing draw size bugs.
- Try to emulate client arrays with VBO.
- Enabled by default.
- This is experimental, disable may make:
es2tri
or some programs show blank screen.glxheads
show a rotating triange around surface instead of middle.glxgears
jump to invalid address and segmentation fault.
- Nothing yet.
- Log executing/flushing command to the console. Disabled by default.
- 0: Disable command logging (default).
- 1: Enable command logging.
- Set server IP address and port.
- Default value:
127.0.0.1:18145
.