- Feb 10, 2016
-
-
Carlos Garnacho authored
The cogl implementation is hidden from view, we only expose this on egl.
-
Carlos Garnacho authored
Those have a rectangle and a transform, at the time of rendering each view will be painted separately, while applying the corresponding transform to the whole stage. Also, implement get_geometry/get_hw_geometry() based on the views when we have any.
-
Carlos Garnacho authored
All transforms queried on the stage must be transformed by the current view being rendered.
-
Carlos Garnacho authored
There's places where we need to honor the lowlevel buffer geometry rather than the stage one (which may not mach in the case of rotated outputs).
-
Carlos Garnacho authored
This is an alternative to _clutter_stage_window_get_geometry(), that will return the geometry as seen by the stage. get_hw_geometry() will return the geometry as seen by the lower layers (eg. on rotated outputs we still need to allocate primary planes that fit the crcts).
-
Carlos Garnacho authored
This will be used when rendering the stage on subviews. Coordinates as set on actors must be modified by the matrix set by the view.
-
- Jan 25, 2016
-
-
Emmanuele Bassi authored
Since commit 6183eb36 we disabled swap throttling in favour of being driven by the GDK frame clock (and thus by the compositor). Compositors may decide to unredirect full screen windows to avoid the performance penalty of the additional copy, especially on X11, which means that a Clutter application marked as full screen is not going to be driven by the compositor, and it's not going to be throttled by the underlying GL machinery. This has a performance impact on constrained platforms. For this reason, we should re-enable swap throttling when the window is full screen. As the change was introduced especially because of Wayland, we should check that we're not running as clients under a Wayland compositor; if we do, we always keep swap throttling disabled, as the compositor will always manage our output, even when full screen.
-
-
- Jan 21, 2016
-
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
- Jan 14, 2016
-
-
Carlos Garnacho authored
Libinput tells us this much, so make use of it. https://bugzilla.gnome.org/show_bug.cgi?id=757026
-
Carlos Garnacho authored
Those can be used to implement different scrolling behaviors. The fields have been added to ClutterScrollEvent itself. According to pahole, this makes the struct as big as ClutterButtonEvent and ClutterTouchEvent, so already at the limit of the ClutterEvent union. https://bugzilla.gnome.org/show_bug.cgi?id=757026
-
- Jan 12, 2016
-
-
Aurimas Černius authored
-
- Jan 05, 2016
-
-
- Dec 31, 2015
-
-
Yosef Or Boczko authored
-
- Dec 28, 2015
-
-
Mario Blättermann authored
-
- Dec 23, 2015
-
-
Marek Černocký authored
-
- Dec 20, 2015
-
-
Aurimas Černius authored
-
- Dec 17, 2015
-
-
Daniel Mustieles García authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
- Dec 13, 2015
-
-
Matej Urbančič authored
-
-
- Dec 11, 2015
-
-
Emmanuele Bassi authored
So that we can set it to 'check', and do configure-time discovery of the dependencies, instead of enabling it explicitly. This should make it easier to spot build issues on environments like Continuous, which build Clutter and Cogl for running as part of the display server infrastructure on Wayland.
-
Emmanuele Bassi authored
Otherwise the build will fail.
-
Emmanuele Bassi authored
So it's usable as long as the X11 backend support is compiled into Clutter — and we can use this test to check that overriding works as intended.
-
Emmanuele Bassi authored
We should allow a configuration file to set up the initial state of the global state, which also implies being able to set the backend. If the allowed backends have already been set programmatically via the clutter_set_windowing_backend(), though, then the application code takes precedence, as we assume that the application author knows better than us what their code supports or requires.
-
Emmanuele Bassi authored
The configuration file should set up the global state before we initialize it; instead of relying on implicit ordering, explicitly read the configuration file once, when creating the global shared context data structure.
-
Emmanuele Bassi authored
It doesn't make sense for the allowed drivers to be changed after Clutter has been initialized.
-
Emmanuele Bassi authored
Like CLUTTER_DRIVER, we want to allow users to specify a list of backends to test, and fall back to the internally defined priority as a default. This requires changing the way the allowed backend string is parsed, both for the CLUTTER_BACKEND environment variable and for the clutter_set_windowing_backend() function. Existing callers are still supported with the exact same semantics.
-
Emmanuele Bassi authored
We're going to use it to create an instance of each backend without using the get_type() function.
-
- Dec 10, 2015
-
-
Emmanuele Bassi authored
Clutter has a configuration file that can be used to override various settings, including the ones from environment variables.
-
Emmanuele Bassi authored
Using environment variables only is not convenient for all platforms, and in some cases it's beneficial to decide the default driver when building Clutter. Cogl already has a similar configuration switch, and since Clutter is overriding the default Cogl behaviour, it should offer the same mechanism. https://bugzilla.gnome.org/show_bug.cgi?id=742678
-
Emmanuele Bassi authored
We have an hardcoded list of drivers we have to go through when creating a Cogl context. Some platforms may expose those drivers, but not be the preferred ones. In order to allow users and system integrators to override the list of drivers, we should crib the same approach used by GDK, and have an environment variable with a list of drivers to try. The new environment variable is called `CLUTTER_DRIVER` and accepts a comma-separated list of driver names, which will be tested in sequence until one succeeds. There's also an additional '*' token which is used to ask Clutter to fall back to the internally defined preferred list of drivers. https://bugzilla.gnome.org/show_bug.cgi?id=742678
-
- Dec 09, 2015
-
-
Emmanuele Bassi authored
The (optional) annotation should only be used for (out) arguments; in arguments that can be NULL should use the (nullable) annotation.
-
Emmanuele Bassi authored
The interface vtable structure is missing the GTypeInterface parent, and GObject is complaining about it, as it should.
-
- Dec 08, 2015
-
-
Emmanuele Bassi authored
Don't look at GLX headers or symbols; we don't use them anyway. https://bugzilla.gnome.org/show_bug.cgi?id=759191
-