Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-04 | Fix potentially short string buffer | David Robillard | 1 | -1/+1 | |
2020-10-04 | Add puglGetViewHint() | David Robillard | 1 | -1/+23 | |
This allows retrieving properties of the view that may be needed, such as the actual bit depth (which may vary from the suggested depth provided as a hint). | |||||
2020-10-03 | Store real double buffer value in hint and remove separate variable | David Robillard | 1 | -5/+2 | |
2020-09-19 | Call glXSwapIntervalEXT inside active context | Hanspeter Portner | 1 | -0/+2 | |
Some NVIDIA cards using the proprietary drivers (e.g. GeForce GTX 460/550) need that. | |||||
2020-09-19 | Move puglX11GlEnter() and puglX11GlLeave() above puglX11GlCreate() | David Robillard | 1 | -22/+22 | |
2020-07-05 | Move stub backend function implementations to a detail header | David Robillard | 1 | -1/+1 | |
2020-05-16 | Use email address in copyright headers | David Robillard | 1 | -1/+1 | |
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 | 1 | -2/+3 | |
2020-03-15 | Remove backend resize method | David Robillard | 1 | -1/+0 | |
2020-03-14 | Add logging API | David Robillard | 1 | -11/+16 | |
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 | X11: Implement PUGL_SWAP_INTERVAL | David Robillard | 1 | -0/+9 | |
2020-03-08 | X11: Use function typedefs in glxext.h | David Robillard | 1 | -6/+4 | |
2020-03-08 | Cleanup: Remove use of GL defines in X11 backend | David Robillard | 1 | -3/+4 | |
These are equivalent anyway, but this avoids include-what-you-use warnings and makes it clear that there is no GL code in the backend. | |||||
2020-03-02 | X11: Fix return type of puglX11GlGetAttrib() | David Robillard | 1 | -1/+1 | |
2020-03-02 | X11: Fix return type of puglX11GlHintValue() | David Robillard | 1 | -1/+1 | |
2020-03-01 | Cleanup: Use a consistent style for all backend definitions | David Robillard | 1 | -9/+7 | |
2020-03-01 | Cleanup: Fix includes | David Robillard | 1 | -1/+0 | |
2020-02-18 | Pass expose event to backend enter and leave functions | David Robillard | 1 | -3/+3 | |
This is needed for clipping. Unfortunately, the puglEnterContext() and puglLeaveContext() API was not suitable for this, but this shouldn't matter in user code because it is only used for setup, and is slated for removal anyway. Instead, just call the backend functions directly in the implementation. | |||||
2019-11-21 | Rename "backend" headers | David Robillard | 1 | -2/+2 | |
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 | X11: Remove libGL dependency from GL backend | David Robillard | 1 | -3/+0 | |
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-09 | Fix various clang-tidy warnings | David Robillard | 1 | -4/+4 | |
2019-11-03 | Add stub implementations of backend functions | David Robillard | 1 | -16/+3 | |
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-09-14 | Add support for using a debug OpenGL context | David Robillard | 1 | -0/+3 | |
2019-09-07 | Clean up error handling | David Robillard | 1 | -17/+20 | |
2019-09-03 | Simplify hints implementation | David Robillard | 1 | -11/+11 | |
2019-08-02 | Clean up includes | David Robillard | 1 | -1/+1 | |
2019-07-29 | Cleanup: Clean up includes and call IWYU in lint target | David Robillard | 1 | -0/+5 | |
2019-07-29 | Fix various clang-tidy warnings | David Robillard | 1 | -1/+1 | |
2019-07-29 | Reorganize source to separate private implementation details | David Robillard | 1 | -0/+213 | |
Taking a page from C++ convention, where "detail" is for things that should not be included in user code. |