aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/gl.h
AgeCommit message (Collapse)AuthorFilesLines
2023-10-21Clean up includesDavid Robillard1-0/+1
2023-05-27Separate pugl/glu.h from pugl/gl.hDavid Robillard1-11/+0
The GLU library is often shipped in a separate package, so it's possible to have a system with GL, but no GLU headers. Since use of GLU isn't universal (none of the examples use it), its inclusion can break builds that would otherwise work. So, move it to a separate wrapper header so this can be avoided.
2023-01-03Use globally unique names for documentation groupsDavid Robillard1-2/+2
This becomes important when the documentation is included in larger projects.
2021-12-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
See https://reuse.software/ for details.
2021-01-02Add PUGL_CONST_APIDavid Robillard1-2/+1
Just a convenience macro to make declarations a little more readable.
2021-01-02Clean up includesDavid Robillard1-4/+4
2021-01-02Simplify clang-format configuration and format all codeDavid Robillard1-20/+25
2020-11-26Remove file documentationDavid Robillard1-5/+0
These will not be used in the Sphinx documentation, and most were self-explanatory and only there to make the Doxygen index look nice anyway. Where there was actually useful information, it has been preserved as regular comments.
2020-11-25Move puglEnterContext and puglLeaveContext to GL backendsDavid Robillard1-0/+18
These only do anything for OpenGL, and it seems unlikely that they will ever be used for anything else. So, move them to the GL headers to remove clutter from the core API, and ensure that they are only used in GL applications that include the appropriate headers and link with a GL backend. Also add missing C++ bindings.
2020-10-30Clean up installed man pagesDavid Robillard1-1/+1
2020-10-30Simplify header namesDavid Robillard1-0/+90
2020-10-30Remove GL and GLU wrapper headersDavid Robillard1-41/+0
Include them in pugl_gl.h instead, to simplify things and unclutter the include directory.
2020-10-21Add missing include guardsDavid Robillard1-0/+5
2020-10-21Move includes to a separate directoryDavid Robillard1-0/+36
This is more conventional and directories named "include" are specially understood by some tooling like clang-tidy.