Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-17 | Adopt REUSE machine-readable licensing standard | David Robillard | 22 | -241/+51 | |
See https://reuse.software/ for details. | |||||
2021-12-17 | Suppress new warnings in clang-tidy 13 | David Robillard | 1 | -1/+2 | |
2021-12-17 | Fix spelling errors | David Robillard | 1 | -1/+1 | |
2021-12-16 | Rename puglSetTransientFor to puglSetTransientParent | David Robillard | 1 | -2/+2 | |
2021-08-28 | Suppress new clang-tidy warnings | David Robillard | 1 | -0/+4 | |
2021-05-28 | Remove static downcasts in C++ bindings | David Robillard | 1 | -2/+1 | |
2021-05-28 | Split up warning suppression flags more finely | David Robillard | 1 | -6/+51 | |
This avoids polluting the main list of suppressions with things that are only triggered in tests or examples, making it clearer which warning are present in pugl itself. | |||||
2021-05-28 | Remove unnecessary include directory | David Robillard | 1 | -1/+0 | |
2021-05-25 | Rename event structs in a more readable style | David Robillard | 3 | -3/+3 | |
Aside from reading more naturally, this avoids clashes with types that are not events, like PuglEventFlags. This is also more consistent with the C++ bindings, where "EventExpose" would be quite strange, for example. Apologies for the noise. Aliases to the old names will be preserved in the deprecated API like other things for a short while. | |||||
2021-05-24 | Add fancy constructor for C++ events and wrap puglSendEvent() | David Robillard | 1 | -1/+6 | |
2021-05-24 | Consistently refer to C++ as "cpp" and fix installation | David Robillard | 4 | -6/+6 | |
2021-05-08 | Send unmap/map events when the view is minimized/restored | David Robillard | 1 | -26/+36 | |
X11 Window managers set WM_STATE to notify about minimization, often without sending core X visibility events (which seems odd to me, but that's what Gnome does anyway). So, implement this protocol and send map/unmap events to the view, and adjust the Windows implementation to do the same for consistency across all platforms. | |||||
2021-05-06 | Add basic test for Vulkan support | David Robillard | 1 | -1/+1 | |
2021-04-27 | Simplify meson configuration | David Robillard | 1 | -5/+5 | |
2021-04-18 | Improve cube rendering in example programs | David Robillard | 2 | -17/+17 | |
2021-04-18 | Improve cube rendering in example programs | David Robillard | 2 | -27/+90 | |
2021-02-01 | Set maximum size in example programs | David Robillard | 6 | -0/+6 | |
2021-01-08 | Switch to Meson | David Robillard | 2 | -0/+115 | |
2021-01-02 | Avoid "else" after "return" | David Robillard | 4 | -10/+24 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 3 | -3/+3 | |
2021-01-02 | Fix clang-tidy warnings | David Robillard | 2 | -12/+32 | |
2021-01-02 | Clean up includes | David Robillard | 3 | -3/+3 | |
2021-01-02 | Simplify clang-format configuration and format all code | David Robillard | 19 | -5763/+5608 | |
2020-12-11 | Make demo programs work from any directory, and install them | David Robillard | 8 | -19/+241 | |
2020-12-11 | Print an error message in Vulkan demo when shaders are not found | David Robillard | 1 | -0/+1 | |
2020-11-26 | Remove file documentation | David Robillard | 10 | -70/+36 | |
These will not be used in the Sphinx documentation, and most were self-explanatory and only there to make the Doxygen index look nice anyway. Where there was actually useful information, it has been preserved as regular comments. | |||||
2020-11-26 | Add pugl::World constructor overload that takes a flag | David Robillard | 1 | -2/+1 | |
Eventually we'll need an actual smart flags type here, but for now there's only one flag anyway, so simply define an overload that takes one. | |||||
2020-11-26 | Remove stub event handlers from pugl::View | David Robillard | 2 | -2/+10 | |
This was a bit weird since event dispatching can be handled by some other object. Just remove them, and have clients use a catch-all template to handle events that are not handled specially. | |||||
2020-11-25 | Rename puglShowWindow and puglHideWindow to puglShow an puglHide | David Robillard | 9 | -11/+11 | |
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word. | |||||
2020-11-25 | Pass vkGetInstanceProcAddr to puglCreateSurface instead of a loader | David Robillard | 2 | -4/+10 | |
This allows puglCreateSurface() to be used with some other loader, or when linking to Vulkan at compile time. | |||||
2020-11-22 | Suppress various clang-tidy warnings | David Robillard | 1 | -0/+7 | |
These libc-specific warnings are a new level, even for LLVM. Using an opt-out style for this is probably not going to last. | |||||
2020-11-01 | Cleanup: Fix typo | David Robillard | 1 | -1/+1 | |
2020-11-01 | Make event handling in C++ more flexible | David Robillard | 2 | -10/+14 | |
2020-10-31 | Use static polymorphism in C++ bindings | David Robillard | 2 | -41/+35 | |
This removes virtual function overhead, and the weird situation of having to include pugl.ipp once (or worse, for pugl to provide a binary C++ library). | |||||
2020-10-30 | Simplify header names | David Robillard | 10 | -10/+10 | |
2020-10-30 | Remove GL and GLU wrapper headers | David Robillard | 3 | -3/+1 | |
Include them in pugl_gl.h instead, to simplify things and unclutter the include directory. | |||||
2020-10-28 | Add Vulkan demos | David Robillard | 4 | -0/+5342 | |
2020-10-24 | Replace live resize with loop events | David Robillard | 1 | -2/+17 | |
This allows the application to control how recursive loops are handled rather than have Pugl impose behavior which can get in the way. For example, an application may not want to continuously animate while being resized, or set up its rendering differently in this situation. For example, with Vulkan, setting up a different swapchain can be necessary for smooth performance while live resizing on Windows, and Pugl has no ability to do this. I think it was a mistake to add this timer to Pugl itself, because it was always a bit of a leaky abstraction, and not very appropriate for a library that is supposed to be a thin abstraction layer. Though it almost seemed like things ran as usual while resizing on Windows and MacOS, the main event loop being stalled can be confusing, and there was no way to detect this. This way, applications must explicitly handle this situation and can implement the behavior they want without Pugl getting in the way. This also simplifies the Pugl implementation a bit, which is always nice. | |||||
2020-10-21 | Fix shader demo arguments to allow running at maximum framerate | David Robillard | 1 | -2/+3 | |
2020-10-21 | Use separate clang-tidy configurations in different directories | David Robillard | 1 | -0/+20 | |
This allows more fine-grained control. In particular, it prevents mistaked from creeping in to the public headers or core implementation because of warnings that are disabled for the tests and examples. This keeps the code that is used in other projects as clean as possible. | |||||
2020-10-21 | Add missing include guards | David Robillard | 4 | -3/+18 | |
2020-10-19 | Cleanup: Fix IWYU warnings | David Robillard | 3 | -5/+1 | |
2020-10-16 | Windows: Fix cursor when leaving client area | Jordan Halase | 1 | -0/+3 | |
This resets the cursor when the pointer moves into the title bar. | |||||
2020-10-16 | Set a default size in pugl_print_events | Jordan Halase | 1 | -0/+1 | |
2020-10-16 | Show errors in example programs consistently | David Robillard | 1 | -2/+3 | |
2020-10-14 | Explicitly declare all special methods | David Robillard | 1 | -0/+8 | |
2020-10-04 | Move cube vertex data to the file where it is actually used | David Robillard | 2 | -49/+49 | |
2020-10-04 | Use refresh rate to better drive example event loop | David Robillard | 1 | -2/+33 | |
2020-10-04 | Print all view hints in shader demo and hint tests | David Robillard | 1 | -0/+1 | |
2020-10-03 | Change FPS print format in demos for consistency with other output | David Robillard | 1 | -3/+3 | |