Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-14 | Allow applications to specify the Vulkan library path | David Robillard | 9 | -13/+41 | |
I don't know if vendoring the Vulkan library is appropriate, but regardless, this allows applications to set the name to whatever they want, or specify an absolute path, just in case the standard value baked into Pugl isn't the right one in some situation. | |||||
2023-01-14 | Windows: Fix potentially insecure library loading | David Robillard | 2 | -3/+6 | |
2023-01-14 | Simplify library build definitions | David Robillard | 2 | -40/+10 | |
2023-01-14 | Fix library naming on Windows | David Robillard | 1 | -0/+8 | |
2023-01-14 | Windows: Disable as many windows.h features as possible | David Robillard | 1 | -1/+53 | |
2023-01-14 | Windows: Fix build with MSVC as C | David Robillard | 2 | -1/+1 | |
2023-01-14 | Windows: Fix drawing while resizing in pugl_vulkan_cpp_demo | David Robillard | 1 | -17/+44 | |
2023-01-14 | Windows: Add PUGL_DARK_FRAME hint | David Robillard | 8 | -7/+38 | |
This allows dark applications to visually integrate more nicely in Windows 10. A little thing, but it really goes a long way to make programs not look out of place and half-baked. | |||||
2023-01-14 | Add general string hint interface | David Robillard | 40 | -153/+343 | |
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-13 | Add missing hint to C++ bindings | David Robillard | 1 | -2/+2 | |
2023-01-13 | Fix deprecated API | David Robillard | 1 | -4/+4 | |
2023-01-11 | MacOS: Avoid calling sendEvent in modules | reuk | 3 | -56/+33 | |
2023-01-11 | Install pugl/attributes.h | David Robillard | 1 | -1/+2 | |
2023-01-11 | Remove dead code | David Robillard | 1 | -14/+0 | |
2023-01-11 | Run inline build tests for the sake of completeness | David Robillard | 1 | -10/+18 | |
2023-01-11 | Fix potential leak | David Robillard | 1 | -7/+10 | |
2023-01-11 | Add smoke test for puglSetCursor() | David Robillard | 2 | -0/+76 | |
2023-01-11 | Improve test coverage | David Robillard | 4 | -6/+13 | |
2023-01-11 | Guard against required hints explicitly being set to PUGL_DONT_CARE | David Robillard | 1 | -0/+5 | |
2023-01-11 | Clean up puglRealize() implementations | David Robillard | 4 | -27/+18 | |
2023-01-11 | Test redisplay outside of event handlers | David Robillard | 1 | -1/+10 | |
2023-01-11 | X11: Fix puglPostRedisplay() outside of event handlers | David Robillard | 1 | -2/+4 | |
2023-01-11 | X11: Make puglSendEvent() gracefully handle unrealized views | David Robillard | 1 | -0/+3 | |
2023-01-11 | Add missing export for puglGetBackend() | David Robillard | 1 | -0/+1 | |
2023-01-11 | Fix coverage of puglStrerror test | David Robillard | 1 | -1/+1 | |
2023-01-11 | Avoid running clipboard tests in parallel | David Robillard | 1 | -2/+20 | |
Since the clipboard is a globally shared resource, running clipboard tests in parallel is likely to fail because one test can smash the state expected by another. | |||||
2023-01-11 | Reduce duplicated code | David Robillard | 1 | -11/+1 | |
2023-01-11 | Relax timer test slightly and make it run for less time | David Robillard | 1 | -2/+2 | |
2023-01-11 | Spread tests around the screen | David Robillard | 16 | -19/+34 | |
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-11 | X11: Avoid potentially unnecessary allocation in Vulkan backend | David Robillard | 1 | -8/+12 | |
2023-01-11 | X11: Fix positioning of top-level windows with decorations | David Robillard | 2 | -8/+68 | |
2023-01-11 | Remove cached frame from view | David Robillard | 10 | -214/+364 | |
This was just a source of ambiguity and bugs, since it represented different things at different times and could become stale. Redundant data is always trouble, so eliminate it, leaving just two positions/sizes: the defaults (used when the view is not yet realized), and the last configuration. | |||||
2023-01-11 | Fix checks for invalid view positions | David Robillard | 3 | -3/+3 | |
2023-01-11 | Center windows on their transient parent where possible | David Robillard | 3 | -16/+56 | |
This is only really relevant in practice on MacOS and Windows. On X11, the window manager places new windows where it pleases. | |||||
2023-01-11 | Raise the initial display of example windows | David Robillard | 9 | -11/+11 | |
This is the standard behaviour for applications. | |||||
2023-01-10 | Add PUGL_CURSOR_ALL_SCROLL | David Robillard | 6 | -4/+9 | |
2023-01-10 | Add missing cursors to C++ bindings | David Robillard | 1 | -8/+12 | |
2023-01-10 | Fix inconsistent naming convention | David Robillard | 1 | -5/+5 | |
2023-01-10 | Windows: Make puglGetScaleFactor always return a reasonable value | David Robillard | 1 | -4/+24 | |
This guesses the likely scale factor when the view hasn't been realized (and so there's no real window to get information for). It may still be wrong for multiple display systems, but will always return some scale factor that "exists" on the system, and should always be correct when there's only one display. | |||||
2023-01-09 | Raise test windows initially | David Robillard | 11 | -12/+12 | |
This seems to make thing a bit more reliable, and matches what was happening before the addition of more precise show commands. | |||||
2023-01-08 | Fix Doxygen errors | David Robillard | 2 | -5/+7 | |
2023-01-08 | Add support for OpenGL ES 3.2 in pugl_shader_demo | David Robillard | 10 | -39/+88 | |
2023-01-08 | Update example GLAD loader and add OpenGL ES 3.2 | David Robillard | 2 | -9/+1280 | |
2023-01-08 | Prepare OpenGL context flags for OpenGL ES support | David Robillard | 15 | -39/+59 | |
2023-01-08 | Windows: Fix OpenGL profile hint interpretation | David Robillard | 1 | -2/+2 | |
2023-01-08 | Use ensureHint pattern everywhere | David Robillard | 6 | -60/+48 | |
2023-01-08 | Add PUGL_SAMPLE_BUFFERS hint | David Robillard | 8 | -14/+30 | |
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. | |||||
2023-01-08 | Add missing default hint | David Robillard | 1 | -0/+1 | |
2023-01-08 | Gracefully handle out of range hints | David Robillard | 2 | -3/+17 | |
2023-01-08 | Update README | David Robillard | 1 | -2/+6 | |