-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathegl.js
65 lines (63 loc) · 1.7 KB
/
egl.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
const {
e
} = require('./api');
e.EGL_ALPHA_SIZE = 0x3021;
e.EGL_BAD_ACCESS = 0x3002;
e.EGL_BAD_ALLOC = 0x3003;
e.EGL_BAD_ATTRIBUTE = 0x3004;
e.EGL_BAD_CONFIG = 0x3005;
e.EGL_BAD_CONTEXT = 0x3006;
e.EGL_BAD_CURRENT_SURFACE = 0x3007;
e.EGL_BAD_DISPLAY = 0x3008;
e.EGL_BAD_MATCH = 0x3009;
e.EGL_BAD_NATIVE_PIXMAP = 0x300A;
e.EGL_BAD_NATIVE_WINDOW = 0x300B;
e.EGL_BAD_PARAMETER = 0x300C;
e.EGL_BAD_SURFACE = 0x300D;
e.EGL_BLUE_SIZE = 0x3022;
e.EGL_BUFFER_SIZE = 0x3020;
e.EGL_CONFIG_CAVEAT = 0x3027;
e.EGL_CONFIG_ID = 0x3028;
e.EGL_CORE_NATIVE_ENGINE = 0x305B;
e.EGL_DEPTH_SIZE = 0x3025;
e.EGL_DONT_CARE = -1;
e.EGL_DRAW = 0x3059;
e.EGL_EXTENSIONS = 0x3055;
e.EGL_FALSE = 0;
e.EGL_GREEN_SIZE = 0x3023;
e.EGL_HEIGHT = 0x3056;
e.EGL_LARGEST_PBUFFER = 0x3058;
e.EGL_LEVEL = 0x3029;
e.EGL_MAX_PBUFFER_HEIGHT = 0x302A;
e.EGL_MAX_PBUFFER_PIXELS = 0x302B;
e.EGL_MAX_PBUFFER_WIDTH = 0x302C;
e.EGL_NATIVE_RENDERABLE = 0x302D;
e.EGL_NATIVE_VISUAL_ID = 0x302E;
e.EGL_NATIVE_VISUAL_TYPE = 0x302F;
e.EGL_NONE = 0x3038;
e.EGL_NON_CONFORMANT_CONFIG = 0x3051;
e.EGL_NOT_INITIALIZED = 0x3001;
e.EGL_NO_CONTEXT = 0;
e.EGL_NO_DISPLAY = 0;
e.EGL_NO_SURFACE = 0;
e.EGL_PBUFFER_BIT = 0x0001;
e.EGL_PIXMAP_BIT = 0x0002;
e.EGL_READ = 0x305A;
e.EGL_RED_SIZE = 0x3024;
e.EGL_SAMPLES = 0x3031;
e.EGL_SAMPLE_BUFFERS = 0x3032;
e.EGL_SLOW_CONFIG = 0x3050;
e.EGL_STENCIL_SIZE = 0x3026;
e.EGL_SUCCESS = 0x3000;
e.EGL_SURFACE_TYPE = 0x3033;
e.EGL_TRANSPARENT_BLUE_VALUE = 0x3035;
e.EGL_TRANSPARENT_GREEN_VALUE = 0x3036;
e.EGL_TRANSPARENT_RED_VALUE = 0x3037;
e.EGL_TRANSPARENT_RGB = 0x3052;
e.EGL_TRANSPARENT_TYPE = 0x3034;
e.EGL_TRUE = 1;
e.EGL_VENDOR = 0x3053;
e.EGL_VERSION = 0x3054;
e.EGL_WIDTH = 0x3057;
e.EGL_WINDOW_BIT = 0x0004;
/* TODO: Bruh the file is too big */