Skip to content

Add Clutter API to get the stage-views an actor is painted on

Jonas Dreßler requested to merge verdre/mutter:add-stage-views-on-list into master

Add a clutter_actor_peek_stage_views() method and a stage-views-changed signal to ClutterActor.

This doesn't invalidate the stage-views list on changes to the transformation of the actors yet, for that we need another new ClutterActor method to invalidate the custom transformations applied via the apply_transform() vfunc. Also things will get quite a bit more expensive when doing that (the transformation matrix will have to be put together more often), so we probably also want the caching of transformation matrices in place when we start doing that.

Before anyone starts working on all those things, I already finished the caching of transformation matrices and refactored resource-scale calculation to use the stage-views-on list.

Depends on: !1247 (merged)

Edited by Jonas Dreßler

Merge request reports