AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
#include <errno.h>
#include <pthread.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>
#include "socket.h"
#include "logger.h"
#include "host_gl.h"
Go to the source code of this file.
Macros | |
#define | LOG_TAG "gl" |
Functions | |
int | manage_socket_gl (void *arg) |
Manage the remote OpenGL to the VM. More... | |
int manage_socket_gl | ( | void * | arg | ) |
Manage the remote OpenGL to the VM.
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.