| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Inline _gtk_css_change_for_sibling and
_gtk_css_change_for_child, and mark a few
other functions as const or malloc.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And also mark gsk_rounded_rect_to_string as malloc.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Fix generation of accessible description in presence of described by relations
See merge request GNOME/gtk!3948
|
| |
| |
| |
| | |
The loop going through the relation list should have stopped on the NULL sentinel value, however it never accesed the next list element.
|
|\ \
| | |
| | |
| | |
| | | |
testsuite: Fix a few memory leaks
See merge request GNOME/gtk!3947
|
|/ /
| |
| |
| | |
These are keeping the asan build in ci from passing.
|
|\ \
| | |
| | |
| | |
| | | |
ci: Add libtiff-devel to the image
See merge request GNOME/gtk!3946
|
| | | |
|
| |/
| |
| |
| | |
We want to require libtiff in our build.
|
|\ \
| |/
|/|
| |
| | |
Fix 2 papercuts
See merge request GNOME/gtk!3945
|
| |
| |
| |
| | |
Match the volume button.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
stack: Dispose children before emitting items-changed
Closes #4255
See merge request GNOME/gtk!3943
|
|/
|
|
|
|
|
|
| |
This makes sure that the `GListModel` returned by
`gtk_stack_get_pages()` actually has the items removed before
`items-changed` is emitted.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4255
|
|\
| |
| |
| |
| | |
gltexture: Make sure downloading textures works in a different thread
See merge request GNOME/gtk!3942
|
| |
| |
| |
| |
| | |
If we can't handle the texture, always just download_texture() it,
that way we are sure it's a memory texture.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This happens in the real world when using the inspector to look at a
node recording of a GStreamer video while the video is still playing.
GStreamer will use the GL context in a different thread while we are
busy trying to download it.
A test is included.
|
|/
|
|
| |
(cherry picked from commit 17d828fda2137eaa068de947171214db8ec7b074)
|
|\
| |
| |
| |
| | |
Add float texture formats
See merge request GNOME/gtk!3940
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Use a GL renderer to upload textures (and then optionally download them
via release() again). This way, we can test that the GL renderer
properly uploads textures to the right formats (not losing information
for HDR for example) and downloads them again.
|
| |
| |
| |
| | |
Use a GL renderer and render_texture() them.
|
| |
| |
| |
| | |
Instead of predefined colors, generate them randomly.
|
| |
| |
| |
| |
| | |
Instead of hardcoding pixel values, allow construction of textures by
filling them with GdkRGBA values.
|
| |
| |
| |
| |
| | |
Also refactor the GL uploading so it does the fallback in a
GLES-compatible way, which means we only need one fallback.
|
| |
| |
| |
| |
| | |
Also sanitize the input bytes so the strides match alignment
requirements of the data types.
|
| | |
|
| |
| |
| |
| |
| |
| | |
It's broken with various pixel formats and OpenGL ES, it's hard to
understand what everything does, and gdk_texture_download() can be used
instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. The download via gdk_cairo_draw_from_gl() was broken sometimes
2. We get easy conversion on fallback by chaining up and using
download_texture().
3. One more place where Cairo is no longer necessary.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. It avoids Cairo, and in particular conversion to Cairo.
2. Keeping a texture allows easy chaining in the vfuncs.
3. Using a texture means releasing will work for HDR formats
too, once we add them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A private vfunc that downloads a texture as a GdkMemoryTexture in
whatever format the texture deems best.
There are multiple reasons for this:
* GLES cannot download the Cairo format. But it can download some
format and then just delegate to the GdkMemoryTexture implementation.
* All the other download vfuncs (including the ones still coming) can
be implemented via download_texture() and delegation, making the
interface easier.
* We want to implement image loading and saving support. By using
download_texture(), we can save in the actual format of the texture.
* A potential GdkCompressedTexture could be implemented by just
providing this one vfunc as a compress() step.
|
| |
| |
| |
| |
| | |
Now gdk_memory_convert() converts to one of these conversions instead of
re(ab)using parts of the GdkMemoryFormat enum.
|
| |
| |
| |
| |
| | |
This makes forwarding vfuncs a lot easier, because we can just call them
on the texture.
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
rendernode: Write the whole node
See merge request GNOME/gtk!3938
|
| |
| |
| |
| |
| | |
It turns out g_output_stream_write_bytes() does not write the bytes.
It should be renamed to g_output_stream_write_some_of_the_bytes() maybe.
|