Linux Manuals session 3

Section 3: library functions

  • |

    waffle_dl_can_open (3) Linux Manual Page

    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: WAFFLE_DL_OPENGL WAFFLE_DL_OPENGL_ES1 WAFFLE_DL_OPENGL_ES2 WAFFLE_DL_OPENGL_ES3 For example, on Linux, the WAFFLE_DL_* enums map…

  • |

    waffle_dl (3) Linux Manual Page

    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: WAFFLE_DL_OPENGL WAFFLE_DL_OPENGL_ES1 WAFFLE_DL_OPENGL_ES2 WAFFLE_DL_OPENGL_ES3 For example, on Linux, the WAFFLE_DL_* enums map…

  • |

    waffle_display_supports_context_api (3) Linux Manual Page

    waffle_display, waffle_display_connect, waffle_display_disconnect, waffle_display_supports_context_api, waffle_display_get_native – class waffle_display Synopsis #include <waffle.h> struct waffle_display; struct waffle_display *waffle_display_connect(const char *name); bool waffle_display_disconnect(struct waffle_display *self); bool waffle_display_supports_context_api(struct waffle_display *self, int32_t context_api); union waffle_native_display *waffle_display_get_native(struct waffle_display *self); Description struct waffle_display An opaque type. waffle_display_connect() Connect to a display. The interpretation of name differs according to the platform given to…

  • |

    waffle_display_get_native (3) Linux Manual Page

    waffle_display, waffle_display_connect, waffle_display_disconnect, waffle_display_supports_context_api, waffle_display_get_native – class waffle_display Synopsis #include <waffle.h> struct waffle_display; struct waffle_display *waffle_display_connect(const char *name); bool waffle_display_disconnect(struct waffle_display *self); bool waffle_display_supports_context_api(struct waffle_display *self, int32_t context_api); union waffle_native_display *waffle_display_get_native(struct waffle_display *self); Description struct waffle_display An opaque type. waffle_display_connect() Connect to a display. The interpretation of name differs according to the platform given to…

  • |

    waffle_display_disconnect (3) Linux Manual Page

    waffle_display, waffle_display_connect, waffle_display_disconnect, waffle_display_supports_context_api, waffle_display_get_native – class waffle_display Synopsis #include <waffle.h> struct waffle_display; struct waffle_display *waffle_display_connect(const char *name); bool waffle_display_disconnect(struct waffle_display *self); bool waffle_display_supports_context_api(struct waffle_display *self, int32_t context_api); union waffle_native_display *waffle_display_get_native(struct waffle_display *self); Description struct waffle_display An opaque type. waffle_display_connect() Connect to a display. The interpretation of name differs according to the platform given to…

  • |

    waffle_display_connect (3) Linux Manual Page

    waffle_display, waffle_display_connect, waffle_display_disconnect, waffle_display_supports_context_api, waffle_display_get_native – class waffle_display Synopsis #include <waffle.h> struct waffle_display; struct waffle_display *waffle_display_connect(const char *name); bool waffle_display_disconnect(struct waffle_display *self); bool waffle_display_supports_context_api(struct waffle_display *self, int32_t context_api); union waffle_native_display *waffle_display_get_native(struct waffle_display *self); Description struct waffle_display An opaque type. waffle_display_connect() Connect to a display. The interpretation of name differs according to the platform given to…

  • |

    waffle_display (3) Linux Manual Page

    waffle_display, waffle_display_connect, waffle_display_disconnect, waffle_display_supports_context_api, waffle_display_get_native – class waffle_display Synopsis #include <waffle.h> struct waffle_display; struct waffle_display *waffle_display_connect(const char *name); bool waffle_display_disconnect(struct waffle_display *self); bool waffle_display_supports_context_api(struct waffle_display *self, int32_t context_api); union waffle_native_display *waffle_display_get_native(struct waffle_display *self); Description struct waffle_display An opaque type. waffle_display_connect() Connect to a display. The interpretation of name differs according to the platform given to…

  • |

    waffle_context_get_native (3) Linux Manual Page

    waffle_context, waffle_context_create, waffle_context_destroy, waffle_context_get_native – class waffle_context Synopsis #include <waffle.h> struct waffle_context; struct waffle_context *waffle_context_create(struct waffle_config *config, struct waffle_context *shared_ctx); bool waffle_context_destroy(struct waffle_context *self); union waffle_native_context *waffle_context_get_native(struct waffle_context *self); Description struct waffle_context An opaque type. waffle_context_create() Create a context for OpenGL rendering with the properties specified by config. The returned context’s actual properties may differ…

  • |

    waffle_context_destroy (3) Linux Manual Page

    waffle_context, waffle_context_create, waffle_context_destroy, waffle_context_get_native – class waffle_context Synopsis #include <waffle.h> struct waffle_context; struct waffle_context *waffle_context_create(struct waffle_config *config, struct waffle_context *shared_ctx); bool waffle_context_destroy(struct waffle_context *self); union waffle_native_context *waffle_context_get_native(struct waffle_context *self); Description struct waffle_context An opaque type. waffle_context_create() Create a context for OpenGL rendering with the properties specified by config. The returned context’s actual properties may differ…

  • |

    waffle_context_create (3) Linux Manual Page

    waffle_context, waffle_context_create, waffle_context_destroy, waffle_context_get_native – class waffle_context Synopsis #include <waffle.h> struct waffle_context; struct waffle_context *waffle_context_create(struct waffle_config *config, struct waffle_context *shared_ctx); bool waffle_context_destroy(struct waffle_context *self); union waffle_native_context *waffle_context_get_native(struct waffle_context *self); Description struct waffle_context An opaque type. waffle_context_create() Create a context for OpenGL rendering with the properties specified by config. The returned context’s actual properties may differ…

  • |

    waffle_context (3) Linux Manual Page

    waffle_context, waffle_context_create, waffle_context_destroy, waffle_context_get_native – class waffle_context Synopsis #include <waffle.h> struct waffle_context; struct waffle_context *waffle_context_create(struct waffle_config *config, struct waffle_context *shared_ctx); bool waffle_context_destroy(struct waffle_context *self); union waffle_native_context *waffle_context_get_native(struct waffle_context *self); Description struct waffle_context An opaque type. waffle_context_create() Create a context for OpenGL rendering with the properties specified by config. The returned context’s actual properties may differ…

  • |

    waffle_config_get_native (3) Linux Manual Page

    waffle_config, waffle_config_choose, waffle_config_destroy, waffle_config_get_native – class waffle_config Synopsis #include <waffle.h> struct waffle_config; struct waffle_config *waffle_config_choose(struct waffle_display *display, const int32_t attrib_list[]); bool waffle_config_destroy(struct waffle_config *self); union waffle_native_config *waffle_config_get_native(struct waffle_config *self); Description struct waffle_config An opaque type. waffle_config_choose() Choose a config on display that satifisfies the set of attributes specified by attrib_list. The config can later be…

  • |

    waffle_config_destroy (3) Linux Manual Page

    waffle_config, waffle_config_choose, waffle_config_destroy, waffle_config_get_native – class waffle_config Synopsis #include <waffle.h> struct waffle_config; struct waffle_config *waffle_config_choose(struct waffle_display *display, const int32_t attrib_list[]); bool waffle_config_destroy(struct waffle_config *self); union waffle_native_config *waffle_config_get_native(struct waffle_config *self); Description struct waffle_config An opaque type. waffle_config_choose() Choose a config on display that satifisfies the set of attributes specified by attrib_list. The config can later be…

  • |

    waffle_config_choose (3) Linux Manual Page

    waffle_config, waffle_config_choose, waffle_config_destroy, waffle_config_get_native – class waffle_config Synopsis #include <waffle.h> struct waffle_config; struct waffle_config *waffle_config_choose(struct waffle_display *display, const int32_t attrib_list[]); bool waffle_config_destroy(struct waffle_config *self); union waffle_native_config *waffle_config_get_native(struct waffle_config *self); Description struct waffle_config An opaque type. waffle_config_choose() Choose a config on display that satifisfies the set of attributes specified by attrib_list. The config can later be…

  • |

    waffle_config (3) Linux Manual Page

    waffle_config, waffle_config_choose, waffle_config_destroy, waffle_config_get_native – class waffle_config Synopsis #include <waffle.h> struct waffle_config; struct waffle_config *waffle_config_choose(struct waffle_display *display, const int32_t attrib_list[]); bool waffle_config_destroy(struct waffle_config *self); union waffle_native_config *waffle_config_get_native(struct waffle_config *self); Description struct waffle_config An opaque type. waffle_config_choose() Choose a config on display that satifisfies the set of attributes specified by attrib_list. The config can later be…

  • |

    waffle_attrib_list_update (3) Linux Manual Page

    waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update – Utilities for attribute lists Synopsis #include <waffle.h> bool waffle_attrib_list_length(const int32_t attrib_list[]); bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value); bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value); bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value); Description An attribute list is a zero-terminated list of int32_t key/value pairs or…

  • |

    waffle_attrib_list_length (3) Linux Manual Page

    waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update – Utilities for attribute lists Synopsis #include <waffle.h> bool waffle_attrib_list_length(const int32_t attrib_list[]); bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value); bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value); bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value); Description An attribute list is a zero-terminated list of int32_t key/value pairs or…

  • |

    waffle_attrib_list_get_with_default (3) Linux Manual Page

    waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update – Utilities for attribute lists Synopsis #include <waffle.h> bool waffle_attrib_list_length(const int32_t attrib_list[]); bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value); bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value); bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value); Description An attribute list is a zero-terminated list of int32_t key/value pairs or…

  • |

    waffle_attrib_list_get (3) Linux Manual Page

    waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update – Utilities for attribute lists Synopsis #include <waffle.h> bool waffle_attrib_list_length(const int32_t attrib_list[]); bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value); bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value); bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value); Description An attribute list is a zero-terminated list of int32_t key/value pairs or…

  • |

    waffle_attrib_list (3) Linux Manual Page

    waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update – Utilities for attribute lists Synopsis #include <waffle.h> bool waffle_attrib_list_length(const int32_t attrib_list[]); bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value); bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value); bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value); Description An attribute list is a zero-terminated list of int32_t key/value pairs or…