1WAFFLE(7) Waffle Manual WAFFLE(7)
2
3
4
6 waffle - a library for selecting an OpenGL API and window system at
7 runtime
8
10 #include <waffle.h>
11
12 Link with -lwaffle-1.
13
14
16 Waffle is a cross-platform library that allows one to defer selection
17 of an OpenGL API and of window system until runtime. For example, on
18 Linux, Waffle enables an application to select X11/EGL with an OpenGL
19 3.3 core profile, Wayland with OpenGL ES2, and other window system /
20 API combinations.
21
22 Waffle's immediate goal is to enable Piglit[1], Mesa[2]'s OpenGL test
23 suite, to test multiple OpenGL flavors in a cross-platform way, and to
24 allow each Piglit test to choose its OpenGL API and window system at
25 runtime. A future goal is to enable the ability to record, with another
26 tool such as APITrace[3], an application's OpenGL calls on one
27 operating system or window system, and then replay that trace on a
28 different system.
29
30 waffle[4]'s website.
31
33 Your distribution should have installed example source code that
34 demonstrates how to use waffle at
35 /usr/share/doc/waffle-${version}/examples. You can also find
36 examples[5] in Waffle's source repository.
37
39 Please report bugs or and feature requests to
40 https://gitlab.freedesktop.org/mesa/waffle/issues.
41
43 Website: http://www.waffle-gl.org
44 Source: https://gitlab.freedesktop.org/mesa/waffle
45
46 waffle_feature_test_macros(7)
47
48 waffle_attrib_list(3),
49 waffle_config(3),
50 waffle_context(3),
51 waffle_display(3),
52 waffle_dl(3),
53 waffle_enum(3),
54 waffle_error(3),
55 waffle_gbm(3),
56 waffle_get_proc_address(3),
57 waffle_glx(3),
58 waffle_init(3),
59 waffle_is_extension_in_string(3),
60 waffle_make_current(3),
61 waffle_native(3),
62 waffle_wayland(3),
63 waffle_window(3),
64 waffle_x11_egl(3)
65 wflinfo(1),
66
68 Chad Versace <chad.versace@linux.intel.com>
69 Maintainer
70
72 Copyright © 2013 Intel
73
74 This manual page is licensed under the Creative Commons
75 Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To
76 view a copy of this license, visit
77 http://creativecommons.org.license/by-sa/3.0/us.
78
79
81 1. Piglit
82 http://piglit.freedesktop.org
83
84 2. Mesa
85 http://mesa3d.org
86
87 3. APITrace
88 http://github.com/apitrace/apitrace#readme
89
90 4. waffle
91 http://www.waffle-gl.org
92
93 5. examples
94 https://gitlab.freedesktop.org/mesa/waffle/tree/master/examples
95
96
97
98waffle 07/23/2021 WAFFLE(7)