diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-08-19 21:23:50 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-08-19 21:29:30 -0700 |
commit | 2b1cb59677a0124ae16749de5d4998a5c98fbba8 (patch) | |
tree | 48c9cf11d6d870dc0dc0613e6f52be5522d029e6 /include | |
parent | d75481ed7d89d7c83f61dd943462d2d93a2d824e (diff) |
include: Document some functions
Document waffle_make_current and waffle_get_proc_address.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/waffle/waffle_gl_misc.h | 2 | ||||
-rw-r--r-- | include/waffle/waffle_window.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/waffle/waffle_gl_misc.h b/include/waffle/waffle_gl_misc.h index 18cffd5..dd7ef3a 100644 --- a/include/waffle/waffle_gl_misc.h +++ b/include/waffle/waffle_gl_misc.h @@ -57,12 +57,14 @@ waffle_is_extension_in_string( const char *restrict extension_string, const char *restrict extension_name); +/// @brief Analogous to eglMakeCurrent. WAFFLE_API bool waffle_make_current( struct waffle_display *dpy, struct waffle_window *window, struct waffle_context *ctx); +/// @brief Analogous to eglGetProcAddress. WAFFLE_API void* waffle_get_proc_address(const char *name); diff --git a/include/waffle/waffle_window.h b/include/waffle/waffle_window.h index 6ee795b..ac82304 100644 --- a/include/waffle/waffle_window.h +++ b/include/waffle/waffle_window.h @@ -68,6 +68,7 @@ waffle_window_destroy(struct waffle_window *self); WAFFLE_API bool waffle_window_show(struct waffle_window *self); +/// @brief Analogous to eglSwapBuffers. WAFFLE_API bool waffle_window_swap_buffers(struct waffle_window *self); |