aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_gl3_test.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-11GL3 Test: Use instancingDavid Robillard1-49/+62
2019-12-11GL3 Test: Spread out rectangles moreDavid Robillard1-7/+11
2019-12-11GL3 Test: Calculate border color on the GPUDavid Robillard1-13/+5
2019-12-11GL3 Test: Move shaders to separate filesDavid Robillard1-43/+33
2019-11-21Rename "backend" headersDavid Robillard1-1/+1
Working on Vulkan clarified what has always been slightly smelly about the design and organization here: not everything that is API specific is really in a "backend" (a PuglBackend). The concrete example is puglGetProcAddress(), which only makes sense for GL and is actually implemented in the "backend" files. Arguably puglGetContext() is also such a thing. So, rename the headers so they can be the place where API-specific things go in general, which happens to include a backend most of the time. The stub is a bit of an exception to this, but whatever. The includes look tidier this way. In place of the old headers are compatibility stubs that just emit a warning and include the new version, which will be maintained for a while.
2019-11-18Cleanup: Remove unnecessary includesDavid Robillard1-1/+0
2019-11-18Add test utility function for logging errorsDavid Robillard1-4/+2
2019-11-18Add error checking option to test programsDavid Robillard1-0/+1
2019-11-09Make pugl_gl3_test deterministicDavid Robillard1-16/+15
2019-11-09Add puglStrerror() and improve test program error reportingDavid Robillard1-2/+4
2019-11-03Add verbose option to test programs to print all eventsDavid Robillard1-1/+1
2019-11-03Fix duplicate word in error messageDavid Robillard1-1/+1
2019-10-21Don't use compatible profile in pugl_gl3_testDavid Robillard1-1/+1
It turns out that there are some systems where having this on makes things not work, because compatible profiles are only supported up to earlier versions, despite a much higher version being available.
2019-09-07Add OpenGL 3 test programDavid Robillard1-0/+395