Commit 4f96dc1
committed
Refactor resource scale API to be based on stage-views lists
This commit changes the resource scale API to be based on ClutterActors new stage-views list.
It also introduces proper support for actors like ClutterText where the allocation
depends on the resource-scale, which allows getting the size and position perfect on the first frame.1 parent 44f5b0e commit 4f96dc1
12 files changed
Lines changed: 290 additions & 278 deletions
File tree
- clutter/clutter
- src
- backends
- compositor
- tests/clutter/conform
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
| 318 | + | |
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
323 | 322 | | |
324 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
0 commit comments