| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Concentrate pixbuf handling in gdkpixbufutils.c.
|
|\
| |
| |
| |
| | |
gsk: Cosmetics
See merge request GNOME/gtk!5983
|
| |
| |
| |
| |
| | |
The only caller is #if 0 ed, so don't build
these functions.
|
| |
| |
| |
| | |
Get the context from the driver.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
gsk: Stop setting uniforms when we are out of batches
See merge request GNOME/gtk!5981
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
When the command queue is out of batches, there is
no point in doing further work like allocating uniforms.
This helps us avoid assertions in the uniform code
that we would hit when we run out of uniform space
too.
|
|\ \
| |/
|/|
| |
| | |
CI: Actually build our code
See merge request GNOME/gtk!5980
|
| |
| |
| |
| |
| |
| | |
Thanks, macos CI.
(We should have a Fedora clang build.)
|
| |
| |
| |
| |
| | |
They are failing to build because they use deprecated functions and
nobody thinks they're worth fixing.
|
|/
|
|
|
|
| |
Commit 3090795351404735672c45a02a577a4e4bf67586 accidentally caused all
CI builds (or at least the ones with -Werror) to no longer build tests,
examples and demos, so none of them had made sure that they compile.
|
|\
| |
| |
| |
| | |
gsk: Fix a crash
See merge request GNOME/gtk!5979
|
|/
|
|
|
|
| |
When we start ignoring batches, we must do it everywhere,
or we may run into assertions. This was triggered by an
enormous text node tree produced by tests/rendernode-create.
|
|\
| |
| |
| |
| |
| |
| | |
Fix various compiler warnings with GCC 13
Closes #5837
See merge request GNOME/gtk!5977
|
| |
| |
| |
| |
| | |
Use gtk_css_provider_load_from_string() when loading CSS from C
strings.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The documentation says that the model returned by
gtk_notebook_get_pages() implements the GtkSelectionModel interface, but
checking the history confirms this is a lie.
Instead of fixing the documentation, we can easily make it true, and
reduce the differences between GtkNotebook and GtkStack.
Fixes: #5837
|
|/
|
|
|
| |
There are various null dereference warnings in GtkListItemManager that
make the build noisy.
|
|\
| |
| |
| |
| | |
demos: Stop using deprecated api
See merge request GNOME/gtk!5978
|
| |
| |
| |
| | |
Use texture apis instead of pixbuf ones.
|
|\ \
| |/
|/|
| |
| | |
Matthiasc/for main
See merge request GNOME/gtk!5975
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
gdk: Clamp frame region to surface size
Closes #5812
See merge request GNOME/gtk!5976
|
| |
| |
| |
| | |
By putting the check earlier, it will be emitted for the right token.
|
| |
| |
| |
| |
| |
| |
| |
| | |
If there is a value passed to GSK_RENDERER, display it in the window
title.
This is mostly so that when I show off screenshots, people know what
renderer I'm using.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Vulkan has a different initial coordinate system to GL.
GL:
(-1, 1, -1) +------+.
|`. | `.
| `·--|---·
| : | :
+------+. :
`. : `.:
`·------· (1, -1, 1)
Vulkan:
(-1, -1, 0) +------+.
|`. | `.
| `·--|---·
| : | :
+------+. :
`. : `.:
`·------· (1, 1, 1)
so adjust the near and far plane we pass to
graphene_matrix_init_ortho() to make it end up with the same
projection as the GL renderer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This one tests a crossfade between two non-overlapping nodes with a clip
region that covers neither of the two nodes.
This tests that renderers can deal with clip regions that doesn't
overlap nodes in a situation where they will most likely want to create
an offscreen.
As offscreens are typically clipped to the clip region, this would cause
an empty offscreen and that can cause failures.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was an experiment where an offscreen was translated inside an
existing clip.
Because renderers try to limit offscreens to the clip rect, this is
interesting, because they might get the translation wrong.
|
| |
| |
| |
| | |
Ensures the shadow stays small.
|
| |
| |
| |
| |
| |
| |
| | |
This does not do any proper dependency tracking, it just makes every
shader depend on every include shader.
But that's good enough for now.
|
| | |
|
| |
| |
| |
| | |
We don't trigger it and it's a useful warning. So let's use it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using gdk_texture_new_from_resource() is not valid here because we are
not sure if the given resource is valid.
Plus, the previous optimization is no longer relevant, because we are
not using gdk_pixbuf_new_from_resource() anymore - which was what this
optimization was about before it was ported to GdkTexture.
Test attached.
|
| |
| |
| |
| |
| | |
the near and far clipping plane are at -10000 and 10000 respectively.
Test that the renderers respect that.
|
| |
| |
| |
| |
| | |
We were computing column widths without taking border-spacing into
account, making them slightly too big.
|
|/
|
|
|
|
|
| |
The region may be larger than the surface's size, but many rendering
APIs require the size to be clamped.
Fixes #5812
|
|\
| |
| |
| |
| | |
Fix a few bugs in GtkPropertyLookupListModel
See merge request GNOME/gtk!5974
|
|/
|
|
| |
Fix bugs in property types.
|
|\
| |
| |
| |
| | |
gdk: Drop some unused private api
See merge request GNOME/gtk!5973
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
We want to drop GdkPixbuf from our apis.
These have easy replacements already, so
lets deprecate them.
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
filesystemmodel: Ignore changes on the parent directory
Closes #4233
See merge request GNOME/gtk!5970
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The filesystemmodel tracks changes and additions to child files
through G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED. This event will also
occur if the parent directory is changed. Since the parent directory
doesn't exist in the model, it creates a non-existent item.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4233
|
| | |
|