0
|
1 dynbind("EGL","
|
|
2 eglBindAPI(I)I;
|
|
3 eglBindTexImage(*v*vi)I;
|
|
4 eglChooseConfig(*v*i**vi*i)I;
|
|
5 eglCopyBuffers(*v*v*v)I;
|
|
6 eglCreateContext(*v*v*v*i)*v;
|
|
7 eglCreatePbufferFromClientBuffer(*vI*v*v*i)*v;
|
|
8 eglCreatePbufferSurface(*v*v*i)*v;
|
|
9 eglCreatePixmapSurface(*v*v*v*i)*v;
|
|
10 eglCreateWindowSurface(*v*vi*i)*v;
|
|
11 eglDestroyContext(*v*v)I;
|
|
12 eglDestroySurface(*v*v)I;
|
|
13 eglGetConfigAttrib(*v*vi*i)I;
|
|
14 eglGetConfigs(*v**vi*i)I;
|
|
15 eglGetCurrentContext()*v;
|
|
16 eglGetCurrentDisplay()*v;
|
|
17 eglGetCurrentSurface(i)*v;
|
|
18 eglGetDisplay(*v)*v;
|
|
19 eglGetError()i;
|
|
20 eglGetProcAddress(*c)*p;
|
|
21 eglInitialize(*v*i*i)I;
|
|
22 eglMakeCurrent(*v*v*v*v)I;
|
|
23 eglQueryAPI()I;
|
|
24 eglQueryContext(*v*vi*i)I;
|
|
25 eglQueryString(*vi)*c;
|
|
26 eglQuerySurface(*v*vi*i)I;
|
|
27 eglReleaseTexImage(*v*vi)I;
|
|
28 eglReleaseThread()I;
|
|
29 eglSurfaceAttrib(*v*vii)I;
|
|
30 eglSwapBuffers(*v*v)I;
|
|
31 eglSwapInterval(*vi)I;
|
|
32 eglTerminate(*v)I;
|
|
33 eglWaitClient()I;
|
|
34 eglWaitGL()I;
|
|
35 eglWaitNative(i)I;
|
|
36 ")
|
|
37 EGL_ALPHA_MASK_SIZE=0x303E
|
|
38 EGL_ALPHA_SIZE=0x3021
|
|
39 #EGLAPI=
|
|
40 #EGLAPIENTRY=
|
|
41 #EGLAPIENTRYP=EGLAPIENTRY *
|
|
42 EGL_BACK_BUFFER=0x3084
|
|
43 EGL_BAD_ACCESS=0x3002
|
|
44 EGL_BAD_ALLOC=0x3003
|
|
45 EGL_BAD_ATTRIBUTE=0x3004
|
|
46 EGL_BAD_CONFIG=0x3005
|
|
47 EGL_BAD_CONTEXT=0x3006
|
|
48 EGL_BAD_CURRENT_SURFACE=0x3007
|
|
49 EGL_BAD_DISPLAY=0x3008
|
|
50 EGL_BAD_MATCH=0x3009
|
|
51 EGL_BAD_NATIVE_PIXMAP=0x300A
|
|
52 EGL_BAD_NATIVE_WINDOW=0x300B
|
|
53 EGL_BAD_PARAMETER=0x300C
|
|
54 EGL_BAD_SURFACE=0x300D
|
|
55 EGL_BIND_TO_TEXTURE_RGB=0x3039
|
|
56 EGL_BIND_TO_TEXTURE_RGBA=0x303A
|
|
57 EGL_BLUE_SIZE=0x3022
|
|
58 EGL_BUFFER_DESTROYED=0x3095
|
|
59 EGL_BUFFER_PRESERVED=0x3094
|
|
60 EGL_BUFFER_SIZE=0x3020
|
|
61 EGL_CLIENT_APIS=0x308D
|
|
62 EGL_COLOR_BUFFER_TYPE=0x303F
|
|
63 EGL_CONFIG_CAVEAT=0x3027
|
|
64 EGL_CONFIG_ID=0x3028
|
|
65 EGL_CONFORMANT=0x3042
|
|
66 EGL_CONTEXT_CLIENT_TYPE=0x3097
|
|
67 EGL_CONTEXT_CLIENT_VERSION=0x3098
|
|
68 EGL_CONTEXT_LOST=0x300E
|
|
69 EGL_CORE_NATIVE_ENGINE=0x305B
|
|
70 #EGL_DEFAULT_DISPLAY=((EGLNativeDisplayType)0)
|
|
71 EGL_DEFAULT_DISPLAY=0
|
|
72 EGL_DEPTH_SIZE=0x3025
|
|
73 EGL_DISPLAY_SCALING=10000
|
|
74 #EGL_DONT_CARE=((EGLint)-1)
|
|
75 EGL_DONT_CARE=-1
|
|
76 EGL_DRAW=0x3059
|
|
77 EGL_EXTENSIONS=0x3055
|
|
78 EGL_FALSE=0
|
|
79 EGL_GREEN_SIZE=0x3023
|
|
80 EGL_HEIGHT=0x3056
|
|
81 EGL_HORIZONTAL_RESOLUTION=0x3090
|
|
82 EGL_LARGEST_PBUFFER=0x3058
|
|
83 EGL_LEVEL=0x3029
|
|
84 EGL_LUMINANCE_BUFFER=0x308F
|
|
85 EGL_LUMINANCE_SIZE=0x303D
|
|
86 EGL_MATCH_NATIVE_PIXMAP=0x3041
|
|
87 EGL_MAX_PBUFFER_HEIGHT=0x302A
|
|
88 EGL_MAX_PBUFFER_PIXELS=0x302B
|
|
89 EGL_MAX_PBUFFER_WIDTH=0x302C
|
|
90 EGL_MAX_SWAP_INTERVAL=0x303C
|
|
91 EGL_MIN_SWAP_INTERVAL=0x303B
|
|
92 EGL_MIPMAP_LEVEL=0x3083
|
|
93 EGL_MIPMAP_TEXTURE=0x3082
|
|
94 EGL_MULTISAMPLE_RESOLVE=0x3099
|
|
95 EGL_MULTISAMPLE_RESOLVE_BOX=0x309B
|
|
96 EGL_MULTISAMPLE_RESOLVE_BOX_BIT=0x0200
|
|
97 EGL_MULTISAMPLE_RESOLVE_DEFAULT=0x309A
|
|
98 EGL_NATIVE_RENDERABLE=0x302D
|
|
99 EGL_NATIVE_VISUAL_ID=0x302E
|
|
100 EGL_NATIVE_VISUAL_TYPE=0x302F
|
|
101 #EGL_NO_CONTEXT=((EGLContext)0)
|
|
102 #EGL_NO_DISPLAY=((EGLDisplay)0)
|
|
103 EGL_NO_CONTEXT=0
|
|
104 EGL_NO_DISPLAY=0
|
|
105 EGL_NON_CONFORMANT_CONFIG=0x3051
|
|
106 EGL_NONE=0x3038
|
|
107 #EGL_NO_SURFACE=((EGLSurface)0)
|
|
108 EGL_NO_SURFACE=0
|
|
109 EGL_NO_TEXTURE=0x305C
|
|
110 EGL_NOT_INITIALIZED=0x3001
|
|
111 EGL_OPENGL_API=0x30A2
|
|
112 EGL_OPENGL_BIT=0x0008
|
|
113 EGL_OPENGL_ES2_BIT=0x0004
|
|
114 EGL_OPENGL_ES_API=0x30A0
|
|
115 EGL_OPENGL_ES_BIT=0x0001
|
|
116 EGL_OPENVG_API=0x30A1
|
|
117 EGL_OPENVG_BIT=0x0002
|
|
118 EGL_OPENVG_IMAGE=0x3096
|
|
119 EGL_PBUFFER_BIT=0x0001
|
|
120 EGL_PIXEL_ASPECT_RATIO=0x3092
|
|
121 EGL_PIXMAP_BIT=0x0002
|
|
122 EGL_PRESERVED_RESOURCES=0x3030
|
|
123 EGL_READ=0x305A
|
|
124 EGL_RED_SIZE=0x3024
|
|
125 EGL_RENDERABLE_TYPE=0x3040
|
|
126 EGL_RENDER_BUFFER=0x3086
|
|
127 EGL_RGB_BUFFER=0x308E
|
|
128 EGL_SAMPLE_BUFFERS=0x3032
|
|
129 EGL_SAMPLES=0x3031
|
|
130 EGL_SINGLE_BUFFER=0x3085
|
|
131 EGL_SLOW_CONFIG=0x3050
|
|
132 EGL_STENCIL_SIZE=0x3026
|
|
133 EGL_SUCCESS=0x3000
|
|
134 EGL_SURFACE_TYPE=0x3033
|
|
135 EGL_SWAP_BEHAVIOR=0x3093
|
|
136 EGL_SWAP_BEHAVIOR_PRESERVED_BIT=0x0400
|
|
137 EGL_TEXTURE_2D=0x305F
|
|
138 EGL_TEXTURE_FORMAT=0x3080
|
|
139 EGL_TEXTURE_RGB=0x305D
|
|
140 EGL_TEXTURE_RGBA=0x305E
|
|
141 EGL_TEXTURE_TARGET=0x3081
|
|
142 EGL_TRANSPARENT_BLUE_VALUE=0x3035
|
|
143 EGL_TRANSPARENT_GREEN_VALUE=0x3036
|
|
144 EGL_TRANSPARENT_RED_VALUE=0x3037
|
|
145 EGL_TRANSPARENT_RGB=0x3052
|
|
146 EGL_TRANSPARENT_TYPE=0x3034
|
|
147 EGL_TRUE=1
|
|
148 #EGL_UNKNOWN=((EGLint)-1)
|
|
149 EGL_UNKNOWN=-1
|
|
150 EGL_VENDOR=0x3053
|
|
151 EGL_VERSION=0x3054
|
|
152 EGL_VERSION_1_0=1
|
|
153 EGL_VERSION_1_1=1
|
|
154 EGL_VERSION_1_2=1
|
|
155 EGL_VERSION_1_3=1
|
|
156 EGL_VERSION_1_4=1
|
|
157 EGL_VERTICAL_RESOLUTION=0x3091
|
|
158 EGL_VG_ALPHA_FORMAT=0x3088
|
|
159 EGL_VG_ALPHA_FORMAT_NONPRE=0x308B
|
|
160 EGL_VG_ALPHA_FORMAT_PRE=0x308C
|
|
161 EGL_VG_ALPHA_FORMAT_PRE_BIT=0x0040
|
|
162 EGL_VG_COLORSPACE=0x3087
|
|
163 EGL_VG_COLORSPACE_LINEAR=0x308A
|
|
164 EGL_VG_COLORSPACE_LINEAR_BIT=0x0020
|
|
165 EGL_VG_COLORSPACE_sRGB=0x3089
|
|
166 EGL_WIDTH=0x3057
|
|
167 EGL_WINDOW_BIT=0x0004
|
|
168 EGL_COLORSPACE=EGL_VG_COLORSPACE
|
|
169 EGL_COLORSPACE_LINEAR=EGL_VG_COLORSPACE_LINEAR
|
|
170 EGL_COLORSPACE_sRGB=EGL_VG_COLORSPACE_sRGB
|
|
171 EGL_ALPHA_FORMAT=EGL_VG_ALPHA_FORMAT
|
|
172 EGL_ALPHA_FORMAT_NONPRE=EGL_VG_ALPHA_FORMAT_NONPRE
|
|
173 EGL_ALPHA_FORMAT_PRE=EGL_VG_ALPHA_FORMAT_PRE
|