Benjamin Otte
9c87dd503a
testdmabuf: Vulkan requires listing of all dependencies
...
Shuts up the validation layer.
2024-02-09 04:28:32 +01:00
Benjamin Otte
f2ec3e336f
vulkan: Vulkan requires listing of all dependencies
...
So we list them.
Vulkan can be soooooo stupid.
Shuts up the validation layer.
2024-02-09 04:28:32 +01:00
Matthias Clasen
691ea8f11a
Merge branch 'implement_accessible_text_for_bare_gtk_text' into 'main'
...
a11y: Expose AT-SPI Text on a bare GTkText
Closes libadwaita#798
See merge request GNOME/gtk!6857
2024-02-09 02:15:09 +00:00
Matthias Clasen
f9ba19c4de
Apply review feedback
2024-02-09 01:50:06 +00:00
Matthias Clasen
1319f41d46
Merge branch 'device-pixels' into 'main'
...
Add a devicepixels test
See merge request GNOME/gtk!6861
2024-02-09 01:44:02 +00:00
Matthias Clasen
da024cfc90
Make devicepixels center its image
...
Also, add a fullscreen toggle action.
2024-02-08 15:31:38 -05:00
Matthias Clasen
6c6577dd6b
Add a devicepixels test
...
This is a very simple test that tries out rendering
textures 1:1 to device pixels.
2024-02-08 14:52:59 -05:00
Matthias Clasen
bfdd738d0b
Merge branch 'context-version' into 'main'
...
gpu: Print actually checked GLES version
See merge request GNOME/gtk!6860
2024-02-08 18:37:29 +00:00
Guido Günther
3cce78d02c
gpu: Print actually checked GLES version
...
We check for 3.0 not 2.0.
2024-02-08 16:24:50 +01:00
Matthias Clasen
5cc952fa3f
Merge branch 'gbsneto/a11y-copyright' into 'main'
...
a11y: Fix copyright headers
See merge request GNOME/gtk!6859
2024-02-08 15:01:41 +00:00
Georges Basile Stavracas Neto
7271eff628
a11y: Fix copyright headers
...
It's supposed to be a joint copyright.
2024-02-08 09:13:01 -03:00
Matthias Clasen
42bc89688c
Merge branch 'macos-native-key-bindings' into 'main'
...
Inform backends if events have been handled
Closes #2914 and #5637
See merge request GNOME/gtk!6750
2024-02-08 10:48:35 +00:00
Lukáš Tyrychtr
a4ff25485c
a11y: Expose AT-SPI Text on a bare GTkText
...
Previously, only EditableText was exposed, which does not make much sense.
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/798
2024-02-08 09:53:55 +01:00
Matthias Clasen
55f6517751
Merge branch 'matthiasc/for-main' into 'main'
...
gdk: Add some subsurface tests
See merge request GNOME/gtk!6856
2024-02-08 00:21:51 +00:00
Matthias Clasen
cefa09f74f
gdk: Add another assertion
...
Bad things happen if you attach a subsurface above itself, so
catch that case.
2024-02-07 17:41:38 -05:00
Matthias Clasen
906661d40b
gdk: Add some subsurface tests
...
Test that the stacking order is properly maintained.
2024-02-07 17:41:07 -05:00
Matthias Clasen
32abe5b8bb
gdk: Drop nonexisting api form headers
2024-02-07 17:33:20 -05:00
Matthias Clasen
cb9de9a48e
Merge branch 'matthiasc/for-main' into 'main'
...
Fix subsurface stacking
See merge request GNOME/gtk!6855
2024-02-07 21:59:37 +00:00
Matthias Clasen
d823502af7
Fix subsurface stacking
...
This wasn't working :(
2024-02-07 16:23:51 -05:00
Matthias Clasen
62774c2e53
Merge branch 'matthiasc/for-main' into 'main'
...
Revert "gstreamer: Add more debug spew"
See merge request GNOME/gtk!6854
2024-02-07 20:28:29 +00:00
Matthias Clasen
b885d288cc
Revert "gstreamer: Add more debug spew"
...
This reverts commit 67e50a6cfd
.
2024-02-07 15:26:08 -05:00
Benjamin Otte
da36a6a5d2
Merge branch 'wip/otte/for-main' into 'main'
...
video: Don't try to play no media stream
See merge request GNOME/gtk!6853
2024-02-07 18:44:58 +00:00
Matthias Clasen
09ac592114
Merge branch 'matthiasc/for-main' into 'main'
...
gstreamer: Simplify dmabuf code
See merge request GNOME/gtk!6852
2024-02-07 18:21:25 +00:00
Benjamin Otte
19fccb13c3
gpu: GL < 4.0 needs the ifelse ladder for textures
...
GL 4.0 (section 4.1.7) allows dynamically uniform expressions as texture
indexes, GL 3.3 (again section 4.1.7) requires constants.
Related: #6401
2024-02-07 19:09:07 +01:00
Matthias Clasen
c654cb0f37
testsuite: Add a suite for offload tests
2024-02-07 12:38:18 -05:00
Matthias Clasen
6dfa6fe442
testdmabuf: Add a --fullscreen option
...
This may help in getting a scanout tranche.
2024-02-07 12:38:18 -05:00
Matthias Clasen
a61c7f7871
gdk: Split off dmabuf format tests
...
The dmabuf texture tests are failing, so we don't run them in
ci, but the format tests are perfectly fine, so split them off.
Add some tests for GdkDmabufFormatsBuilder and for the new
gdk_dmabuf_formats_equal(), too.
2024-02-07 12:38:18 -05:00
Matthias Clasen
8e4a235f56
dmabuf: Add gdk_dmabuf_formats_equal
...
Not much to say here, this is an obvious function.
We rely on formats being sorted.
2024-02-07 12:38:18 -05:00
Matthias Clasen
3cb1b9d4cb
wayland: Drop GdkWaylandSubsurface.above_parent
...
This is now tracked in GdkSubsurface.
2024-02-07 12:38:18 -05:00
Matthias Clasen
eaf944938b
surface: Keep subsurface stacking order
...
It is useful for us to know this, in particular the topmost
subsurface, to determine the right dmabuf formats.
2024-02-07 12:38:18 -05:00
Matthias Clasen
930fb24053
Merge branch 'macos_build_tests' into 'main'
...
Build tests in macOS CI
See merge request GNOME/gtk!6836
2024-02-07 17:30:00 +00:00
Arjan Molenaar
12069d2b91
macos: hand event to NSApp if it's not handled by us
...
This way default key bindings such as `Cmd+\`` (change window)
and `Ctrl+F2` (focus menu), can be activate with default shortcuts.
2024-02-07 16:36:36 +01:00
Arjan Molenaar
d3666f7b28
main: Propagate event handled state up backend
...
Expose information about if an event is handled to the backends.
This will allow a backend to deal with unhandled events, such as
macOS' default key bindings.
2024-02-07 16:36:26 +01:00
Matthias Clasen
67e50a6cfd
gstreamer: Add more debug spew
2024-02-07 14:43:01 +00:00
Matthias Clasen
9e05ce18d9
gstreamer: Simplify dmabuf code
...
We don't need a property here, we can just get the formats from
the display.
2024-02-07 14:41:28 +00:00
Matthias Clasen
a77598d6ec
display: Add missing introspection attribute
2024-02-07 14:41:28 +00:00
Matthias Clasen
9a2ba3053b
Cosmetics
2024-02-07 14:41:28 +00:00
Matthias Clasen
7e71f1197b
NEWS: Updates
2024-02-07 14:41:28 +00:00
Benjamin Otte
4e091b1791
video: Don't try to play no media stream
...
Avoids 2 criticals.
2024-02-07 15:28:09 +01:00
Matthias Clasen
dcebddc908
Merge branch 'wip/corey/file-chooser-startup' into 'main'
...
filechooserwidget fix slow load time
See merge request GNOME/gtk!6846
2024-02-07 07:28:18 +00:00
Matthias Clasen
6f67991e0e
Merge branch 'matthiasc/for-main' into 'main'
...
node-editor: Make crash handling more robust
See merge request GNOME/gtk!6845
2024-02-07 07:26:41 +00:00
Benjamin Otte
9bc4585247
Merge branch 'wip/otte/for-main' into 'main'
...
x11: Fix memleak
Closes #6404
See merge request GNOME/gtk!6847
2024-02-07 06:52:08 +00:00
Benjamin Otte
305ef51684
x11: Fix memleak
...
Fixes #6404
2024-02-07 07:03:59 +01:00
Quentin PAGÈS
0c61610699
Update Occitan translation
2024-02-06 20:11:37 +00:00
Corey Berla
99dd6c579d
filechooserwidget: Reuse timzezone
...
It's wasteful to call _local api's multiple times.
2024-02-06 11:36:27 -08:00
Corey Berla
8f3d85007b
filechooserwidget: Limit recent folders to default limit
2024-02-06 11:36:27 -08:00
Corey Berla
7823e8120d
filechooserwidget: Load recent files in bulk
...
We add recent files one at a time which is incredibly wasteful.
This is most obvious when the action is SAVE or OPEN_FOLDER because
we aren't limiting the number of recent files (as we are with OPEN),
so for me it took about 5 seconds to open a file dialog with OPEN_FOLDER
since the default location is recents.
2024-02-06 11:36:22 -08:00
Matthias Clasen
5ff7b37b61
NEWS: Updates
2024-02-06 18:41:47 +00:00
Matthias Clasen
d3e4d310b2
node-editor: Improve the crash warning
...
Hint in the text how to reenable auto-reload. A button for this
is not practical in the notification itself, since it will just
crash again if you reenable it without editing the content.
2024-02-06 18:41:47 +00:00
Matthias Clasen
77c115c224
node-editor: Make crash handling more robust
...
Handle cases where the crash only happens in render(), and not
in reload().
2024-02-06 18:41:47 +00:00