Path: blob/21.2-virgl/src/egl/main/egldispatchstubs.h
4560 views
#ifndef EGLDISPATCHSTUBS_H1#define EGLDISPATCHSTUBS_H23#include "glvnd/libeglabi.h"45// These variables are all generated along with the dispatch stubs.6extern const int __EGL_DISPATCH_FUNC_COUNT;7extern const char * const __EGL_DISPATCH_FUNC_NAMES[];8extern int __EGL_DISPATCH_FUNC_INDICES[];9extern const __eglMustCastToProperFunctionPointerType __EGL_DISPATCH_FUNCS[];1011void __eglInitDispatchStubs(const __EGLapiExports *exportsTable);12void __eglSetDispatchIndex(const char *name, int index);1314/**15* Returns the dispatch function for the given name, or \c NULL if the function16* isn't supported.17*/18void *__eglDispatchFindDispatchFunction(const char *name);1920// Helper functions used by the generated stubs.21__eglMustCastToProperFunctionPointerType __eglDispatchFetchByDisplay(EGLDisplay dpy, int index);22__eglMustCastToProperFunctionPointerType __eglDispatchFetchByDevice(EGLDeviceEXT dpy, int index);23__eglMustCastToProperFunctionPointerType __eglDispatchFetchByCurrent(int index);2425#endif // EGLDISPATCHSTUBS_H262728