1885 Commits
Author SHA1 Message Date
Kirill Chibisov 3296c9af3e Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2024-06-08 13:38:09 +03:00
Marijn Suijten 9d387359e4 egl_sys: Drop duplicate manual definition of (EGL_)TEXTURE_FORMAT (#1683)
The generated code already defines `TEXTURE_FORMAT` to `0x3080` with the
usual `EGL_` prefix stripped; we shouldn't be redefining it (with this
unnecessary prefix) in manual code.
2024-06-07 23:08:47 +02:00
Kirill Chibisov 61ce695e73 wgl: add GLUTIN_WGL_OPENGL_DLL
Fixes #1671.
2024-06-06 16:39:10 +03:00
Christian Duerr 6af4c60ded api: add extra EGL and GLX extensions
This patch adds multiple new EGL extensions which are useful for
implementing Wayland applications. These have been mostly implemented
manually, since gl_generator lacks support for these newer EGL
extensions (except for `EGL_KHR_image_base`).

The following extensions were added:
 - EGL_KHR_image_base
 - EGL_WL_bind_wayland_display
 - EGL_WL_create_wayland_buffer_from_image

This also exposes EGL and GLX raw API calls on EGL and GLX displays.
2024-06-06 15:18:53 +03:00
e671fbe228 glutin-winit: bump winit to 0.30.0
Co-authored-by: marc2332 <mespinsanz@gmail.com>
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
Co-authored-by: Marijn Suijten <marijns95@gmail.com>
2024-06-06 14:47:15 +03:00
Erich Gubler 700096f579 wgl: bump windows-sys to 0.52 2024-06-06 12:08:20 +03:00
Kirill Chibisov c68d98f1ed chore: bump cfg_aliases to 0.2.1
This correctly handles recent nightly lint that requires to explicitly
define the CFG guards.
2024-05-21 20:46:56 +04:00
declantsien 8fa8593151 chore: update raw-window-handle to v0.6 2024-05-21 20:05:13 +04:00
Kirill Chibisov 052399de0a ci: fix nightly warnings
The CFG should go away once cfg_aliases start emit them, but for now
emit them ourselves.
2024-05-06 09:22:54 +04:00
Kirill Chibisov eb810198ee Bump MSRV to 1.70 2024-05-06 09:22:54 +04:00
Mads Marquart 08e1000ac1 cgl: update objc2 crates
- `icrate` has been deprecated in favour of separate crates per
  framework, in our case `objc2-foundation` and `objc2-app-kit`.
- Moved `MainThreadMarker::run_on_main` to free-standing function
  `run_on_main`.
- Changed how features work, this should result in less code that needs
  to be compiled.

Links: https://github.com/madsmtm/objc2/pull/526
2024-04-18 20:02:18 +04:00
John Nunley 9228126866 ci: add typos
As per the precedent set in winit, adds a spellchecker using the typos
crate to CI.

Links: https://github.com/rust-windowing/winit/pull/3565
Signed-off-by: John Nunley <dev@notgull.net>
2024-03-13 14:55:13 +04:00
Dimitris Apostolou e1bf1e22a3 fix: feature = "cargo-clippy" deprecation 2024-02-28 21:53:26 +04:00
Kirill Chibisov 72870e011b Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2024-02-12 22:41:23 +04:00
Valentin Hăloiu 7c93de9d9f api: make surfaceSend 2024-02-12 22:13:51 +04:00
Marijn Suijten 719671f168 examples: exit when the user presses Escape 2024-01-05 07:54:00 +04:00
Kirill Chibisov a2b40f26be Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2023-12-22 22:12:31 +04:00
Marijn Suijten 1aada0002a chore: fixup intradoc links and default features
Fixup "intradoc" links having `[]` inside backticks, meaning they
won't be links but actual brackets in monospace in the final doc.

Make `wayland` feature depend on `egl` backend to compile and
function.
2023-12-22 18:18:30 +04:00
Kirill Chibisov 6160cfa21d egl: set context version when egl < 1.5
Co-developed-by: p0ryae <theporyafm12@gmail.com>
Fixes #1647.
2023-12-22 02:24:34 +04:00
Kirill Chibisov 056a45b9fb Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2023-10-30 02:08:11 +04:00
Mads Marquart 866ea7b35c cgl: relax encoding requirements for CGLContextObj
The issue is that CGLContextObj changed its encoding in macOS Sonoma
14.0. The encoding of a type is something that objc2 uses to
debug-assert that the definition is written correctly, but of course, if
the Rust code assumes that the encoding is one thing, and it then
changes, then the debug assertion will now fail.

Fixes #1640.
2023-10-25 10:56:19 +04:00
Kirill Chibisov 5ff43203f1 Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2023-10-21 13:26:15 +04:00
Kirill Chibisov 579af1d976 chore: bump winit to 0.29.2 2023-10-21 12:19:05 +04:00
Kirill Chibisov 9f9baf3d86 api: fix NoError and debug requests
The api/egl always disabled debug when `NO_ERROR` was present in
extensions to avoid errors, however the error will be thrown only
when using `NO_ERROR` and debug context at the same time.

Fix the same issues with GLX/WGL as well as properly enable `NO_ERROR`
for those backends.

Fixes: #1635
2023-10-19 16:21:12 +04:00
Kirill Chibisov e75330f5db chore: add FUNDING.yml 2023-10-11 01:42:39 +04:00