diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-12 17:53:54 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-15 16:22:52 -0700 |
commit | 4581f7057809314c78e17f846890a2d64c22d575 (patch) | |
tree | 37edf0ef46d59a190a7ad0fcdce013d1374daa44 /src/gallium/state_trackers/egl/egl_tracker.c | |
parent | abefd7dcdf28c90454b59faaf9401fa6e6c6f526 (diff) |
st/egl: add some basic comments
Diffstat (limited to 'src/gallium/state_trackers/egl/egl_tracker.c')
-rw-r--r-- | src/gallium/state_trackers/egl/egl_tracker.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/egl_tracker.c b/src/gallium/state_trackers/egl/egl_tracker.c index 8d29bf490b..5811c20f03 100644 --- a/src/gallium/state_trackers/egl/egl_tracker.c +++ b/src/gallium/state_trackers/egl/egl_tracker.c @@ -22,6 +22,8 @@ void* driDriverAPI; * Exported functions */ +/** Called by libEGL just prior to unloading/closing the driver. + */ static void drm_unload(_EGLDriver *drv) { @@ -31,6 +33,8 @@ drm_unload(_EGLDriver *drv) /** * The bootstrap function. Return a new drm_driver object and * plug in API functions. + * libEGL finds this function with dlopen()/dlsym() and calls it from + * "load driver" function. */ _EGLDriver * _eglMain(const char *args) |