mutter:wip/nieldsg/cogl-pixel-format-include-dr

Last commit made on 2019-06-24
Get this branch:
git clone -b wip/nieldsg/cogl-pixel-format-include-dr https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/nieldsg/cogl-pixel-format-include-dr
Repository:
lp:mutter

Recent commits

63e6184... by Niels De Graef <email address hidden>

cogl: Include DRM 4CC conversions into CoglPixelFormat

This is at the moment still part of both MetaRendererNative and
MetaDmaBuf, which means duplicated effort in code sections only barely
related to color formats. By doing this, we can keep more of the pixel
format code together, which is more future-proof as we want to add
support for new pixel formats (like YUV-based ones).

https://gitlab.gnome.org/GNOME/mutter/merge_requests/594

151c6fd... by Niels De Graef <email address hidden>

cogl: Split CoglTextureComponents into its own header

CoglTextureComponents is an enum that mostly makes sense in
`cogl_texture_set_components()`, but it's as prevalent as
`CoglPixelFormat` due to its intimate relation with it. For example: as
of now, there is no way to distinguish between ARGB and XRGB; this needs
an extra using CoglTextureComponents to enforce (not) using the alpha
channel.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/594

e14613e... by Marco Trevisan (Treviño)

window: Warn if try to focus unmanaging windows

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

f71151a... by Marco Trevisan (Treviño)

window-x11: Focus the default window with delay while waiting for take-focus

When requesting to a take-focus window to acquire the input, the client may or
may not respond with a SetInputFocus (this doesn't happen for no-input gtk
windows in fact [to be fixed there too]), in such case we were unsetting the
focus while waiting the reply.

In case the client won't respond, we wait for a small delay (set to 250 ms) for
the take-focus window to grab the input focus before setting it to the default
window.

Added a test for this behavior and for the case in which a window takes the
focus meanwhile we're waiting to focus the default window.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

6022b23... by Marco Trevisan (Treviño)

test-runner: Add 'dispatch' command

This will only wait for events to be dispatched and processed by the server
without waiting for client processing.

Reuse the code for the wait command too.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

d08763c... by Marco Trevisan (Treviño)

test-runner: Add 'sleep' command

This allows to sleep for a given timeout in milliseconds.

Rename test_case_before_redraw to test_case_loop_quit since it's a generic
function and use it for the timeout too.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

fcb408a... by Marco Trevisan (Treviño)

tests: Verify focused window in closed-transient tests

Ensure that we have a focused window when closing transient windows with
no-focus or no-take-focus atoms

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

51f9e04... by Marco Trevisan (Treviño)

test-runner: Add 'assert_focused' command

This allows to verify which window should have the focus, which might not
be the same as the top of the stack.

It's possible to assert the case where there's no focused window using
"NONE" as parameter.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

2fc7760... by Marco Trevisan (Treviño)

tests, stacking: Add tests with no-input and no-take-focus windows

When a window with no frame, that doesn't accept focus and that has no
take-focus atom set is destroyed, we ended up in not changing the current_focus
window, causing a crash.

Added test cases that verify this situation.

Related to https://gitlab.gnome.org/GNOME/mutter/issues/308
https://gitlab.gnome.org/GNOME/mutter/merge_requests/307

f2d2d47... by Marco Trevisan (Treviño)

tests: Add 'can_take_focus' command to runner and client

Allow to set/unset WM_TAKE_FOCUS from client window.
This is added by default by gtk, but this might not happen in other toolkits,
so add an ability to (un)set this.

So fetch the protocols with XGetWMProtocols and unset the atom.

test-client now needs to depend on Xlib directly in meson build.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307