summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/x11/gl_manager_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.bruvzg2023-11-061-0/+9
|
* Linux/OpenGL: don't force vsync in the editorRiteo2023-09-241-6/+0
| | | | | | | | I couldn't tell whether this has an actual purpose and it feels more like a debug remnant. We also need to be able to disable vsync in the editor for the WIP Wayland backend (in the EGL driver) as it does manual frame throttling.
* [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-211-0/+1
| | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>
* [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-4/+4
|
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-081-6/+4
| | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module should be included with relative paths (relative to the root folder of the modular component, e.g. `platform/linuxbsd/`), in their own section before Godot's "core" includes. The `api` and `export` subfolders also need to be handled as self-contained (and thus use relative paths for their "local" includes) as they are all compiled for each editor platform, without necessarily having the api/export matching platform folder in the include path. E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp` and those need to use relative includes for it to work.
* Enable shadow warnings and fix raised errorsNinni Pipping2023-05-111-0/+3
|
* Propogate errors when creating an OpenGL context fails in X11clayjohn2023-03-071-4/+19
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Load X11 dynamicallyRiteo2022-12-031-2/+2
| | | | | | | | | | | | | | | | The loaders have been generated through hpvb's dynload-wrapper, although they had to be heavily handpatched to workaround some already reported issues with it. I added a note to each generated file to account for that. As GLAD uses X11 stuff directly, I had to define the GLAD_GLX_NO_X11 macro to not let do it that, and handle myself the display loading and screen handling part myself, which wasn't that hard but it's still something worth saying. I plan to improve greatly the X11 backend (including this aspect) but, as the release isn't that far and I'm also working on the Wayland backend, this will do for now, I hope.
* X11: Don't override glxSwapInterval function pointers loaded by GLADRémi Verschelde2022-11-161-4/+0
| | | | | | Fixes #68722. Co-authored-by: alcomposer <alex.w.mitchell@gmail.com>
* Load GLX dynamically with GLADRiteo Siuga2022-11-151-20/+8
| | | | | | | This is accomplished through the addition of a GLAD GLX loader in the `thirdparty` directory. This is another step towards a nice Wayland/X11 interoperation.
* Add support for OpenGL to OpenXRDavid Snopek2022-11-081-0/+11
|
* linuxbsd: move all X11 stuff in its own directoryRiteo2022-11-021-0/+394
This allows implementing `DisplayServer`s like Wayland without making a mess in the source tree.