]> git.tdb.fi Git - gldbg.git/blob - egl.spec
44efdf852cbf023b1f35980b3815a8c24e98b34a
[gldbg.git] / egl.spec
1 GetError()
2         return          EGLenumHack
3
4 GetDisplay(display_id)
5         return          Display
6         param           display_id      NativeDisplayType in value
7
8 Initialize(dpy, major, minor)
9         return          Boolean
10         param           dpy             Display in value
11         param           major           int out array [1]
12         param           minor           int out array [1]
13
14 Terminate(dpy)
15         return          Boolean
16         param           dpy             Display in value
17
18 QueryString(dpy, name)
19         return          string
20         param           dpy             Display in value
21         param           name            EGLenumHack in value
22
23 GetConfigs(dpy, configs, config_size, num_config)
24         return          Boolean
25         param           dpy             Display in value
26         param           configs         Config out array [num_config]
27         param           config_size     int in value
28         param           num_config      int out array [1]
29
30 ChooseConfig(dpy, attrib_list, configs, config_size, num_config)
31         return          Boolean
32         param           dpy             Display in value
33         param           attrib_list     EGLenumHack in array
34         param           configs         Config out array [num_config]
35         param           config_size     int in value
36         param           num_config      int out array [1]
37
38 GetConfigAttrib(dpy, config, attribute, value)
39         return          Boolean
40         param           dpy             Display in value
41         param           config          Config in value
42         param           attribute       EGLenumHack in value
43         param           value           int out array [1]
44
45 CreateWindowSurface(dpy, config, win, attrib_list)
46         return          Surface
47         param           dpy             Display in value
48         param           config          Config in value
49         param           win             NativeWindowType in value
50         param           attrib_list     EGLenumHack in array
51
52 CreatePbufferSurface(dpy, config, attrib_list)
53         return          Surface
54         param           dpy             Display in value
55         param           config          Config in value
56         param           attrib_list     EGLenumHack in array
57
58 CreatePixmapSurface(dpy, config, pixmap, attrib_list)
59         return          Surface
60         param           dpy             Display in value
61         param           config          Config in value
62         param           pixmap          NativePixmapType in value
63         param           attrib_list     EGLenumHack in array
64
65 DestroySurface(dpy, surface)
66         return          Boolean
67         param           dpy             Display in value
68         param           surface         Surface in value
69
70 QuerySurface(dpy, surface, attribute, value)
71         return          Boolean
72         param           dpy             Display in value
73         param           surface         Surface in value
74         param           attribute       EGLenumHack in value
75         param           value           int out array [1]
76
77 BindAPI(api)
78         return          Boolean
79         param           api             EGLenum in value
80
81 QueryAPI()
82         return          EGLenum
83
84 WaitClient()
85         return          Boolean
86
87 ReleaseThread()
88         return          Boolean
89
90 CreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list)
91         return          Surface
92         param           dpy             Display in value
93         param           buftype         EGLenum in value
94         param           buffer          ClientBuffer in value
95         param           config          Config in value
96         param           attrib_list     EGLenumHack in array
97
98 SurfaceAttrib(dpy, surface, attribute, value)
99         return          Boolean
100         param           dpy             Display in value
101         param           surface         Surface in value
102         param           attribute       int in value
103         param           value           EGLenumHack in value
104
105 BindTexImage(dpy, surface, buffer)
106         return          Boolean
107         param           dpy             Display in value
108         param           surface         Surface in value
109         param           buffer          int in value
110
111 ReleaseTexImage(dpy, surface, buffer)
112         return          Boolean
113         param           dpy             Display in value
114         param           surface         Surface in value
115         param           buffer          int in value
116
117 SwapInterval(dpy, interval)
118         return          Boolean
119         param           dpy             Display in value
120         param           interval        int in value
121
122 CreateContext(dpy, config, share_context, attrib_list)
123         return          Context
124         param           dpy             Display in value
125         param           config          Config in value
126         param           share_context   Context in value
127         param           attrib_list     EGLenumHack in array
128
129 DestroyContext(dpy, ctx)
130         return          Boolean
131         param           dpy             Display in value
132         param           ctx             Context in value
133
134 MakeCurrent(dpy, draw, read, ctx)
135         return          Boolean
136         param           dpy             Display in value
137         param           draw            Surface in value
138         param           read            Surface in value
139         param           ctx             Context in value
140
141 GetCurrentContext()
142         return          Context
143
144 GetCurrentSurface(readdraw)
145         return          Surface
146         param           readdraw        EGLenumHack in value
147
148 GetCurrentDisplay()
149         return          Display
150
151 QueryContext(dpy, ctx, attribute, value)
152         return          Boolean
153         param           dpy             Display in value
154         param           ctx             Context in value
155         param           attribute       EGLenumHack in value
156         param           value           int out array [1]
157
158 WaitGL()
159         return          Boolean
160
161 WaitNative(engine)
162         return          Boolean
163         param           engine          EGLenumHack in value
164
165 SwapBuffers(dpy, surface)
166         return          Boolean
167         param           dpy             Display in value
168         param           surface         Surface in value
169
170 CopyBuffers(dpy, surface, target)
171         return          Boolean
172         param           dpy             Display in value
173         param           surface         Surface in value
174         param           target          NativePixmapType in value
175
176 GetProcAddress(procname)
177         return          FuncPtr
178         param           procname        string in value