aboutsummaryrefslogtreecommitdiff
path: root/test/pugl_gl3_test.c
AgeCommit message (Collapse)Author
2019-12-11GL3 Test: Calculate border color on the GPUDavid Robillard
2019-12-11GL3 Test: Move shaders to separate filesDavid Robillard
2019-11-21Rename "backend" headersDavid Robillard
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 Robillard
2019-11-18Add test utility function for logging errorsDavid Robillard
2019-11-18Add error checking option to test programsDavid Robillard
2019-11-09Make pugl_gl3_test deterministicDavid Robillard
2019-11-09Add puglStrerror() and improve test program error reportingDavid Robillard
2019-11-03Add verbose option to test programs to print all eventsDavid Robillard
2019-11-03Fix duplicate word in error messageDavid Robillard
2019-10-21Don't use compatible profile in pugl_gl3_testDavid Robillard
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 Robillard