| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|\ \
| | |
| | |
| | |
| | | |
gdk_rgba_parse: Support HSL colors
See merge request GNOME/gtk!3899
|
| | | |
|
| | |
| | |
| | |
| | | |
(cherry picked from commit 8ffd7e9f87cfd3ce51c6b4b7a91bfe40670c89bb)
|
| | |
| | |
| | |
| | | |
(cherry picked from commit f433c543fe7a11953362f09274f9e29d088815f9)
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Stop using config.h.meson
See merge request GNOME/gtk!3936
|
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce a gl_internalformat variable. This will
let us handle more formats in a uniform way in
future commits.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We can't make the -4 versions inline, since
we use ifuncs for them, so make vectorized
versions.
Test included.
|
|/ /
| |
| |
| |
| | |
It isn't necessary and makes us miss defines when
we forget to update it.
|
| |
| |
| |
| | |
(cherry picked from commit 6228954524cfe153b20673f356a26eaba9f9e846)
|
|\ \
| | |
| | |
| | |
| | | |
Fix the testupload test
See merge request GNOME/gtk!3934
|
|/ /
| |
| |
| | |
This can only ever have worked by accident.
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
(cherry picked from commit bb72acf9cd341ca30c55a0392c842e955b42e58d)
|
|
|
|
| |
(cherry picked from commit 63d829bbc182bb06fe28a2e649f50360bc4442b8)
|
|\
| |
| |
| |
| | |
inspector: Cosmetics
See merge request GNOME/gtk!3925
|
|/
|
|
|
|
| |
Make some settings entries smaller, and make the
scales match in size. Also, inline adjustments
in the ui file, since we can do that now.
|
|\
| |
| |
| |
| | |
Avoid hand-rolled color glyph information
See merge request GNOME/gtk!3924
|
| |
| |
| |
| |
| | |
We are using pango api that was introduced in 1.49.1
without ifdefs, so we should require it.
|
|/
|
|
|
|
| |
Followup to b244f31337eea. Pango provides color glyph
information for us now, so we don't need to steal a
bit anymore.
|
|
|
|
| |
(cherry picked from commit 19af9601636691fe13ba15bc4b69f18df175c7ca)
|