AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions
host_gl.c File Reference
#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"
Include dependency graph for host_gl.c:

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...
 

Macro Definition Documentation

#define LOG_TAG   "gl"

Definition at line 16 of file host_gl.c.

Function Documentation

int manage_socket_gl ( void *  arg)

Manage the remote OpenGL to the VM.

Parameters
argVirtual 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.

Here is the call graph for this function:

Here is the caller graph for this function: