AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
render_api.h
Go to the documentation of this file.
1 
5 #ifndef __RENDER_API_H__
6 #define __RENDER_API_H__
7 
8 #define STREAM_MODE_TCP 1
9 
10 /* our custom functions */
12 float AiC_CallbackRotation(void (*fn)(float));
13 
15 void AiC_setDPI(int dpi);
16 
17 /* sdk/emulator/opengl/host/libs/libOpenglRender/render_api.cpp */
18 
20 int initLibrary(void);
22 int setStreamMode(int mode);
24 int initOpenGLRenderer(int width, int height, char* addr, size_t addrLen);
25 
27 int createOpenGLSubwindow(void* window, int x, int y, int width, int height, float zRot);
29 int destroyOpenGLSubwindow(void);
31 void repaintOpenGLDisplay(void);
33 void setOpenGLDisplayRotation(float zRot);
34 
35 #endif
int initOpenGLRenderer(int width, int height, char *addr, size_t addrLen)
int createOpenGLSubwindow(void *window, int x, int y, int width, int height, float zRot)
void repaintOpenGLDisplay(void)
void AiC_setDPI(int dpi)
int destroyOpenGLSubwindow(void)
float AiC_CallbackRotation(void(*fn)(float))
int setStreamMode(int mode)
void setOpenGLDisplayRotation(float zRot)
int initLibrary(void)