Scroll to navigation

WAFFLE_GET_PROC_ADDR(3) Waffle Manual WAFFLE_GET_PROC_ADDR(3)

NAME

waffle_get_proc_address - Query address of OpenGL functions

SYNOPSIS

#include <waffle.h>
      
void* waffle_get_proc_address(const char *name);

DESCRIPTION

waffle_get_proc_address()
On GLX, this redirects to glXGetProcAddress(3). On EGL, this redirects to eglGetProcAddress(3). On CGL, this function returns NULL because there exists no CGLGetProcAdress().
Some aspects of this function's behavior is platform-specific and non-intuitive. For example,
•If the queried function is not available, waffle_get_proc_address() may return a non-null pointer.
•If the queried function is statically exposed by the OpenGL library of a given API, then waffle_get_proc_address() may return a NULL.
For details on this function's behavior, see the specification for the relevant platform: the GLX 1.4 Specification[1] or the EGL 1.4 Specification[2].

ERRORS

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

ISSUES

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

SEE ALSO

waffle(7), waffle_dl_sym(3)

AUTHOR

Chad Versace <chad.versace@linux.intel.com>
Maintainer

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.

NOTES

1.
GLX 1.4 Specification
2.
EGL 1.4 Specification
09/25/2014 waffle