Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-02 | X11: Dispatch exposures from event callbacks in the same iteration | David Robillard | |
2020-02-02 | X11: Avoid calculating expose rect if view is not visible | David Robillard | |
2020-02-02 | X11: Factor out adding a pending exposure | David Robillard | |
2019-12-11 | GL3 Test: Use instancing | David Robillard | |
2019-12-11 | GL3 Test: Update bindings to OpenGL 3.3 | David Robillard | |
2019-12-11 | GL3 Test: Spread out rectangles more | David Robillard | |
2019-12-11 | GL3 Test: Use core profile in shaders | David Robillard | |
2019-12-11 | GL3 Test: Use camel case for shader variables | David Robillard | |
2019-12-11 | GL3 Test: Calculate border color on the GPU | David Robillard | |
2019-12-11 | GL3 Test: Move shaders to separate files | David Robillard | |
2019-12-09 | Mac: Fix missing NSWindowStyleMask type on 10.11 | Hanspeter Portner | |
2019-12-09 | Fix use of incorrect union element | David Robillard | |
2019-12-09 | Cleanup: Fix whitespace | David Robillard | |
2019-11-21 | Cleanup: Fix flake8 warnings | David Robillard | |
2019-11-21 | Check explicitly for GLX and only link against the necessary library | David Robillard | |
It turns out that on some systems GLX is implemented in libGLX (which brings in only libGLdispatch), while on others it is implemented in libGL. | |||
2019-11-21 | Rename "backend" headers | David Robillard | |
Working on Vulkan clarified what has always been slightly smelly about the design and organization here: not everything that is API specific is really in a "backend" (a PuglBackend). The concrete example is puglGetProcAddress(), which only makes sense for GL and is actually implemented in the "backend" files. Arguably puglGetContext() is also such a thing. So, rename the headers so they can be the place where API-specific things go in general, which happens to include a backend most of the time. The stub is a bit of an exception to this, but whatever. The includes look tidier this way. In place of the old headers are compatibility stubs that just emit a warning and include the new version, which will be maintained for a while. | |||
2019-11-21 | Use consistent include guards | David Robillard | |
2019-11-21 | X11: Remove libGL dependency from GL backend | David Robillard | |
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 | |
2019-11-20 | Mac: Move puglGetProcAddress() to mac_gl.m | David Robillard | |
2019-11-20 | Mac: Fix unused parameter warning | David Robillard | |
2019-11-18 | Cleanup: Remove unnecessary includes | David Robillard | |
2019-11-18 | Move puglGetProcAddress to pugl_gl_backend.h | David Robillard | |
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 | |
2019-11-18 | Ignore clang-tidy warnings in system headers | David Robillard | |
2019-11-18 | Add error checking option to test programs | David Robillard | |
2019-11-17 | X11: Don't select on server socket if events are already queued | osch | |
2019-11-17 | X11: Support pasting (almost) arbitrarily long text | David Robillard | |
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 | |
2019-11-17 | X11: Track visibility via system events | David Robillard | |
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 | |
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 | |
2019-11-09 | Add clang-tidy file and update lint target | David Robillard | |
2019-11-09 | Fix various clang-tidy warnings | David Robillard | |
2019-11-09 | Make pugl_gl3_test deterministic | David Robillard | |
2019-11-09 | Add puglStrerror() and improve test program error reporting | David Robillard | |
2019-11-03 | Remove redisplay flag and add puglPostRedisplayRect() | David Robillard | |
2019-11-03 | X11: Only merge expose events if they intersect | David Robillard | |
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 | |
2019-11-03 | Windows: Do not require backends to have a surface | David Robillard | |
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 | |
2019-11-03 | Expose functional stub backend | David Robillard | |
2019-11-03 | Move platform stub configuration code to platform headers | David Robillard | |
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 | |
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 | |
2019-11-03 | Fix puglFreeView() crashes when window creation failed | Jordan Halase | |
2019-11-03 | Cleanup: Fix whitespace | David Robillard | |
2019-11-03 | Fix duplicate word in error message | David Robillard | |
2019-11-03 | Windows: Fix GL context flags | David Robillard | |
2019-10-21 | Don't use compatible profile in pugl_gl3_test | David Robillard | |
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. |