| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
We were not handling mnemonics vs markup right
in all cases. Rewrite the _-stripping code to
do it during the link parsing, instead of as
a separate function. This avoids the issue of
stripping _ from attribute names in markup.
Add tests.
Fixes: 3706
|
|\
| |
| |
| |
| |
| |
| | |
rendernode: Fix glyph serialization
Closes #3710
See merge request GNOME/gtk!3248
|
|/
|
|
|
|
|
| |
We serializing to a string of ASCII, we need to
escape some chars, such as '\' and '"'.
Fixes: #3710
|
|
|
|
| |
(cherry picked from commit 62e9dff5361a805ac73ac7312791e090d3280399)
|
|\
| |
| |
| |
| | |
ngl: fix typo from NGL rename
See merge request GNOME/gtk!3246
|
|/ |
|
|\
| |
| |
| |
| | |
Allow GTK4 to be added as a subproject
See merge request GNOME/gtk!3242
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
broadway: Restore guint32 type for memory size
Closes #3702
See merge request GNOME/gtk!3244
|
|/ /
| |
| |
| |
| |
| | |
guint32 is used as part of the protocol in broadway backend.
Memory size declared with it was mistakenly replaced with size_t type
which does not guarantee being 32bit on all platforms, leading to a crash.
|
|/
|
|
| |
(cherry picked from commit 3cb5a831e386bd26adba9089b09c200d2d38ea8a)
|
| |
|
| |
|
|\
| |
| |
| |
| | |
imcontext: Fixes to the state machine
See merge request GNOME/gtk!3238
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It turns out that we we were sometimes emitting
preedit-end multiple times, and sometimes not at
all. Same for preedit-start. To fix this up, introduce
a in_compose_sequence flag, maintain it, and use it
in the right places.
After these changes, both
C-S-u 1 2 3 Enter
Compose a e
generate the right signals:
preedit-start, preedit-changed,..., preedit-end, commit
|
|\ \
| | |
| | |
| | |
| | | |
gdk/wayland: Assign logical pointer to touchpad gesture events
See merge request GNOME/gtk!3240
|
| | |
| | |
| | |
| | |
| | |
| | | |
These events don't make sense on physical devices (for starters, they
are relative to the logical pointer position). Use this device for
those events, also happens to be what the upper parts expect of them.
|
|/ /
| |
| |
| | |
(cherry picked from commit 0fd0b00ec9b5a886d37529b1018996c966fdd48f)
|
|\ \
| |/
|/|
| |
| | |
gdk: drop the latest mention of DrawingContext
See merge request GNOME/gtk!3232
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
gdk/wayland: Make more matched settings from the portal as valid
See merge request GNOME/gtk!3236
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 97b5fad1315 was a forward port from a gtk3 patch, but the hunk
was applied on the wrong bits of code.
Ensure the initialization paths also do mark settings read from the
portal as valid, so the checks for optional/newer settings actually have
the expected result. It is also desirable to mark settings as valid
after configuration changes (as that patch did effectively do), but not
enough to fix all situations.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
composetable: Remove some redundant code
See merge request GNOME/gtk!3234
|
| | |
| | |
| | |
| | | |
Pointed out by Peter Bloomfield.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gsk: add OpenGL based GskNglRenderer
See merge request GNOME/gtk!3225
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When selecting the "ngl" renderer, the inspector was
saying Renderer: Unknown, due to a typo. Fix that.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The output of GSK_RENDERER=help was still talking about
the "next" renderer, while actually looking for "ngl".
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The primary goal here was to cleanup the current GL renderer to make
maintenance easier going forward. Furthermore, it tracks state to allow
us to implement more advanced renderer features going forward.
Reordering
This renderer will reorder batches by render target to reduce the number
of times render targets are changed.
In the future, we could also reorder by program within the render target
if we can determine that vertices do not overlap.
Uniform Snapshots
To allow for reordering of batches all uniforms need to be tracked for
the programs. This allows us to create the full uniform state when the
batch has been moved into a new position.
Some care was taken as it can be performance sensitive.
Attachment Snapshots
Similar to uniform snapshots, we need to know all of the texture
attachments so that we can rebind them when necessary.
Render Jobs
To help isolate the process of creating GL commands from the renderer
abstraction a render job abstraction was added. This could be extended
in the future if we decided to do tiling.
Command Queue
Render jobs create batches using the command queue. The command queue
will snapshot uniform and attachment state so that it can reorder
batches right before executing them.
Currently, the only reordering done is to ensure that we only visit
each render target once. We could extend this by tracking vertices,
attachments, and others.
This code currently uses an inline array helper to reduce overhead
from GArray which was showing up on profiles. It could be changed to
use GdkArray without too much work, but had roughly double the
instructions. Cycle counts have not yet been determined.
GLSL Programs
This was simplified to use XMACROS so that we can just extend one file
(gskglprograms.defs) instead of multiple places. The programs are added
as fields in the driver for easy access.
Driver
The driver manages textures, render targets, access to atlases,
programs, and more. There is one driver per display, by using the
shared GL context.
Some work could be done here to batch uploads so that we make fewer
calls to upload when sending icon theme data to the GPU. We'd need
to keep a copy of the atlas data for such purposes.
|
|/ / |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
imcontext: Take out the warnings
See merge request GNOME/gtk!3230
|
|/
|
|
|
|
|
| |
Don't warn about Compose file constructs we don't
support. We haven't supported these for a long time,
and nobody has every complained. No need to wake
up sleeping dogs.
|
|\
| |
| |
| |
| | |
gtk-demo: Fix typo GtkKabel -> GtkLabel
See merge request GNOME/gtk!3229
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
macos: make OpenGL context opaque when possible
See merge request GNOME/gtk!3226
|
| |
| |
| |
| |
| |
| |
| | |
If our opaque region is the entire surface, then we can make the OpenGL
context opaque like we do for decorated windows. This improves performance
as the compositor does not need to blend the surface with the contents
behind the window.
|
|\ \
| |/
|/|
| |
| | |
macos: fix resizing of resizable windows on macOS
See merge request GNOME/gtk!3227
|
|/ |
|
|\
| |
| |
| |
| | |
Matthiasc/for master
See merge request GNOME/gtk!3224
|
| |
| |
| |
| |
| | |
Print the same version information in --version
that we show in the about dialog.
|
| |
| |
| |
| |
| | |
Print the same version information in --version
that we show in the about dialog.
|
| |
| |
| |
| |
| |
| | |
We don't want to hand out cursor positions based on
the original preedit text and then tweak the text to
be different.
|
| |
| |
| |
| | |
(cherry picked from commit 1f18d2638f5b43ead535f75ae5dfad959fe831f1)
|
|/
|
|
| |
(cherry picked from commit 6f263318648f35ee00e46d89c66975539de21ae7)
|