summaryrefslogtreecommitdiff
path: root/EGL/yagl_egl_calls.in
blob: 0bdbaf35b8cf4a77525644303d1a1e60d4fc484f (plain)
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
yagl_host_handle eglGetDisplay(uint32_t display_id, EGLint &error)
EGLBoolean eglInitialize(yagl_host_handle dpy, EGLint &major, EGLint &minor, EGLint &error)
EGLBoolean eglTerminate(yagl_host_handle dpy, EGLint &error)
EGLBoolean eglGetConfigs(yagl_host_handle dpy, yagl_host_handle *configs, EGLint &error)
EGLBoolean eglChooseConfig(yagl_host_handle dpy, const EGLint *attrib_list, yagl_host_handle *configs, EGLint &error)
EGLBoolean eglGetConfigAttrib(yagl_host_handle dpy, yagl_host_handle config, EGLint attribute, EGLint &value, EGLint &error)
EGLBoolean eglDestroySurface(yagl_host_handle dpy, yagl_host_handle surface, EGLint &error)
EGLBoolean eglQuerySurface(yagl_host_handle dpy, yagl_host_handle surface, EGLint attribute, EGLint &value, EGLint &error)
void eglBindAPI(EGLenum api)
@void eglWaitClient()
EGLBoolean eglReleaseThread(EGLint &error)
EGLBoolean eglSurfaceAttrib(yagl_host_handle dpy, yagl_host_handle surface, EGLint attribute, EGLint value, EGLint &error)
yagl_host_handle eglCreateContext(yagl_host_handle dpy, yagl_host_handle config, yagl_host_handle share_context, const EGLint *attrib_list, EGLint &error)
EGLBoolean eglDestroyContext(yagl_host_handle dpy, yagl_host_handle ctx, EGLint &error)
@void eglMakeCurrent(yagl_host_handle dpy, yagl_host_handle draw, yagl_host_handle read, yagl_host_handle ctx)
EGLBoolean eglQueryContext(yagl_host_handle dpy, yagl_host_handle ctx, EGLint attribute, EGLint &value, EGLint &error)
@void eglSwapBuffers(yagl_host_handle dpy, yagl_host_handle surface)
@void eglCopyBuffers(yagl_host_handle dpy, yagl_host_handle surface)

#
# YaGL Extensions
#

yagl_host_handle eglCreateWindowSurfaceOffscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, uint32_t width, uint32_t height, uint32_t bpp, void ^pixels, const EGLint *attrib_list, EGLint &error)
yagl_host_handle eglCreatePbufferSurfaceOffscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, uint32_t width, uint32_t height, uint32_t bpp, void ^pixels, const EGLint *attrib_list, EGLint &error)
yagl_host_handle eglCreatePixmapSurfaceOffscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, uint32_t width, uint32_t height, uint32_t bpp, void ^pixels, const EGLint *attrib_list, EGLint &error)
EGLBoolean eglResizeOffscreenSurfaceYAGL(yagl_host_handle dpy, yagl_host_handle surface, uint32_t width, uint32_t height, uint32_t bpp, void ^pixels, EGLint &error)

yagl_host_handle eglCreateWindowSurfaceOnscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, yagl_winsys_id win, const EGLint *attrib_list, EGLint &error)
yagl_host_handle eglCreatePbufferSurfaceOnscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, yagl_winsys_id buffer, const EGLint *attrib_list, EGLint &error)
yagl_host_handle eglCreatePixmapSurfaceOnscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, yagl_winsys_id pixmap, const EGLint *attrib_list, EGLint &error)
@void eglInvalidateOnscreenSurfaceYAGL(yagl_host_handle dpy, yagl_host_handle surface, yagl_winsys_id buffer)

EGLBoolean eglCreateImageYAGL(uint32_t texture, yagl_host_handle dpy, yagl_winsys_id buffer, EGLint &error)