_eglCreateArray(const char *name, EGLint init_size);
-PUBLIC void
+extern void
_eglDestroyArray(_EGLArray *array, void (*free_cb)(void *));
_eglFindArray(_EGLArray *array, void *elem);
-PUBLIC EGLint
+extern EGLint
_eglFilterArray(_EGLArray *array, void **data, EGLint size,
_EGLArrayForEach filter, void *filter_data);
*
* Note that we just save the ptr to the config (we don't copy the config).
*/
-PUBLIC EGLConfig
+EGLConfig
_eglLinkConfig(_EGLConfig *conf)
{
_EGLDisplay *dpy = conf->Display;
}
-PUBLIC void
+extern void
_eglInitConfig(_EGLConfig *config, _EGLDisplay *dpy, EGLint id);
-PUBLIC EGLConfig
+extern EGLConfig
_eglLinkConfig(_EGLConfig *conf);
}
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglParseConfigAttribList(_EGLConfig *conf, _EGLDisplay *dpy,
const EGLint *attrib_list);
-PUBLIC EGLint
+extern EGLint
_eglCompareConfigs(const _EGLConfig *conf1, const _EGLConfig *conf2,
const _EGLConfig *criteria, EGLBoolean compare_id);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglFilterConfigArray(_EGLArray *array, EGLConfig *configs,
EGLint config_size, EGLint *num_configs,
EGLBoolean (*match)(const _EGLConfig *, void *),
};
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy,
_EGLConfig *config, const EGLint *attrib_list);
_eglQueryContext(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, EGLint attribute, EGLint *value);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read,
_EGLContext **old_ctx,
_EGLSurface **old_draw, _EGLSurface **old_read);
/**
* Return the currently bound context of the given API, or NULL.
*/
-PUBLIC _EGLContext *
+_EGLContext *
_eglGetAPIContext(EGLenum api)
{
_EGLThreadInfo *t = _eglGetCurrentThread();
}
-PUBLIC _EGLThreadInfo *
+extern _EGLThreadInfo *
_eglGetCurrentThread(void);
_eglIsCurrentThreadDummy(void);
-PUBLIC _EGLContext *
+extern _EGLContext *
_eglGetAPIContext(EGLenum api);
-PUBLIC _EGLContext *
+extern _EGLContext *
_eglGetCurrentContext(void);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglError(EGLint errCode, const char *msg);
_eglFindDisplay(_EGLPlatformType plat, void *plat_dpy);
-PUBLIC void
+extern void
_eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy);
-PUBLIC void
+extern void
_eglCleanupDisplay(_EGLDisplay *disp);
_eglCheckDisplayHandle(EGLDisplay dpy);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy);
_eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy);
-PUBLIC void
+extern void
_eglGetResource(_EGLResource *res);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglPutResource(_EGLResource *res);
_eglBuiltInDriverGLX(const char *args);
-PUBLIC _EGLDriver *
+extern _EGLDriver *
_eglMain(const char *args);
/* defined in eglfallbacks.c */
-PUBLIC void
+extern void
_eglInitDriverFallbacks(_EGLDriver *drv);
-PUBLIC void
+extern void
_eglSearchPathForEach(EGLBoolean (*callback)(const char *, size_t, void *),
void *callback_data);
};
-PUBLIC EGLint
+extern EGLint
_eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy,
const EGLint *attrib_list);
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglInitImage(_EGLImage *img, _EGLDisplay *dpy);
typedef void (*_EGLLogProc)(EGLint level, const char *msg);
-PUBLIC void
+extern void
_eglSetLogProc(_EGLLogProc logger);
-PUBLIC void
+extern void
_eglSetLogLevel(EGLint level);
-PUBLIC void
+extern void
_eglLog(EGLint level, const char *fmtStr, ...);
};
-PUBLIC void
+extern void
_eglInitScreen(_EGLScreen *screen, _EGLDisplay *dpy, EGLint num_modes);
-PUBLIC EGLScreenMESA
+extern EGLScreenMESA
_eglLinkScreen(_EGLScreen *screen);
};
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type,
_EGLConfig *config, const EGLint *attrib_list);
_eglSurfaceAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint value);
-PUBLIC extern EGLBoolean
+extern EGLBoolean
_eglBindTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer);
-PUBLIC extern EGLBoolean
+extern EGLBoolean
_eglReleaseTexImage(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
};
-PUBLIC EGLBoolean
+extern EGLBoolean
_eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type,
const EGLint *attrib_list);