Luca Bacci [Wed, 21 Jun 2023 13:19:05 +0000 (15:19 +0200)]
GdkWin32: Keep track of the last cursor position in move / resize contexts
...and avoid doing any work if the position hasn't changed.
Matthias Clasen [Wed, 21 Jun 2023 12:01:00 +0000 (12:01 +0000)]
Merge branch 'wip/antoniof/my-mistake' into 'main'
Fix my a mistake
See merge request GNOME/gtk!6130
António Fernandes [Wed, 21 Jun 2023 11:23:39 +0000 (12:23 +0100)]
columnviewrowwidget: Reset roles on teardown
This was added to the wrong file in
e245883f911bb2f9d1df6beaeb7edd332f797990
Fix the mistake.
Matthias Clasen [Wed, 21 Jun 2023 10:22:41 +0000 (10:22 +0000)]
Merge branch 'wip/antoniof/columnviewrow-accessible-label' into 'main'
columnviewrow: Add accessible-label and -description
Closes #5903
See merge request GNOME/gtk!6129
Matthias Clasen [Wed, 21 Jun 2023 10:07:57 +0000 (10:07 +0000)]
Merge branch 'always-more-a11y-fixes' into 'main'
range: Don't use an abstract role
See merge request GNOME/gtk!6127
Matthias Clasen [Wed, 21 Jun 2023 10:07:40 +0000 (10:07 +0000)]
Merge branch 'bump-glib' into 'main'
Bump GLib requirement to 2.76.0
See merge request GNOME/gtk!6128
António Fernandes [Wed, 21 Jun 2023 09:24:54 +0000 (10:24 +0100)]
columnviewrow: Add accessible-label and -description
Echoing the same changes introduced for GtkListItem by these commits:
*
df8d28f5fead251b725cf4cfe7d6da7cc429eb21
*
f2b682dd9cd87b3b4cd2f1f662c5a06624b294a2
Resolves https://gitlab.gnome.org/GNOME/gtk/-/issues/5903
Chun-wei Fan [Wed, 21 Jun 2023 04:24:40 +0000 (12:24 +0800)]
Visual Studio: Remove workarounds for <= glib-2.74.x
We now need glib-2.76.0 or later, which removes our needs for the workarounds
that we need to build the media backends against GLib-2.74.x or earlier, so
clean up things a bit.
Chun-wei Fan [Wed, 21 Jun 2023 04:00:42 +0000 (12:00 +0800)]
glib.wrap: Use 2.76.0
We are now using APIs that were introduced in 2.75.x, so let's use glib-2.76.0
here for our glib subproject.
Update the build and gobject-introspection items accordingly
Matthias Clasen [Wed, 21 Jun 2023 02:02:37 +0000 (22:02 -0400)]
Make generic really the default role
If nothing else has been set for the instance
or the class, return GTK_ACCESSIBLE_ROLE_GENERIC.
Matthias Clasen [Wed, 21 Jun 2023 01:57:50 +0000 (21:57 -0400)]
frame: Use the group role
Matthias Clasen [Wed, 21 Jun 2023 00:48:44 +0000 (20:48 -0400)]
ci: Use the current build options for flatpaks
These were changed a while ago.
Matthias Clasen [Wed, 21 Jun 2023 00:48:01 +0000 (20:48 -0400)]
a11y: Fix the stack switcher selection implementation
This was listening for signals on the wrong object.
Matthias Clasen [Tue, 20 Jun 2023 18:26:22 +0000 (14:26 -0400)]
NEWS: updates
Matthias Clasen [Tue, 20 Jun 2023 17:46:44 +0000 (13:46 -0400)]
range: Don't use an abstract role
This snuck through, because the range wasn't
setting any role at all, it just ends up using
the initial, abstract role of widget.
Benjamin Otte [Tue, 20 Jun 2023 18:38:41 +0000 (18:38 +0000)]
Merge branch 'wip/otte/for-vulkan' into 'main'
vulkan: Fix a bunch of validation-layer complaints
See merge request GNOME/gtk!6126
Benjamin Otte [Tue, 20 Jun 2023 18:16:07 +0000 (20:16 +0200)]
vulkan: Rebuild the precompiled shaders
We forgot that with all the changes.
Benjamin Otte [Tue, 20 Jun 2023 14:35:55 +0000 (16:35 +0200)]
vulkan: Take offscreen fromat from context
We want to create offscreens in compatible formats, and in particular we
want to ideally use the same format as rendering would use.
Benjamin Otte [Tue, 20 Jun 2023 13:39:29 +0000 (15:39 +0200)]
vulkan: Use 3 descriptor sets, not 3 bindings
It turns out variable length is only supported for the last binding in
a set, not for every binding.
So we need to create one set for each of our arrays.
[ VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-pBindingFlags-03004 ] Object 0: handle = 0x33a9f10, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xd3f353a | vkCreateDescriptorSetLayout(): pBindings[0] has VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT but 0 is the largest value of all the bindings. The Vulkan spec states: If an element of pBindingFlags includes VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, then all other elements of VkDescriptorSetLayoutCreateInfo::pBindings must have a smaller value of binding (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-pBindingFlags-03004)
Benjamin Otte [Tue, 20 Jun 2023 13:32:23 +0000 (15:32 +0200)]
vulkan: Use the right flags
Somebody (me) had flipped the 2 flags in commit
ba28971a183:
[ VUID-vkCmdCopyBufferToImage-srcBuffer-00174 ] Object 0: handle = 0x3cfaac0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0x430000000043, type = VK_OBJECT_TYPE_BUFFER; | MessageID = 0xe1b276a1 | Invalid usage flag for VkBuffer 0x430000000043[] used by vkCmdCopyBufferToImage. In this case, VkBuffer should have VK_BUFFER_USAGE_TRANSFER_SRC_BIT set during creation. The Vulkan spec states: srcBuffer must have been created with VK_BUFFER_USAGE_TRANSFER_SRC_BIT usage flag (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdCopyBufferToImage-srcBuffer-00174)
Benjamin Otte [Tue, 20 Jun 2023 13:29:45 +0000 (15:29 +0200)]
vulkan: Set descriptorBindingStorageBufferUpdateAfterBind
It's necessary now that we use storage buffers for gradients:
[ VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-descriptorBindingStorageBufferUpdateAfterBind-03008 ] Object 0: handle = 0x1e72d70, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x943cc552 | vkCreateDescriptorSetLayout(): pBindings[0] can't have VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT for VK_DESCRIPTOR_TYPE_STORAGE_BUFFER since descriptorBindingStorageBufferUpdateAfterBind is not enabled. The Vulkan spec states: If VkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingStorageBufferUpdateAfterBind is not enabled, all bindings with descriptor type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER must not use VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-descriptorBindingStorageBufferUpdateAfterBind-03008)
Benjamin Otte [Mon, 19 Jun 2023 17:29:13 +0000 (19:29 +0200)]
vulkan: Remove unused declaration from shader
Matthias Clasen [Tue, 20 Jun 2023 17:13:51 +0000 (17:13 +0000)]
Merge branch 'always-more-a11y-fixes' into 'main'
Add a comment about accessible naming
See merge request GNOME/gtk!6125
Matthias Clasen [Tue, 20 Jun 2023 16:34:01 +0000 (12:34 -0400)]
a11y: Improve name computation
We only want to settle on subtree content
if it provides nonempty text. Otherwise,
the tooltip should still win.
This was clarified in the current Editor Draft
of the accessible name computation spec.
Matthias Clasen [Tue, 20 Jun 2023 16:33:02 +0000 (12:33 -0400)]
a11y: Fix tests
The change to make hidden follow mappedness
means that we now need to arrange for our
test cases to be mapped.
Matthias Clasen [Tue, 20 Jun 2023 15:05:22 +0000 (11:05 -0400)]
Add some more a11y tests
Check that the hidden state is as it should be.
Matthias Clasen [Tue, 20 Jun 2023 14:56:41 +0000 (10:56 -0400)]
menubutton: Remove all the labelled-by relations
This was a bit much, and should not be necessary anymore,
now that our name computation handles nested buttons.
Matthias Clasen [Tue, 20 Jun 2023 14:40:12 +0000 (10:40 -0400)]
widget: Fix accessible hidden state
Make this track the widgets' mapped state
instead of visible. Also, set hidden to FALSE
initially, since the accessible name computation
checks for hidden==FALSE.
Matthias Clasen [Tue, 20 Jun 2023 10:53:34 +0000 (06:53 -0400)]
Add a comment about accessible naming
Put a note on why there are a few differences
to ARIA.
Matthias Clasen [Tue, 20 Jun 2023 01:43:18 +0000 (21:43 -0400)]
NEWS: Updates
Matthias Clasen [Tue, 20 Jun 2023 09:55:58 +0000 (09:55 +0000)]
Merge branch 'listitem-a11y' into 'main'
listitem: Add accessible-label and -description
See merge request GNOME/gtk!6123
Matthias Clasen [Tue, 20 Jun 2023 02:14:23 +0000 (22:14 -0400)]
a11y: Stop recommending tab list labels
There is no good way to set an explicit label
on the tab list of a GtkNotebook, so showing
a blue overlay on it is annoying more than
helpful.
This is another little deviation from the ARIA
authoring guidelines.
Matthias Clasen [Tue, 20 Jun 2023 02:12:05 +0000 (22:12 -0400)]
a11y: Stop recommending against listitem labels
Due to the way listviews are set up, there is not
much of an alternative to setting labels on the
listitems, so don't recommend against doing it.
This is a little deviation from the ARIA authoring
guidelines.
Matthias Clasen [Tue, 20 Jun 2023 02:11:14 +0000 (22:11 -0400)]
gizmo: Stop using abstract roles
This was overlooked.
Matthias Clasen [Tue, 20 Jun 2023 02:10:45 +0000 (22:10 -0400)]
gtk-demo: Some a11y improvements
Add missing labels to the applauncher demo
and the clocks demo.
Matthias Clasen [Tue, 20 Jun 2023 01:50:45 +0000 (21:50 -0400)]
listitemwidget: Clean up in teardown
Matthias Clasen [Tue, 20 Jun 2023 01:23:13 +0000 (01:23 +0000)]
Merge branch 'a11y-work' into 'main'
A11y role changes
See merge request GNOME/gtk!6101
Matthias Clasen [Tue, 20 Jun 2023 01:06:50 +0000 (21:06 -0400)]
gtk-demo: Improve a11y for applauncher
Use the new listitem properties to make
orca read the selected item in the applauncher
demo.
Matthias Clasen [Tue, 20 Jun 2023 01:05:51 +0000 (21:05 -0400)]
listitem: Add accessible-label and -description
Add properties to GtkListItem to set the accessible
label and description of the listitem widget. This
is important, since orca will read these if the
listitem widget ends up with the focus.
Matthias Clasen [Fri, 16 Jun 2023 22:40:19 +0000 (18:40 -0400)]
a11y: Add the ARIA ontology
Add a helper function to find out which roles are
superclasses of each other.
This isn't used yet (apart from the existing use for
ranges), but it might be in the future.
Matthias Clasen [Fri, 16 Jun 2023 23:04:06 +0000 (19:04 -0400)]
Docs: update
Matthias Clasen [Fri, 16 Jun 2023 19:42:42 +0000 (15:42 -0400)]
a11y: Treat widget and window as abstract roles
We no longer use these, so we can enforce
that they are abstract.
Matthias Clasen [Fri, 16 Jun 2023 23:03:49 +0000 (19:03 -0400)]
window: Use application as accessible role
ARIA deems the window role to be abstract,
so lets use the application role instead.
Update affected tests.
Matthias Clasen [Fri, 16 Jun 2023 19:56:39 +0000 (15:56 -0400)]
Add the application role
ARIA has this role. We left it out initially, but
it is an ok fit for toplevel windows, and better
than window, since that is meant to be abstract.
Matthias Clasen [Fri, 16 Jun 2023 19:26:03 +0000 (15:26 -0400)]
Use generic as default accessible role
The ARIA specs want widget to be abstract role.
We should respect that and use 'generic' instead.
Matthias Clasen [Fri, 16 Jun 2023 19:14:57 +0000 (15:14 -0400)]
widget: Warn for abstract accessible roles
These should not be used for widgets, so warn if
they are passed to gtk_widget_set_accessible_role()
or gtk_widget_class_set_accessible_role().
Matthias Clasen [Fri, 16 Jun 2023 18:55:06 +0000 (14:55 -0400)]
Add gtk_accessible_role_is_abstract
Move this code from the a11y overlay in the inspector.
It will be used more widely, going forward.
Matthias Clasen [Mon, 19 Jun 2023 16:35:36 +0000 (12:35 -0400)]
Add another a11y test
Matthias Clasen [Mon, 19 Jun 2023 21:06:13 +0000 (21:06 +0000)]
Merge branch 'a11y-defeat' into 'main'
Give up on warning ATs into submission
See merge request GNOME/gtk!6121
Matthias Clasen [Mon, 19 Jun 2023 20:52:15 +0000 (20:52 +0000)]
Merge branch 'fix-issue-5899' into 'main'
GtkFileChooserWidget: Fix condition on visit action
Closes #5899
See merge request GNOME/gtk!6103
Matthias Clasen [Mon, 19 Jun 2023 20:41:39 +0000 (16:41 -0400)]
a11y: Remove the unrealized warning
This warning triggers quite a lot when opening
a window while orca is running, which clearly
shows that what it warns about happens in
practice. But fixing it is reentry hell, and
not a battle I'm up for today.
Matthias Clasen [Mon, 19 Jun 2023 20:41:20 +0000 (16:41 -0400)]
Give up on warning ATs into submission
Its been more than a decade since Wayland
has not supported screen coordinates. Clearly
spamming every apps stderr with warnings is
never going to make ATs stop asking for screen
coordinates.
Just give up. Go home
Benjamin Otte [Mon, 19 Jun 2023 20:26:18 +0000 (20:26 +0000)]
Merge branch 'unaligned-access' into 'main'
gtk: Align key_size up to key_align
Closes #5907
See merge request GNOME/gtk!6120
Matt Turner [Mon, 19 Jun 2023 19:50:04 +0000 (15:50 -0400)]
gtk: Align key_size up to key_align
Avoids unaligned accesses when e.g. the key_size is 12 and key_align is
8. We need to round the key size up to 16 to ensure that all keys are
appropriately aligned.
This manifested as a failure in the `gtk:gtk / sorter` unit test on
sparc.
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5907
Matt Turner [Mon, 19 Jun 2023 19:47:17 +0000 (15:47 -0400)]
gtk: Pass G_ALIGNOF (...) to gtk_sort_keys_new
The sizeof and G_ALIGNOF are often, but not always, identical.
Daniel Boles [Mon, 19 Jun 2023 19:28:01 +0000 (20:28 +0100)]
Widget: Also mention get_height in get_alloc depʼn
The deprecation notice seems to have been copied from
get_allocated_width(), but for get_allocation() height is also relevant.
Matthias Clasen [Mon, 19 Jun 2023 17:49:22 +0000 (17:49 +0000)]
Merge branch 'redo-a11y-name-computation' into 'main'
Reimplement a11y name computation
See merge request GNOME/gtk!6119
Matthias Clasen [Mon, 19 Jun 2023 15:25:09 +0000 (11:25 -0400)]
Add more name computation tests
Test the fallback for range values.
This was not working at all before
the previous commit.
Matthias Clasen [Mon, 19 Jun 2023 15:42:10 +0000 (11:42 -0400)]
a11y: Fix name computation for ranges
There were two problems here:
First, the code was checking for the abstract
range role, instead of its subclasses.
Second, the code was calling a string value
getter on a number value. Oops.
Matthias Clasen [Mon, 19 Jun 2023 03:05:21 +0000 (23:05 -0400)]
Add tests for accessible name computation
Matthias Clasen [Mon, 19 Jun 2023 14:45:59 +0000 (10:45 -0400)]
a11y: Quietly allow realizing unrooted at context
We can't set the display if we don't have a root,
but the default display is more than good enough
for the tests which otherwise would need to do
quite a bit more setup work to make their test
widgets rooted.
Matthias Clasen [Mon, 19 Jun 2023 15:47:59 +0000 (11:47 -0400)]
a11y: Only allow get_name/description when realized
These functions rely on self->accessible_role
being set, and that is only the case for realized
contexts.
In practice, this is not a problem. Contexts are
realized before ATs can get their names or descriptions,
and the inspector realizes contexts too, nowadays.
The only place where this caused a hickup is the
testsuite.
Matthias Clasen [Sun, 18 Jun 2023 22:57:02 +0000 (18:57 -0400)]
label: Stop overriding accessible label
There's no need to, the accessible name computation
picks the content up where it is allowed (and not
overridden by explicit attributes).
Matthias Clasen [Sun, 18 Jun 2023 22:56:14 +0000 (18:56 -0400)]
a11y: Reimplement name computation
Reimplement the name computation to follow the spec
(https://www.w3.org/TR/accname-1.2) more closely.
Also, unify the functions for name and description,
since their only difference is which property/relation
they use.
Matthias Clasen [Mon, 19 Jun 2023 14:09:17 +0000 (10:09 -0400)]
a11y: Cosmetics
No need to have two code paths doing the same.
Matthias Clasen [Mon, 19 Jun 2023 16:21:31 +0000 (16:21 +0000)]
Merge branch 'a11y-inspector-tweaks' into 'main'
Move the a11y naming data into gtk proper
See merge request GNOME/gtk!6118
Matthias Clasen [Sun, 18 Jun 2023 20:43:58 +0000 (16:43 -0400)]
a11y: Move naming data to gtkatcontext.c
This is in preparation for using this information
in the name computation.
Matthias Clasen [Sun, 18 Jun 2023 19:28:58 +0000 (15:28 -0400)]
inspector: Tweak the a11y overlay
Shorten the warnings, and lower some of the
errors to 'not recommended' (where the authoring
guidelines say 'do not label', but aria doesn't
prohibit labels outright).
Matthias Clasen [Sun, 18 Jun 2023 19:28:22 +0000 (15:28 -0400)]
a11y: Update the name-prohibited list
ARIA has the time role in this as well.
It does not matter in practice since we don't
have a widget with this role, but lets match
the specs.
Matthias Clasen [Sun, 18 Jun 2023 19:15:54 +0000 (15:15 -0400)]
a11y: Cover the printer option widget case too
This is another case of nested control, in this
case it goes two levels deep. Since we already
have this hack, lets use it for all the cases.
This avoids some more complicated workaround.
Matthias Clasen [Mon, 19 Jun 2023 15:14:43 +0000 (11:14 -0400)]
docs: Add guidance on container roles
Provide some guidance on whether group or generic
is a more suitable role for containers.
Matthias Clasen [Sat, 17 Jun 2023 21:12:37 +0000 (17:12 -0400)]
a11y: Change the role for many containers
The group role that we've used before has some
implications of semantic grouping, whereas these
containers are mainly about layout, so use the
generic role instead.
This should not affect the translation to AT-SPI
at all.
The affected containers are: box, grid, centerbox,
scrolledwindow, viewport, windowhandle, aspectframe.
The role of GtkTreeExpander has been changed to
button instead, since it acts as a button.
Matthias Clasen [Mon, 19 Jun 2023 02:14:19 +0000 (22:14 -0400)]
a11y: Treat none and presentation the same
ARIA says these roles are aliases, so treat them
the same.
Benjamin Otte [Mon, 19 Jun 2023 14:30:50 +0000 (14:30 +0000)]
Merge branch 'wip/otte/for-vulkan' into 'main'
vulkan: Add support for different image formats
See merge request GNOME/gtk!6117
Benjamin Otte [Mon, 19 Jun 2023 12:54:00 +0000 (14:54 +0200)]
vulkan: Check for descriptor indexing extension
By checking if the extension is supported and avoiding devices when it
isn't, we avoid critical warnings later.
Benjamin Otte [Mon, 19 Jun 2023 12:48:37 +0000 (14:48 +0200)]
vulkan: Refactor function
Instead of checking for one specific extension, instead pass the
extension to check for by name.
This way we can reuse it for different extensions.
Benjamin Otte [Sun, 18 Jun 2023 12:00:39 +0000 (14:00 +0200)]
vulkan: Add support for high bit depth
Benjamin Otte [Sat, 17 Jun 2023 17:15:05 +0000 (19:15 +0200)]
vulkan: Don't create unnecessary render passes
Pass the render pass to the pipeline creation function instead of
creating an extra one just for pipeline creation.
Benjamin Otte [Sat, 17 Jun 2023 16:53:33 +0000 (18:53 +0200)]
vulkan: Put the framebuffer in the renderpass
... instead of having fancy caching.
That caching is complicated and it's not necessary.
Benjamin Otte [Sat, 17 Jun 2023 14:05:09 +0000 (16:05 +0200)]
vulkan: Store the VkFormat in GskVulkanImage
... and use that info when creating renderpasses.
Benjamin Otte [Thu, 15 Jun 2023 21:17:40 +0000 (23:17 +0200)]
vulkan: Pick high depth texture for high depth nodes
If a node has a higher depth, pick the RGBA format that has that depth
as the texture format we're renderig to with render_texture().
Support for adapting the swapchain is not part of this.
Benjamin Otte [Thu, 15 Jun 2023 21:13:31 +0000 (23:13 +0200)]
vulkan: Add format fallback
When a GdkMemoryFormat isn't supported, pick close formats that have a
higher chance of being supported.
Make sure this works recursively and the whole loop always ends up at
R8G8B8A8_UNORM because that one is mandatory.
Roughly, follow these rules:
1. Drop the unpremultiplied
2. Expand channels to include all of RGBA
3. pick swizzle that is RGBA
4. pick next largest depth
5. pick R8G8B8A8_UNORM
Benjamin Otte [Thu, 15 Jun 2023 12:29:15 +0000 (14:29 +0200)]
vulkan: Allow mapping images as "read" and/or "write"
This way, we unify the code paths for memory access to textures.
We also technically gain the ability to modify images, though I have no
use case for this.
Benjamin Otte [Wed, 14 Jun 2023 19:32:26 +0000 (21:32 +0200)]
vulkan: Pass format to offscreen creation function
That way, the offscreen can create images of different types.
Its not used in this commit, but will come in handy when we want to
support high bit depth.
Benjamin Otte [Wed, 14 Jun 2023 19:20:56 +0000 (21:20 +0200)]
vulkan: Remove gsk_vulkan_image_new_for_framebuffer()
Use gsk_vulkan_image_new_for_offscreen() instead, it does the same thing
pretty much.
Benjamin Otte [Wed, 14 Jun 2023 18:37:58 +0000 (20:37 +0200)]
vulkan: Allow uploading in different formats
This requires quite some code because Vulkan may not support all the
formats and then we need to detect that and fallback properly.
Benjamin Otte [Wed, 14 Jun 2023 18:36:14 +0000 (20:36 +0200)]
vulkan: Create the view in vulkan_image_new()
All callers want it created anyway.
Plus, we can consolidate things in future commits.
Benjamin Otte [Mon, 19 Jun 2023 13:03:51 +0000 (15:03 +0200)]
testsuite: Unify skipping memorytexture test
... and make it handle more cases of failure, in particular OpenGL and
Vulkan being unsupported by the system.
Emmanuele Bassi [Mon, 19 Jun 2023 12:53:10 +0000 (12:53 +0000)]
Merge branch 'more-a11y-tweaks' into 'main'
A11y improvements
See merge request GNOME/gtk!6116
Matthias Clasen [Mon, 19 Jun 2023 12:26:38 +0000 (08:26 -0400)]
docs: Expand role docs
Clarify that presentation and none
can be used interchangeably.
Matthias Clasen [Mon, 19 Jun 2023 12:23:30 +0000 (08:23 -0400)]
dropdown: Use presentation instead of none
Benjamin Otte [Wed, 14 Jun 2023 08:24:39 +0000 (10:24 +0200)]
testsuite: Add a vulkan method to memorytexure test
This uses the newly added NULL-surface renderer.
Benjamin Otte [Wed, 14 Jun 2023 08:18:47 +0000 (10:18 +0200)]
vulkan: Make gsk_renderer_realize() work with NULL surface
Pretty much copy what GL does and just use the default display to create
GPU-related resources without the need for a display.
This also adds gdk_display_create_vulkan_context() but I've
kept it private because the Vulkan API is generally considered in flux,
in particular with our pending attempts to redo how renderers work.
Benjamin Otte [Sun, 18 Jun 2023 16:38:48 +0000 (18:38 +0200)]
vulkan: Actually reset the buffer size
Fixes a bug introduced in
d1135f9e3c7.
Luckily the buffer was large enough that all my testing didn't catch it
because it took a few minutes to overflow.
Benjamin Otte [Wed, 14 Jun 2023 06:31:36 +0000 (08:31 +0200)]
vulkan: Renaming fix
This rename was a long time ago...
Matthias Clasen [Mon, 19 Jun 2023 00:59:33 +0000 (20:59 -0400)]
modelbutton: Set a11y shortcuts
Matthias Clasen [Sun, 18 Jun 2023 19:30:05 +0000 (15:30 -0400)]
printdialog: Some a11y improvements
Add proper roles and labels in some places.
Matthias Clasen [Sun, 18 Jun 2023 17:04:52 +0000 (13:04 -0400)]
printdialog: Give the page range entry a label
This is mainly to pacify the a11y checker.
Matthias Clasen [Sun, 18 Jun 2023 19:16:28 +0000 (15:16 -0400)]
notebook: Make sure tabs are labelled
Matthias Clasen [Sun, 18 Jun 2023 17:04:34 +0000 (13:04 -0400)]
windowcontrols: Cosmetics