summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* egl: Wrap ClutterStageCoglView into ClutterEglOutputwip/garnacho/egl-emulated-screen-rotationCarlos Garnacho2016-02-102-0/+96
| | | | | The cogl implementation is hidden from view, we only expose this on egl.
* cogl: Add support for multiple views of the stageCarlos Garnacho2016-02-102-77/+427
| | | | | | | | | 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.
* stage: Transform to view in apply_transform()Carlos Garnacho2016-02-101-0/+1
| | | | | All transforms queried on the stage must be transformed by the current view being rendered.
* stage: Use clutter_stage_window_get_hw_geometry()Carlos Garnacho2016-02-101-5/+5
| | | | | | 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).
* stage-window: Add get_hw_geometry() methodCarlos Garnacho2016-02-102-0/+16
| | | | | | | 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).
* stage-window: Add transform_to_view() methodCarlos Garnacho2016-02-102-0/+19
| | | | | | 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.
* gdk: Enable swap throttling on full screen windowsEmmanuele Bassi2016-01-251-0/+22
| | | | | | | | | | | | | | | | | | | | | Since commit 6183eb363282e5143bfd52aa36b5e6a318c4c992 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.
* Updated Hungarian translationGábor Kelemen2016-01-251-272/+270
|
* Post-release version bump to 1.25.5Emmanuele Bassi2016-01-211-1/+1
|
* Release Clutter 1.25.41.25.4Emmanuele Bassi2016-01-212-1/+24
|
* docs: Add missing symbolsEmmanuele Bassi2016-01-211-0/+2
|
* evdev: Add scroll source/finish flags info to scroll events.Carlos Garnacho2016-01-141-14/+51
| | | | | | Libinput tells us this much, so make use of it. https://bugzilla.gnome.org/show_bug.cgi?id=757026
* clutter-event: Add scroll source enum and axis scroll flagsCarlos Garnacho2016-01-144-0/+90
| | | | | | | | | | 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
* Updated Lithuanian translationAurimas Černius2016-01-121-15/+15
|
* Updated Brazilian Portuguese translationRafael Fontenelle2016-01-051-257/+258
|
* Updated Hebrew translationYosef Or Boczko2015-12-311-263/+263
|
* Updated German translationMario Blättermann2015-12-281-518/+351
|
* Updated Czech translationMarek Černocký2015-12-241-255/+254
|
* Updated Lithuanian translationAurimas Černius2015-12-201-268/+265
|
* Updated Spanish translationDaniel Mustieles2015-12-171-2900/+2903
|
* Post-release version bump to 1.25.3Emmanuele Bassi2015-12-171-1/+1
|
* Release Clutter 1.25.2 (snapshot)1.25.2Emmanuele Bassi2015-12-172-2/+58
|
* docs: Add 1.26 symbols indexEmmanuele Bassi2015-12-171-0/+5
|
* docs: Update sections file for missing macrosEmmanuele Bassi2015-12-171-0/+6
|
* Updated Slovenian translationMatej Urbančič2015-12-131-253/+253
|
* Updated Portuguese translationPedro Albuquerque2015-12-131-269/+266
|
* build: Rework the default rules for the EGL backendEmmanuele Bassi2015-12-111-51/+47
| | | | | | | | | 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.
* egl: Rename backend constructor functionEmmanuele Bassi2015-12-111-1/+1
| | | | Otherwise the build will fail.
* tests: Force X11 backend for the pixmap testEmmanuele Bassi2015-12-111-0/+4
| | | | | | 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.
* Allow setting the default backend from the configuration fileEmmanuele Bassi2015-12-113-0/+20
| | | | | | | | | | 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.
* Read the config file when creating the global shared stateEmmanuele Bassi2015-12-111-6/+6
| | | | | | | 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.
* backend: Ensure that Cogl drivers are set prior to initializationEmmanuele Bassi2015-12-111-0/+6
| | | | | It doesn't make sense for the allowed drivers to be changed after Clutter has been initialized.
* backend: Allow setting a list of windowing backendsEmmanuele Bassi2015-12-111-43/+93
| | | | | | | | | | | 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.
* Add internal constructor function for each backendEmmanuele Bassi2015-12-1114-21/+67
| | | | | We're going to use it to create an instance of each backend without using the get_type() function.
* Allow overriding the list of Cogl drivers via configuration fileEmmanuele Bassi2015-12-103-1/+19
| | | | | Clutter has a configuration file that can be used to override various settings, including the ones from environment variables.
* Add a configuration option for deciding the Cogl drivers to useEmmanuele Bassi2015-12-102-1/+10
| | | | | | | | | | 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
* backend: Allow overriding the Cogl drivers chainEmmanuele Bassi2015-12-102-23/+73
| | | | | | | | | | | | | | | | | | 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
* Fix annotation for bind_model()Emmanuele Bassi2015-12-091-1/+1
| | | | | The (optional) annotation should only be used for (out) arguments; in arguments that can be NULL should use the (nullable) annotation.
* Fix definition of ClutterEventExtenderEmmanuele Bassi2015-12-091-0/+2
| | | | | The interface vtable structure is missing the GTypeInterface parent, and GObject is complaining about it, as it should.
* build: Use the 'x11' pkg-config module to check for X11Emmanuele Bassi2015-12-081-4/+1
| | | | | | Don't look at GLX headers or symbols; we don't use them anyway. https://bugzilla.gnome.org/show_bug.cgi?id=759191
* gdk: Check for both GDK and Cogl winsys supportEmmanuele Bassi2015-12-081-3/+3
| | | | | | When using GDK and Cogl API, we need to check that both GDK and Cogl have been built with support for that API, otherwise the build will likely fail.
* test: interactive: port cairo clock to ClutterCanvasLionel Landwerlin2015-12-061-16/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759074
* test: interactive: port cairo flowers to ClutterCanvasLionel Landwerlin2015-12-061-11/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759074
* evdev: Drop redundant stage set checkJonas Ådahl2015-12-031-5/+0
| | | | | | | Every path creating a input device in the evdev backend sets a stage, so the check is unnecessary. https://bugzilla.gnome.org/show_bug.cgi?id=752752
* text: Enforce boolean valueEmmanuele Bassi2015-11-301-0/+2
| | | | | | We store the cursor-visible value in a bit field, which means that we need to enforce the argument for the setter to either 0 or 1 in order to fit.
* docs: Improve documentation for ClutterTextEmmanuele Bassi2015-11-301-3/+8
| | | | Ensure that the rule for :cursor-visible are documented.
* text: Unify conditions for visible cursorEmmanuele Bassi2015-11-301-12/+6
| | | | | We have a bunch of similar checks in various places, and they should all be coalesced into one.
* build: Add --disable-WerrorEmmanuele Bassi2015-11-301-12/+21
| | | | | | | | | | | We enable a bunch of compiler flags to trip common errors during development. While this is very useful while hacking on Clutter, it makes the life of people building Clutter on automated build systems much harder; thus, we should have a configuration option to opt out of the -Werror business. GNOME has pretty much standardised on `--disable-Werror`, so we should crib that configure option.
* Add tags to the Git ignore fileEmmanuele Bassi2015-11-281-0/+1
|
* text: Allow selectability without editabilityEmmanuele Bassi2015-11-281-70/+75
| | | | | | | | | | | | | | | | | | | | | | | Being able to select text and being able to edit text are two separate capabilities, but ClutterText only allows the former with the latter. The ClutterText:selectable property is set to TRUE by default, given that it depends on the :editable property; this implies that all ClutterText instances now are going to show a cursor as soon as they get key focused. Obviously, this would make labels look a bit off — but if you have a label then you would not give it key focus, either by explicitly calling clutter_actor_grab_focus(), or by setting it as reactive and allowing it to be clicked. If this turns out to be a problem, we have various ways to avoid showing a cursor — for instance, we could change the default value of the selectable property, and ensure that setting the :editable property to TRUE would also set the :selectable property as a side effect. Or we could hide the cursor until the first button/touch press event. Finally, we could always back this commit out if it proves to be too much of a breakage for existing code bases. https://bugzilla.gnome.org/show_bug.cgi?id=757470