| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The localizedName property is not available in Mojave
so just ifdef in that case the code out.
|
|\
| |
| |
| |
| | |
Revert "Merge branch 'gtk_egl_wayland' into 'master'"
See merge request GNOME/gtk!3018
|
|/
|
| |
This reverts merge request !3011
|
|\
| |
| |
| |
| | |
Expose gdk_wayland_surface_get_wl_egl_window()
See merge request GNOME/gtk!3011
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some GTK based applications such as Qemu UI create and manage
EGLSurfaces associated with the relevant GdkSurfaces. In order to create
an EGLSurface, there needs to be a way to pass the native window
object to eglCreateWindowSurface(). While running in an X environment,
the native window object can be obtained by calling
gdk_x11_surface_get_xid(). Likewise, the native window object can be
obtained by calling gdk_wayland_surface_get_wl_egl_window() while
running in a Wayland environment. Therefore, this API needs to be
exposed to apps.
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
message dialog: use title style only if there is secondary text
Closes #3509
See merge request GNOME/gtk!3015
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If there is no secondary text, then the primary text is just a message,
not a title, and should not use title style.
This partially reverts 1e3ec7c1f993ec8cab4c6608b968e78f9028d662. The
message dialog nown looks like it used to in GTK 3. However, it's still
styled only using a style class rather than using pango markup, as in
GTK 3.
Fixes #3509
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix menu item alignment with submenus
See merge request GNOME/gtk!3016
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were not aligning model button labels with nesting
submenus with indicators in their containing menu.
This was visible in the application demo of gtk4-demo.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
gl: Fix implicit leaking of shader object
See merge request GNOME/gtk!3013
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to OpenGL spec, a shader object will only be flagged
for deletion unless it has been detached; when a program object
is deleted, those shader objects attached to it will be detached
but not deleted unless they have already been flagged for deletion.
So we shall detach a shader object before it is deleted, and delete
it before the program object is deleted best.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Fix the Vulkan header check for VK_RESULT_RANGE_SIZE
Closes #3522
See merge request GNOME/gtk!3009
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
The VK_RESULT_RANGE_SIZE enumeration value was removed in 1.2.140, not
1.2.142.
Fixes: #3522
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
types: fix various use of volatile in type registration
See merge request GNOME/gtk!2865
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The use of volatile was incorrect in GLib and has been that way for
a long time. Recently however that has changed, and this makes GTK
follow suit to avoid using volatile in the type registration.
See also: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719
Combined with the above merge request for GLib, this fixes a large
number of compilation warnings when using Clang.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
gtkmediafile: Consider pixel-aspect-ratio for rendering video with the correct aspect ratio
Closes #3516
See merge request GNOME/gtk!3007
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
correct aspect ratio
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3516
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
build: Fix vulkan reference in pc file
Closes #3517
See merge request GNOME/gtk!3006
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
A mistake in string concatenation caused the vulcan dependency to be omitted.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3517
|
| | | | | |
|
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
gtkmediafile: Only unmap the GstVideoFrame in the GBytes destroy notify
See merge request GNOME/gtk!3003
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The memory pointed to by GstVideoFrame::plane_data becomes invalid after
unmapping causing the GBytes to point at some random memory if the
unmapping is not deferred until its destroy notify.
When the GStreamer buffer is backed by normal system memory this is not
a problem but if it is backed by e.g. an OpenGL texture, dmabuf or some
other hardware-specific memory this will otherwise cause interesting
problems.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Matthiasc/for master
See merge request GNOME/gtk!3004
|
| | | | |
| | | | |
| | | | |
| | | | | |
Mention the wrapper colorbutton node.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Mention the wrapper fontbutton node.
|
| | | | |
| | | | |
| | | | |
| | | | | |
We are using menubutton instead of button.popup now.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The centering of titles was broken in b5b81dea7f2eff28.
Make it mostly work again by adding an empty end indicator.
Related: #3405
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
gtk: remove GtkClipboard leftovers
See merge request GNOME/gtk!2991
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
gtk/gesturestylus: Convert motion history from surface coordinates
Closes #3491
See merge request GNOME/gtk!2999
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Motion history coordinates are based on GdkSurface coordinates. Transform
the coordinates from the GtkNative they are received on, accounting for the
possible transforms (e.g. due to window borders and shadows).
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3491
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | | |
Remove unused static inline function
See merge request GNOME/gtk!3002
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was causing a warning on AArch64 since __LITTLE_ENDIAN__ and
__BIG_ENDIAN__ weren’t set, but the functions were actually completely
unused.
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
Fix gtk4-demo’s gears demo on OpenGL ES
See merge request GNOME/gtk!3000
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Same issue as the previous commit, int+float is error, and pow() only
works on floats.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Here is a command to reproduce this testcase:
GDK_DEBUG=gl-gles gtk4-demo --run gears
Without this patch, Mesa throws this compile error:
0:130(13): error: no matching function for call to `mod(error, float)'; candidates are:
This is caused by `u_rotation - 90` being of type error since
`u_rotation` is a float and it’s illegal to subtract it with an integer.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Wip/otte/for master
See merge request GNOME/gtk!2997
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If set to TRUE, does not call the free func for the removed items.
This can be used to move items between arrays without having to do the
refcounting dance.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use the horizontal policy for horizontal decisions, not the vertical
one.
This broke in 0011ce949c3580e02c4b2c3d83584a6c6e82090c.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixe video sources with longer loading times not automatically
playing.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1. That's a bad idea UI wise as you can't see the search after you
scrolled.
2. That's a bad idea code-wise because Listviews need to be put into
a ScrolledWindow or they won't scroll.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Invalid matrices are okay in GSK (and GL), but not in Cairo.
Testcase included.
|
| | | | | |
|
| |_|/ /
|/| | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
window: Release application in destroy
See merge request GNOME/gtk!2994
|