1WAFFLE_GET_PROC_ADDR(3)          Waffle Manual         WAFFLE_GET_PROC_ADDR(3)
2
3
4

NAME

6       waffle_get_proc_address - Query address of OpenGL functions
7

SYNOPSIS

9       #include <waffle.h>
10
11
12       void* waffle_get_proc_address(const char *name);
13

DESCRIPTION

15       waffle_get_proc_address()
16           On GLX, this redirects to glXGetProcAddress(3). On EGL, this
17           redirects to eglGetProcAddress(3). On CGL, this function returns
18           NULL because there exists no CGLGetProcAdress(). On WGL, this
19           redirects to wglGetProcAddress(3).
20
21           Some aspects of this function's behavior are platform-specific and
22           non-intuitive. For example,
23
24           ·   If the queried function is not available,
25               waffle_get_proc_address() may return a non-null pointer.
26
27           ·   If the queried function is statically exposed by the OpenGL
28               library of a given API, then waffle_get_proc_address() may
29               return a NULL.
30
31           ·   Under Windows (WGL) a current context must be available before
32               executing the function. Otherwise waffle_get_proc_address() may
33               return a NULL.
34
35           For details on this function's behavior, see the specification for
36           the relevant platform: the GLX 1.4 Specification[1] the EGL 1.4
37           Specification[2] or the MSDN article[3].
38

ERRORS

40       See waffle_error(3) for the complete list of waffle's error codes.
41
42       No errors are specific to any functions listed in this manual page.
43

ISSUES

45       Please report bugs or and feature requests to
46       https://github.com/waffle-gl/waffle/issues.
47

SEE ALSO

49       waffle(7), waffle_dl_sym(3)
50

AUTHOR

52       Chad Versace <chad.versace@linux.intel.com>
53           Maintainer
54
56       Copyright © 2013 Intel
57
58       This manual page is licensed under the Creative Commons
59       Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To
60       view a copy of this license, visit
61       http://creativecommons.org.license/by-sa/3.0/us.
62
63

NOTES

65        1. GLX 1.4 Specification
66           http://www.opengl.org/registry/doc/glx1.4.pdf
67
68        2. EGL 1.4 Specification
69           http://www.khronos.org/registry/egl/specs/eglspec.1.4.20110406.pdf
70
71        3. MSDN article
72           http://msdn.microsoft.com/en-gb/library/windows/desktop/dd374386(v=vs.85).aspx
73
74
75
76waffle                            07/15/2018           WAFFLE_GET_PROC_ADDR(3)
Impressum