Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2020-07-05 | Improve struct packing | David Robillard | 5 | -8/+8 | |
Unfortunately there is no warning like Wpadded but only for internal padding, so that can't be turned on, but if there was, after this commit the build would be clean with it. Maybe some day... | |||||
2020-06-13 | Add puglSetCursor() | Jean Pierre Cimalando | 1 | -0/+171 | |
2020-06-13 | Cleanup: Fix implicit conversion warnings with clang | David Robillard | 2 | -3/+4 | |
2020-06-13 | Cleanup: Fix uninitialised variables | David Robillard | 2 | -5/+5 | |
2020-06-08 | Windows: Fix maximum size | David Robillard | 1 | -0/+1 | |
2020-05-16 | Add default and maximum size | David Robillard | 5 | -10/+8 | |
2020-05-16 | Use line comments where appropriate | David Robillard | 1 | -1/+1 | |
2020-05-16 | Use email address in copyright headers | David Robillard | 10 | -10/+10 | |
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional. | |||||
2020-05-16 | Fix file documentation | David Robillard | 7 | -7/+14 | |
2020-04-22 | C++ Demo: Fix sync option | David Robillard | 1 | -1/+1 | |
2020-04-22 | C++ Demo: Fix help option | David Robillard | 1 | -0/+4 | |
2020-04-06 | Implement puglSetTransientFor() for Mac and Windows | David Robillard | 1 | -4/+9 | |
2020-04-04 | Shader Demo: Support both GL 3 and 4 | David Robillard | 1 | -10/+33 | |
2020-04-04 | Shader Demo: Use a UBO | David Robillard | 1 | -7/+16 | |
2020-04-04 | Shader Demo: Factor out version-dependent GLSL header | David Robillard | 2 | -9/+16 | |
2020-04-04 | Shader Demo: Factor out animated rectangle definitions | David Robillard | 2 | -44/+84 | |
2020-04-04 | Shader Demo: Explicitly set up alpha blending | David Robillard | 1 | -1/+2 | |
2020-04-03 | Rewrite C++ bindings | David Robillard | 1 | -0/+141 | |
2020-04-02 | Strengthen warnings | David Robillard | 4 | -22/+34 | |
2020-04-01 | Cleanup: Fix mismatched file comments | David Robillard | 1 | -1/+1 | |
2020-04-01 | Replace puglShowWindow() with puglRealize() | David Robillard | 5 | -9/+15 | |
2020-03-31 | GL3 Demo: Fix conversion warnings | David Robillard | 1 | -5/+7 | |
2020-03-17 | Use clearer names for pointer events | David Robillard | 3 | -9/+9 | |
These old "notify" names are a smell from X11 which is a bit strange and inconsistent here, since nearly everything is a "notification" of sorts. I think the new names here are much more clear since they are consistent with the keyboard focus events. | |||||
2020-03-16 | Embed Demo: Add timer to occasionally reverse spin direction | David Robillard | 1 | -2/+10 | |
2020-03-16 | Window Demo: Only redisplay on update when running continuously | David Robillard | 1 | -1/+3 | |
2020-03-15 | Unify event loop functions as puglUpdate() | David Robillard | 5 | -31/+30 | |
The previous separation between polling and dispatching was a lie, especially on MacOS where it is impossible to only poll for events without dispatching anything. Providing such an API is misleading, and problematic in various other ways. So, merge them into a single puglUpdate() function which can do the right thing on all platforms. This also adds the behaviour of actually processing all events in the given time interval, which is almost always what clients actually want to do when using a positive timeout (naively doing this before caused terrible input lag). | |||||
2020-03-15 | Add type and flags to world | David Robillard | 5 | -5/+5 | |
Unfortunately this is an API break, but there's no reasonable way to deprecate the old function and this is required for things to work correctly. The type will be used in following commits to tick the main loop and dispatch events correctly for either case. | |||||
2020-03-15 | Print events in Cairo demo | David Robillard | 1 | -0/+2 | |
2020-03-15 | Remove static data from Cairo demo | David Robillard | 1 | -44/+56 | |
2020-03-13 | Strengthen warnings | David Robillard | 3 | -6/+0 | |
2020-03-09 | GL3 Demo: Set up and tear down GL on PUGL_CREATE and PUGL_DESTROY | David Robillard | 1 | -19/+17 | |
This eliminates the use of puglEnterContext(). | |||||
2020-03-09 | GL3 Demo: Factor out GL setup and teardown | David Robillard | 1 | -69/+102 | |
2020-03-09 | Window Demo: Fix updating when not runnning continuously | David Robillard | 2 | -7/+17 | |
2020-03-09 | Cleanup: Remove unnecessary includes | David Robillard | 1 | -1/+0 | |
Apparently glxext.h is always included in glx.h on modern systems. The window demo does not actually use any GL functions directly since they are all factored out. | |||||
2020-03-08 | Add vsync command line options to demos | David Robillard | 3 | -4/+4 | |
2020-03-08 | Embed Demo: Simplify FPS counter | David Robillard | 1 | -3/+3 | |
What we're really interested in here is how often the main loop iteration runs. | |||||
2020-03-08 | Embed Demo: Only redisplay on input when not running continuously | David Robillard | 1 | -5/+11 | |
2020-03-08 | Add multiple window example | David Robillard | 1 | -0/+243 | |
2020-03-08 | Factor out cube drawing | David Robillard | 3 | -59/+93 | |
2020-03-08 | Move demo programs to examples directory | David Robillard | 9 | -0/+4950 | |
These are not really tests, but examples or demos, which has caused some confusion in the past. So, move them, and make room for actual tests. |