Matthias Clasen
b499003385
seat: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
46b62aea09
paintable: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
58b711ed97
monitor: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
dbef8b02c3
memory texture builder: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
5553aa421a
memory format: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
10587936b9
keys: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
410802b9af
gl texture builder: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
b554b516aa
gl texture: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
df7f5d083a
gl context: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
7de829b4d7
frame clock idle: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
4819cd5155
frame clock: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
2fa94cb2c3
drop: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
12dc857cdf
dmabuf texture builder: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
a039a85e44
draw context: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
09e368cffc
drag: Prefix statics
...
This is a step towards enabling unity builds for gdk.
2024-09-09 10:00:05 -04:00
Matthias Clasen
b009d07cdc
display manager: Prefix statics
...
This is a step towards unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
bdaae0b4e2
display: Prefix statics
...
This is a step towards unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
54acae8036
device: Prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
e0d7da80bf
cursor: Prefix statics
...
This is a step towards unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
fcd9b7245e
content serializer: Prefix statics
...
This is a step towards unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
e29b7d0b0d
content provider: Prefix statics
...
This is a step towards unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
fc9df1308c
content deserializer: Prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
1683ab3ca0
colorstate: Cosmetics
2024-09-09 10:00:05 -04:00
Matthias Clasen
56004fd998
clipboard: Prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
e4105228a1
file transfer portal: Prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
dc97b03e69
cicp params: Prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
836dcfb173
app launch context: prefix statics
...
This is a step towards enabling unity builds.
2024-09-09 10:00:05 -04:00
Matthias Clasen
2424a51918
gsk: Enable unity builds
...
Instruct meson to compile all gsk sources in one pass. This lets
the compiler inline freely between our sources, and is much nicer
than moving functions into the headers as static inlines.
2024-09-09 10:00:05 -04:00
Matthias Clasen
0dd45e8625
gsk: Some more renamings
...
Apply the necessary renamings in gskrenderer.c as well.
2024-09-09 10:00:05 -04:00
Matthias Clasen
111166cc59
gpu: Some renamings
...
Some renamings in gsk/gpu/ to avoid conflict between statics in
different source files.
2024-09-09 10:00:05 -04:00
Matthias Clasen
491e980ec6
gl: More renamings
...
This commit renames some common things such as PROP_FOO enum values
or properties[] arrays to be uniquly named for each source file.
There are also a number of naming conflicts between gsk/gl and
gsk/gpu, which are addressed at the same time.
2024-09-09 10:00:05 -04:00
Matthias Clasen
f341455364
cairoblur: Rename a static
...
Rename a static helper to avoid name clashes.
2024-09-09 10:00:05 -04:00
Matthias Clasen
61e7b7be21
gskpath: Rename some statics
...
Rename statics to be unique among other source files in gsk.
This is a step towards enabling unity builds, where all sources
are compiled together.
2024-09-09 10:00:05 -04:00
Matthias Clasen
8e60674835
gsk: Consolidate common helpers
...
Move common helper functions and macros such as DEG_TO_RAD
or sincos to gskprivate. This is a step towards using
a unity build (where all sources are compiled together).
2024-09-09 10:00:05 -04:00
Daniel Mustieles
b27e67999b
Update Spanish translation
2024-09-09 09:26:15 +00:00
Balázs Úr
3177fd14f9
Update Hungarian translation
2024-09-09 06:26:41 +00:00
Benjamin Otte
9ba41ed6e8
Merge branch 'wip/otte/blur-and-blit' into 'main'
...
Fix blur for opaque textures
Closes #6980
See merge request GNOME/gtk!7697
2024-09-09 04:46:43 +00:00
Matthias Clasen
70f2e2e09c
Merge branch 'matthiasc/for-main' into 'main'
...
docs: Sync docs for GDK_VULKAN_DISABLE
See merge request GNOME/gtk!7700
2024-09-09 03:53:50 +00:00
Benjamin Otte
56fc8f0077
gpu: Blur opaque textures correctly
...
Opaque textures don't clamp to transparent but instead to black.
We didn't consider this, so we were blurring their edges into blackness
not into transparency.
Fix this by adding the GSK_GPU_AS_IMAGE_SAMPLED_OUT_OF_BOUNDS flag
and respecting it in the implementation that uses it.
Test included.
Fixes #6980
2024-09-09 05:10:51 +02:00
Benjamin Otte
85abff343e
ngl: Images are not blittable if they have a swizzle
...
Swizzling is not respected for blitting.
See commit 058252e895
for the same change in Vulkan.
Apparently that never made it to ngl.
The next commit will have a test for this.
2024-09-09 04:18:13 +02:00
Benjamin Otte
6cefdfeddd
testsuite: Fix udmabuf creation
...
We were using the wrong format and color state when downloading the
data.
Tests not included in this commit, but a few commits later.
2024-09-09 04:18:13 +02:00
Matthias Clasen
75fa51ef6d
Cosmetics
...
Fix a typo
2024-09-08 19:35:53 -04:00
Matthias Clasen
4181b4b142
docs: Sync docs for GDK_VULKAN_DISABLE
...
Add swapchain-maintenance, and remove some no longer used values.
2024-09-08 19:35:00 -04:00
Benjamin Otte
7b55d2cf1a
Merge branch 'wip/otte/for-main' into 'main'
...
vulkan: Enable VK_EXT_swapchain_maintenance1 if available
See merge request GNOME/gtk!7696
2024-09-08 23:25:36 +00:00
Benjamin Otte
03230181ce
gpu: Add GskGpuAsImageFlags
...
I've had a need for flags for the get_as_image() call but so far have
been able to work around it. But now it seems I might finally need it.
This just introduces the flags but doesn't add any.
Related: #6980
2024-09-09 01:25:03 +02:00
Benjamin Otte
5e4f692e63
tiff: Store RGBx images as 4 channels
...
Set the alpha channel to "undefined" in this case.
Gimp doesn't seem to like this when opening the image and insists to
doing something with it, that's a bit of a bummer.
But it allows GTK to load RGBx textures.
2024-09-09 01:25:03 +02:00
Matthias Clasen
e9a046c439
Merge branch 'dead-hamza' into 'main'
...
imcontextsimple: Handle dead_hamza
See merge request GNOME/gtk!7699
2024-09-08 22:58:11 +00:00
Mohamed Akram
182de7c957
imcontextsimple: Handle dead_hamza
2024-09-09 00:02:29 +04:00
Aurimas Černius
6c939819a3
Update Lithuanian translation
2024-09-08 19:12:24 +00:00
Matthias Clasen
6288be286f
Merge branch 'matthiasc/for-main' into 'main'
...
gsk: Small optimization
See merge request GNOME/gtk!7698
2024-09-08 17:29:27 +00:00