aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_gl_hints.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-14Add general string hint interfaceDavid Robillard1-2/+2
This replaces the window title and class name APIs with a more general one that can be easily extended to other things, like icon names, more detailed application hints, and so on.
2023-01-11Spread tests around the screenDavid Robillard1-1/+2
This makes it unlikely for tests to be completely obscured, which should hopefully make things a bit more consistent and reliable, especially when running all of the tests in parallel. It also makes things a bit less visually confusing.
2023-01-08Prepare OpenGL context flags for OpenGL ES supportDavid Robillard1-5/+8
2023-01-08Add PUGL_SAMPLE_BUFFERS hintDavid Robillard1-0/+2
Towards a more direct and explicit mapping to platform hints, and more consistent behaviour across platforms. OpenGL applications are generally expected to be explicit about hints like this.
2022-05-21Add a uniform API for setting size hintsDavid Robillard1-1/+1
This collapses many functions into one, which makes the API more easily extensible and reduces code size.
2022-05-20Use consistent class names and titles in tests and examplesDavid Robillard1-1/+1
2021-12-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
See https://reuse.software/ for details.
2021-05-24Test invalid hint casesDavid Robillard1-0/+12
2021-05-06Set distinct window titles for testsDavid Robillard1-0/+1
This makes things a little more clear when something goes wrong, for example if a test hangs.
2021-01-02Simplify clang-format configuration and format all codeDavid Robillard1-50/+50
2020-10-30Simplify header namesDavid Robillard1-1/+1
2020-10-04Add refresh rate hintDavid Robillard1-0/+2
2020-10-04Print all view hints in shader demo and hint testsDavid Robillard1-0/+1
2020-10-04Add puglGetViewHint()David Robillard1-0/+86
This allows retrieving properties of the view that may be needed, such as the actual bit depth (which may vary from the suggested depth provided as a hint).