Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-04-04 | Shader Demo: Support both GL 3 and 4 | David Robillard | 1 | -403/+0 | |
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 | 1 | -1/+3 | |
2020-04-04 | Shader Demo: Factor out animated rectangle definitions | David Robillard | 1 | -44/+3 | |
2020-04-04 | Shader Demo: Explicitly set up alpha blending | David Robillard | 1 | -1/+2 | |
2020-04-02 | Strengthen warnings | David Robillard | 1 | -8/+8 | |
2020-04-01 | Replace puglShowWindow() with puglRealize() | David Robillard | 1 | -1/+2 | |
2020-03-31 | GL3 Demo: Fix conversion warnings | David Robillard | 1 | -5/+7 | |
2020-03-15 | Unify event loop functions as puglUpdate() | David Robillard | 1 | -3/+5 | |
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 | 1 | -1/+1 | |
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-13 | Strengthen warnings | David Robillard | 1 | -2/+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-08 | Add vsync command line options to demos | David Robillard | 1 | -1/+1 | |
2020-03-08 | Move demo programs to examples directory | David Robillard | 1 | -0/+398 | |
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. |