OpenGL proxy management.
More...
Go to the source code of this file.
OpenGL proxy management.
Definition in file host_gl.h.
#define BUFF_SIZE (4 * 1024 * 1024) |
Max size of opengl reads.
Definition at line 23 of file host_gl.h.
Port used for initial communication.
Definition at line 9 of file host_gl.h.
#define OPENGL_DATA_PORT 22468 |
Port used for OpenGL marshalling transfer.
Definition at line 11 of file host_gl.h.
Command sent by the VM to check if we’re still alive.
Definition at line 28 of file host_gl.h.
Reply to make tell the VM we’re still alive.
Definition at line 30 of file host_gl.h.
#define OPENGL_START_COMMAND 1001 |
Command sent to initiate the remote graphics exchange.
Definition at line 26 of file host_gl.h.
int manage_socket_gl |
( |
void * |
arg | ) |
|
Manage the remote OpenGL to the VM.
- Parameters
-
arg | Virtual Machine IP (char*) |
It first contacts the VM on port MAIN_PORT to establish a connection to make sure everything is ready on the VM side, then loops using the remote OpenGL protocol from AOSP on the DATA_PORT, with proxies on both ends in order to listen() on the VM side and not on the Player side.
Definition at line 128 of file host_gl.c.