Matthias Clasen
463b6dd1fd
Merge branch 'egl-device-info' into 'main'
...
EGL: Print out the device info
See merge request GNOME/gtk!6590
2023-11-21 05:04:35 +00:00
Matthias Clasen
88e1f77f90
EGL: Print out the device info
...
This may become more relevant info, with dmabuf formats being
tied to specific devices.
2023-11-20 23:40:00 -05:00
Matthias Clasen
1ee488f445
Merge branch 'matthiasc/for-main' into 'main'
...
wayland: Move subsurface creation code
See merge request GNOME/gtk!6589
2023-11-21 00:04:02 +00:00
Matthias Clasen
eae0e15b9d
wayland: Move subsurface creation code
...
This belongs with all the other subsurface handling.
2023-11-20 18:01:09 -05:00
Matthias Clasen
00d551bda8
Merge branch 'drop-legacy-gl' into 'main'
...
Drop the gl-legacy debug value
See merge request GNOME/gtk!6585
2023-11-20 13:31:27 +00:00
Matthias Clasen
2dcec44714
Drop the nograbs debug value
...
This was only used in the x11 backend, and I haven't seen it
actively recommended for debugging anything in ages.
2023-11-20 08:02:03 -05:00
Matthias Clasen
f04c819439
Drop the gl-legacy debug value
...
The consensus is that we can do without this.
2023-11-20 08:02:02 -05:00
Matthias Clasen
c679ba9ebf
wip: ci: rework the test runs
2023-11-19 21:26:04 -05:00
Matthias Clasen
9aadc2b860
ci: Tweak the run-tests script
...
The main change here is to pass the suite to run as an explicit
argument. This is in preparation for running less tests.
2023-11-19 21:26:04 -05:00
Emmanuele Bassi
e4370cc95e
Merge branch 'matthiasc/for-main' into 'main'
...
file dialog: Return an error if no file is selected
Closes #6139
See merge request GNOME/gtk!6586
2023-11-19 18:29:57 +00:00
Matthias Clasen
22ceb018fb
file dialog: Return an error if no file is selected
...
This was brought as a problem for bindings in #6139 .
Fixes : #6139
2023-11-19 12:46:56 -05:00
Matthias Clasen
833d307695
Merge branch 'default-to-gles' into 'main'
...
Use GLES by default
Closes #6170
See merge request GNOME/gtk!6520
2023-11-19 16:14:04 +00:00
Piotr Drąg
e8afb5e210
Update Polish translation
2023-11-19 15:34:46 +01:00
Matthias Clasen
b916c4dac1
ci: Reshuffle test setups
...
Add a wayland_gl setup that explicitly uses desktop GL, and rename
wayland_gles to wayland_gles2 (since that is what it does).
In ci, make the fedora-x86_64 runner run tests with wayland_gl
and wayland_gles2, and make the fedora-release runner run test
with wayland and x11.
2023-11-19 08:24:38 -05:00
Matthias Clasen
699c6d6159
Use GLES by default
...
With the advent of dmabuf support, using GLES has become more
attractive, since we can use its external texture support to
support more dmabuf formats.
You can go back to the previous preference order by setting
GDK_DEBUG=gl-prefer-gl
2023-11-19 08:07:03 -05:00
Matthias Clasen
025b846fce
Add a debug value to prefer desktop GL
...
This will be used in the next commit, when we change the default
preference to be GLES.
2023-11-19 08:07:02 -05:00
Matthias Clasen
fcdbab3f69
gl: Tweak debug values for GL api selection
...
Replace GDK_DEBUG=gl-gles with GDK_DEBUG=gl-disable-gl, and add
a GDK_DEBUG=gl-disable-gles to match.
2023-11-19 08:07:02 -05:00
Matthias Clasen
d7eac7a6ad
Merge branch 'cssselector-alloc' into 'main'
...
css: Don't allocate needlessly while processing selectors
See merge request GNOME/gtk!6584
2023-11-19 12:46:57 +00:00
Matthias Clasen
52dbb3f372
css: Don't allocate needlessly while processing selectors
...
The recursive subdivide_info function works by soring the
selector infos it gets into 2 (or 3) buckets: exact matches,
matches, and remaining. Then it recurses on the matches and
remaining buckets. This can be done without allocating extra
arrays, by sorting the given array in the right way.
This needs some serious testing.
Fixes : #6583
2023-11-18 18:12:10 -05:00
Piotr Drąg
7dc38ca12f
Update Polish translation
2023-11-18 17:15:18 +01:00
Matthias Clasen
e858924d03
Merge branch 'matthiasc/for-main' into 'main'
...
inspector: Update the logging tab
See merge request GNOME/gtk!6581
2023-11-18 15:26:33 +00:00
Matthias Clasen
852aab1576
inspector: Update the logging tab
...
There's two new values here, Dmabuf and Offload.
2023-11-18 09:54:43 -05:00
Matthias Clasen
5eb42815ed
Merge branch 'subsurface-aboveness' into 'main'
...
offload: Keep was-raised for each subsurface
Closes #6214
See merge request GNOME/gtk!6580
2023-11-18 13:42:27 +00:00
Luca Bacci
0b853f62ed
Merge branch '6203_gdk_win32_precalculate_keymap' into 'main'
...
GdkWin32: precalculate keymap at display opening
Closes #6203
See merge request GNOME/gtk!6566
2023-11-18 13:24:21 +00:00
Matthias Clasen
fb969f5431
offload: Raise all subsurfaces that can be
...
If two subsurfaces don't overlap and aren't otherwise obstructed,
we can just raise them both.
Tests included.
2023-11-18 08:19:43 -05:00
Matthias Clasen
ef6ed31853
offload: Drop unused api
2023-11-18 08:19:43 -05:00
Matthias Clasen
c57245b73c
diff: Take above-ness into account
...
We need to include the full area if a subsurface
above-ness changes, since we only punch holes if
it is above.
Fixes : #6214
2023-11-18 08:19:43 -05:00
Matthias Clasen
f9fd78b67e
offload: Keep was-raised for each subsurface
...
We need this information for proper diffing.
2023-11-18 08:19:43 -05:00
Matthias Clasen
00a63a9fcf
offload tests: Fix the simple test
...
This was expecting the wrong 'above'. Oops.
2023-11-18 08:19:43 -05:00
Matthias Clasen
b4ae2377b3
offload tests: Make --verbose work
...
When passing a directory via G_TEST_SRCDIR, still pay attention
to --verbose, and print out each file thats tests. This lets us
quickly pin down which test fails.
2023-11-18 08:19:43 -05:00
Matthias Clasen
392977d670
offload tests: fix output
2023-11-18 08:18:29 -05:00
Matthias Clasen
5a29e2704c
Merge branch 'dmabuf-separate-alpha-formats' into 'main'
...
dmabuf: Add support for separate alpha formats
See merge request GNOME/gtk!6571
2023-11-18 07:41:44 +00:00
Matthias Clasen
ec6c52680e
Merge branch 'michaelweghorn/a11y_align_paragraph_super_role_with_aria' into 'main'
...
a11y: Align paragraph's super role with ARIA
See merge request GNOME/gtk!6579
2023-11-17 12:02:53 +00:00
Sveinn í Felli
d850161b2f
Update Icelandic translation
...
(cherry picked from commit e608a18043
)
2023-11-17 10:36:10 +00:00
Michael Weghorn
1a3504469d
a11y: Align paragraph's super role with ARIA
...
As the commit message in
commit 9f078bd5c9
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Mon Sep 25 10:41:42 2023 +0200
a11y: Add paragraph role
already says, the super role of the paragraph role
in ARIA is the section role [1]. But then, that commit
accidently set the structure role for the super role,
so fix that now.
[1] https://www.w3.org/TR/wai-aria-1.2/#paragraph
2023-11-17 07:46:55 +01:00
Matthias Clasen
be0546bb39
testdmabuf: Support a separate-alpha format
...
This helps with verifying the support for these formats
in gdkdmabuf.c.
2023-11-16 20:54:16 -05:00
Matthias Clasen
d4a569057f
Cosmetics: Typo fix
2023-11-16 20:54:15 -05:00
Matthias Clasen
c5727df568
dmabuf: Add support for separate alpha formats
...
Support dmabuf formats with alpha in a separate plane.
Related: #6208
2023-11-16 20:53:52 -05:00
Benjamin Otte
7406cea257
Merge branch 'wip/otte/for-main' into 'main'
...
wayland: Don't create a new wl_buffer if the texture didn't change
See merge request GNOME/gtk!6577
2023-11-16 23:54:57 +00:00
Benjamin Otte
de3f55fc5f
testdmabuf: Use Vulkan to create dmabufs
...
This is somewhat hacky, but good enough for testing.
And it's definitely better than needing to chmod files owned by root.
2023-11-17 00:22:27 +01:00
Benjamin Otte
010ff81b2f
wayland: Don't create a new wl_buffer if the texture didn't change
...
Avoids flickering in Mutter - which is probably a mutter bug.
But it also reduces traffic, so it's a good thing anyway.
2023-11-17 00:22:27 +01:00
Matthias Clasen
c94ec8b658
Merge branch 'michaelweghorn/bump_version' into 'main'
...
Bump version in meson.build to 4.13.4
See merge request GNOME/gtk!6574
2023-11-16 19:04:59 +00:00
Michael Weghorn
9c1ae5374d
Bump version in meson.build to 4.13.4
...
... as commit 3a88522a19
did
for the NEWS file after the 4.13.3 release
(tag "4.13.3", commit 358cd28d09
).
2023-11-16 17:02:44 +01:00
Matthias Clasen
4a018de0a1
Merge branch 'michaelweghorn/a11y_add_blockquote_role' into 'main'
...
a11y: Add block quote role
See merge request GNOME/gtk!6539
2023-11-16 14:25:01 +00:00
Matthias Clasen
23e50bb21d
Merge branch 'main' into 'main'
...
Fix warnings when compiling with -pedantic
See merge request GNOME/gtk!6570
2023-11-15 23:00:41 +00:00
madmurphy
a8e3e747df
Fix warnings when compiling with -pedantic
2023-11-15 23:00:41 +00:00
Matthias Clasen
7fd90853f8
Merge branch 'matthiasc/for-main' into 'main'
...
video: Hide controls and cursor in fullscreen
Closes #6210
See merge request GNOME/gtk!6572
2023-11-15 20:46:38 +00:00
Matthias Clasen
01aa4989f8
Merge branch 'wip/wjt/gtkgraphicsoffload-docs-typo' into 'main'
...
gtkgraphicsoffload: fix documentation typo
See merge request GNOME/gtk!6573
2023-11-15 20:46:15 +00:00
Will Thompson
d4fee23ff6
gtkgraphicsoffload: fix documentation typo
2023-11-15 19:45:17 +00:00
Matthias Clasen
b878949f00
video: Hide controls and cursor in fullscreen
...
Be a bit more aggressive about hiding the controls, and also
hide the cursor if we are paying a video and are fullscreen.
Fixes : #6210
2023-11-15 14:24:39 -05:00