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
Matthias Clasen
3a88522a19
Post-release version bump
2023-11-15 10:07:50 -05:00
Matthias Clasen
358cd28d09
4.13.3
2023-11-15 09:44:44 -05:00
Matthias Clasen
6eb6b0cb50
Cosmetics: typo fix
2023-11-15 06:45:52 -05:00
Matthias Clasen
c81954120a
Merge branch 'fix-giodesktopappinfo-check' into 'main'
...
Revert "Conditional check for gdesktopappinfo header"
See merge request GNOME/gtk!6568
2023-11-15 05:13:08 +00:00
Matthias Clasen
4bdc44f4af
Revert "Conditional check for gdesktopappinfo header"
...
This reverts commit 13b94dab10
.
As pointed out in #6557 , this commit is broken and causes
gio/gdesktopappinfo.h to never be found.
2023-11-14 23:45:17 -05:00
Matthias Clasen
3ab7b2d7ce
Merge branch 'va-fixes-reported-by-pvs' into 'main'
...
Fix issues spotted by PVS-Studio
See merge request GNOME/gtk!6558
2023-11-15 00:27:08 +00:00
Matthias Clasen
429056c214
Merge branch 'wip/otte/for-mclasen' into 'main'
...
gl: Don't punch hole if the subsurface is above
See merge request GNOME/gtk!6567
2023-11-15 00:26:45 +00:00
Benjamin Otte
acecf519bc
offload: Reject non-integer rectangles
...
We shouldn't just fudge with coordinates if we want accurate rendering.
2023-11-14 21:55:10 +01:00
Benjamin Otte
b2fbdcda41
subsurface: Report better error messages when rejecting textures
2023-11-14 21:54:38 +01:00
Benjamin Otte
1b08fda93e
renderer: Remove offload argument from render()
...
It turns out it's not needed, because all relevant information for
subsurfaces is already available by querying the subsurface itself.
2023-11-14 21:54:35 +01:00
Benjamin Otte
f6b6176ec0
gl: Handle subsurfaces without GskOffload
2023-11-14 21:51:07 +01:00
Luca Bacci
2803189afd
Merge branch 'gdkwin32_modernize_clipboard' into 'main'
...
GdkWin32: switch to new clipboard API
Closes #442
See merge request GNOME/gtk!6560
2023-11-14 20:09:55 +00:00
g.willems
ad08c1444a
win32: precalculate keymap at display opening
...
The default keymap and keymap layouts are calculated on request.
If done once a surface is setup and listening at win32 events,
we may then enter in a recursive loop.
To avoid this, precalculate the keymap as soon as displays are open.
Fixes #6203
Closes #6203
2023-11-14 20:26:05 +01:00
Benjamin Otte
ef77a6fa73
gl: Don't punch hole if the subsurface is above
...
Saves some work.
2023-11-14 20:22:24 +01:00
Matthias Clasen
667f02ecd8
Merge branch 'matthiasc/for-main' into 'main'
...
Updates
See merge request GNOME/gtk!6562
2023-11-14 17:49:04 +00:00