forked from artdeell/gl-streaming
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathutils.h
More file actions
37 lines (28 loc) · 762 Bytes
/
Copy pathutils.h
File metadata and controls
37 lines (28 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifdef __ANDROID__
#include <android/native_window.h>
#include <android/native_window_jni.h>
jstring jstrclient_addr;
ANativeWindow* glsurfaceview_window;
#endif // __ANDROID__
#ifdef USE_X11
#include <X11/Xlib.h>
#include <X11/Xutil.h>
static Display *xDisplay;
static int xScreenId;
#if defined(GLS_SERVER) || !defined(USE_SERVER_SIZE)
static Window xWindow;
#endif // GLS_SERVER || !USE_SERVER_SIZE
#endif // USE_X11
#ifdef GLS_SERVER
static int glsurfaceview_width;
static int glsurfaceview_height;
static int var_server_port;
static int var_client_port;
const char* var_client_addr;
/*
const char* var_path_shadercache;
const char* var_file_fragment_shader;
const char* var_file_vertex_shader;
*/
// JNIEnv* glmain_jnienv;
#endif // GLS_SERVER