Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-21 | X11: Remove libGL dependency from GL backend | David Robillard | 2 | -4/+1 | |
This was the only use of actual GL in the backend, and I'm relatively sure this flush is pointless anyway. If, for some bizarre reason, anyone really wants to run without double buffers, they are always free to flush themselves. | |||||
2019-11-21 | Clean up configuration code | David Robillard | 1 | -48/+58 | |
2019-11-20 | Mac: Move puglGetProcAddress() to mac_gl.m | David Robillard | 2 | -17/+17 | |
2019-11-20 | Mac: Fix unused parameter warning | David Robillard | 1 | -1/+1 | |
2019-11-18 | Cleanup: Remove unnecessary includes | David Robillard | 4 | -6/+0 | |
2019-11-18 | Move puglGetProcAddress to pugl_gl_backend.h | David Robillard | 2 | -11/+11 | |
This establishes a general pattern for backend-specific APIs, so that pugl.h doesn't become a mess. The name of these headers, and the definition of "backend", is a little fuzzy here, but it was before in reality anyway. | |||||
2019-11-18 | Add test utility function for logging errors | David Robillard | 5 | -16/+23 | |
2019-11-18 | Ignore clang-tidy warnings in system headers | David Robillard | 1 | -1/+1 | |
2019-11-18 | Add error checking option to test programs | David Robillard | 3 | -1/+8 | |
2019-11-17 | X11: Don't select on server socket if events are already queued | osch | 1 | -1/+3 | |
2019-11-17 | X11: Support pasting (almost) arbitrarily long text | David Robillard | 1 | -1/+1 | |
This is a bit ridiculous, but using a "probably big enough" value seems to be what everyone does. This particular value is the one used by Gtk. | |||||
2019-11-17 | X11: Don't send expose events to invisible windows | David Robillard | 1 | -1/+3 | |
2019-11-17 | X11: Track visibility via system events | David Robillard | 1 | -3/+8 | |
This ensure that visibility is properly updated when a window is made visible or invisible by the user or window system. Unfortunately it does not seem to propagate automatically to child windows, but this is at least better than the previous situation, and good enough for most cases. | |||||
2019-11-17 | Use typedefs for flag types | David Robillard | 1 | -72/+82 | |
This doesn't change anything about type-safety (C can't do that), but at least makes the intent of things clearer. | |||||
2019-11-17 | Cleanup: Use consistent formatting for field documentation | David Robillard | 1 | -141/+141 | |
2019-11-09 | Add clang-tidy file and update lint target | David Robillard | 2 | -20/+27 | |
2019-11-09 | Fix various clang-tidy warnings | David Robillard | 5 | -18/+20 | |
2019-11-09 | Make pugl_gl3_test deterministic | David Robillard | 1 | -16/+15 | |
2019-11-09 | Add puglStrerror() and improve test program error reporting | David Robillard | 5 | -8/+41 | |
2019-11-03 | Remove redisplay flag and add puglPostRedisplayRect() | David Robillard | 8 | -36/+84 | |
2019-11-03 | X11: Only merge expose events if they intersect | David Robillard | 1 | -13/+45 | |
Towards actual fine-grained exposure. This uses the previous behaviour if expose events intersect to reduce redundant drawing, but dispatches expose events immediately (after flushing and pending configure events) if they don't to support partial redraws. | |||||
2019-11-03 | Add puglGetNativeWorld() | David Robillard | 4 | -0/+28 | |
2019-11-03 | Windows: Do not require backends to have a surface | David Robillard | 1 | -1/+1 | |
This was just leftover cruft from before error handling was cleaned up, any failure to configure must now be reported by the backend. | |||||
2019-11-03 | Add pugl_print_events test program | David Robillard | 2 | -0/+85 | |
2019-11-03 | Expose functional stub backend | David Robillard | 4 | -1/+79 | |
2019-11-03 | Move platform stub configuration code to platform headers | David Robillard | 4 | -33/+43 | |
This allows backends which use basic software rendering (like Cairo) to share the common basic window format setup code. | |||||
2019-11-03 | Add stub implementations of backend functions | David Robillard | 5 | -63/+115 | |
Towards having actual trivial backends, but in general allows backends to not declare functions they don't care about which is nice and already a net reduction of actual code. | |||||
2019-11-03 | Add verbose option to test programs to print all events | David Robillard | 3 | -13/+49 | |
2019-11-03 | Fix puglFreeView() crashes when window creation failed | Jordan Halase | 4 | -14/+29 | |
2019-11-03 | Cleanup: Fix whitespace | David Robillard | 1 | -1/+1 | |
2019-11-03 | Fix duplicate word in error message | David Robillard | 1 | -1/+1 | |
2019-11-03 | Windows: Fix GL context flags | David Robillard | 1 | -0/+1 | |
2019-10-21 | Don't use compatible profile in pugl_gl3_test | David Robillard | 1 | -1/+1 | |
It turns out that there are some systems where having this on makes things not work, because compatible profiles are only supported up to earlier versions, despite a much higher version being available. | |||||
2019-10-15 | Mac: Remove unused method declaration | David Robillard | 1 | -1/+0 | |
2019-09-16 | Fix memory leak | David Robillard | 1 | -0/+1 | |
2019-09-14 | Windows: Fix Cairo backend build | David Robillard | 1 | -18/+18 | |
2019-09-14 | Add support for using a debug OpenGL context | David Robillard | 3 | -1/+8 | |
2019-09-14 | Wrap deprecated declarations in PUGL_DISABLE_DEPRECATED | David Robillard | 1 | -0/+4 | |
This allows projects that use strict warning flags to suppress warning noise. | |||||
2019-09-07 | Build documentation on CI | David Robillard | 2 | -1/+21 | |
2019-09-07 | Improve documentation and use LV2 documentation style | David Robillard | 9 | -115/+1212 | |
2019-09-07 | Clean up error handling | David Robillard | 12 | -114/+123 | |
2019-09-07 | Add clipboard support | David Robillard | 9 | -3/+332 | |
2019-09-07 | Cleanup: Fix whitespace | David Robillard | 1 | -13/+13 | |
2019-09-07 | Windows: Fix library leak during world creation | David Robillard | 1 | -0/+2 | |
2019-09-07 | Add OpenGL 3 test program | David Robillard | 7 | -5/+3802 | |
2019-09-03 | Windows: Fix puglGetProcAddress() for OpenGL 1.1 functions | David Robillard | 1 | -1/+9 | |
2019-09-03 | Make almost everything return a status | David Robillard | 5 | -37/+60 | |
Prepares the API for proper error handling, even though there isn't any for these functions yet. | |||||
2019-09-03 | Make event handler return a status | David Robillard | 3 | -4/+10 | |
Currently unused, but this is to leave open the possibility of event propagation or better errror handling. | |||||
2019-09-03 | Factor out parsing test options | David Robillard | 3 | -60/+82 | |
2019-09-03 | Reorganize header and documentation into coherent sections | David Robillard | 1 | -96/+98 | |