aboutsummaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2020-03-09GL3 Demo: Set up and tear down GL on PUGL_CREATE and PUGL_DESTROYDavid Robillard1-19/+17
This eliminates the use of puglEnterContext().
2020-03-09GL3 Demo: Factor out GL setup and teardownDavid Robillard1-69/+102
2020-03-09Window Demo: Fix updating when not runnning continuouslyDavid Robillard2-7/+17
2020-03-09Cleanup: Remove unnecessary includesDavid Robillard1-1/+0
Apparently glxext.h is always included in glx.h on modern systems. The window demo does not actually use any GL functions directly since they are all factored out.
2020-03-08Add vsync command line options to demosDavid Robillard3-4/+4
2020-03-08Embed Demo: Simplify FPS counterDavid Robillard1-3/+3
What we're really interested in here is how often the main loop iteration runs.
2020-03-08Embed Demo: Only redisplay on input when not running continuouslyDavid Robillard1-5/+11
2020-03-08Add multiple window exampleDavid Robillard1-0/+243
2020-03-08Factor out cube drawingDavid Robillard3-59/+93
2020-03-08Move demo programs to examples directoryDavid Robillard9-0/+4950
These are not really tests, but examples or demos, which has caused some confusion in the past. So, move them, and make room for actual tests.