Man page - waffle_dl_sym(3)
Packages contas this manual
- waffle_x11_egl(3)
- waffle_native_context(3)
- waffle_wayland_config(3)
- waffle_x11_egl_context(3)
- waffle_error_get_info(3)
- waffle_dl_sym(3)
- waffle_glx_window(3)
- waffle_display_connect(3)
- waffle_error_get_code(3)
- waffle_attrib_list_length(3)
- waffle_get_proc_address(3)
- waffle_wayland(3)
- waffle_gbm_config(3)
- waffle_enum(3)
- waffle_dl(3)
- waffle(7)
- waffle_window_destroy(3)
- waffle_context_get_native(3)
- waffle_glx_config(3)
- waffle_x11_egl_window(3)
- waffle_native_display(3)
- waffle_error(3)
- waffle_attrib_list_get_with_default(3)
- waffle_enum_to_string(3)
- waffle_display_get_native(3)
- waffle_teardown(3)
- waffle_wayland_display(3)
- waffle_gbm_window(3)
- waffle_config_choose(3)
- waffle_native_config(3)
- waffle_glx_context(3)
- waffle_window_create(3)
- waffle_wayland_window(3)
- waffle_display_disconnect(3)
- waffle_get_current_display(3)
- waffle_window_show(3)
- waffle_gbm_context(3)
- waffle_feature_test_macros(7)
- waffle_context(3)
- waffle_gbm(3)
- waffle_dl_can_open(3)
- waffle_x11_egl_display(3)
- waffle_window_swap_buffers(3)
- waffle_make_current(3)
- waffle_context_create(3)
- waffle_native(3)
- waffle_display(3)
- waffle_attrib_list(3)
- waffle_attrib_list_update(3)
- waffle_error_to_string(3)
- waffle_window(3)
- waffle_display_supports_context_api(3)
- waffle_wayland_context(3)
- waffle_config(3)
- waffle_is_extension_in_string(3)
- waffle_context_destroy(3)
- waffle_attrib_list_get(3)
- waffle_config_destroy(3)
- waffle_x11_egl_config(3)
- waffle_window_get_native(3)
- waffle_glx_display(3)
- waffle_config_get_native(3)
- waffle_glx(3)
- waffle_gbm_display(3)
- waffle_native_window(3)
- waffle_init(3)
- waffle_get_current_context(3)
- waffle_get_current_window(3)
apt-get install libwaffle-doc
Manual
| WAFFLE_DL(3) | Waffle Manual | WAFFLE_DL(3) |
NAME
waffle_dl, waffle_dl_can_open, waffle_dl_sym - platform-independent interface to dynamic libraries
SYNOPSIS
#include <waffle.h>
bool waffle_dl_can_open(int32_t dl);
void* waffle_dl_sym(int32_t dl, const char* symbol);
DESCRIPTION
The waffle_dl functions provide a platform-independent interface for dynamic OpenGL libraries. For each function, the parameter dl must be one of:
For example, on Linux, the WAFFLE_DL_* enums map to libGL.so.1, libGLESv1_CM.so.1, libGLESv2.so.2, and libGLESv2.so.2, respectively.
waffle_dl_can_open()
waffle_dl_sym()
RETURN VALUE
Functions whose return type is bool return true on success and false on failure. Functions whose return type is a pointer return NULL on failure. Use waffle_error_get_info(3) to get information about any errors.
ERRORS
If waffle fails to find the requested library on the system, then WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM is emitted.
See waffle_error(3) for the complete list of waffle's error codes.
ISSUES
Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.
SEE ALSO
waffle(7), waffle_get_proc_address(3)
AUTHOR
Chad Versace <chad.versace@linux.intel.com>
COPYRIGHT
Copyright © 2013 Intel
This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
| 08/09/2024 | waffle |