aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/gl.h
AgeCommit message (Collapse)AuthorFilesLines
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.