|
4513abd584
|
region: Move rectangle helper macro to Mtk
Rename it to Rectangle prefix to avoid confusion with MtkRegion
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
|
2024-01-09 18:47:34 +00:00 |
|
|
6f9e75b6f2
|
boxes: Move Rectangle.is_adjacent_to to Mtk
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
|
2024-01-09 18:47:34 +00:00 |
|
|
fcc8cfff11
|
boxes: Move Rectangle.scale_double to Mtk
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
|
2024-01-09 18:47:34 +00:00 |
|
|
59457dff81
|
boxes: Move Rectangle.crop_and_scale to Mtk
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
|
2024-01-09 18:47:34 +00:00 |
|
|
a4181a6730
|
mtk: Mark mtk_rectangle_to_graphene_rect in-variable as const
To silence occasional compiler warnings.
Fixes: a93471eb90 ("mtk: Move Rectangle.to_graphene_rect from Meta")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3474>
|
2023-12-29 12:45:19 +01:00 |
|
|
156fe0fdd8
|
mtk: Make Rectangle no longer a typedef
Now that we provide our own Region type which uses
MtkRectangle directly, there is no longer a need to go through cairo
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3292>
|
2023-11-03 11:27:52 +00:00 |
|
|
1abef24154
|
mtk: Move Rectangle.from_graphene_rect from Meta
And drop the clutter helper
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
a93471eb90
|
mtk: Move Rectangle.to_graphene_rect from Meta
Also drops the clutter equivalent
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
aec8e50df8
|
mtk: Move Rectangle.[contains|could_fit]_rect from Meta
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
eafe07de31
|
mtk: Move Rectangle.overlap_* from Meta
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
db77759938
|
mtk: Move Rectangle.area from Meta
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
af7c7befd8
|
mtk: Move Rectangle constructors from Meta
Also rename the rect constructor from mtk_rect to mtk_rectangle_new so
it is detected as a proper constructor instead of a random function by
g-ir-scanner
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
565acaed9c
|
mtk: Move Rectangle.intersect from Meta
Also replaces it usage everywhere & remove the Clutter helper. Note the
tests were not moved yet to mtk.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:14 +02:00 |
|
|
6f66dd9944
|
mtk: Move Rectangle.union from Meta
Similar to Rectangle.equal. The clutter helper was not used.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:13 +02:00 |
|
|
9b2cba4e86
|
mtk: Move Rectangle.equal from Meta
Moves equal the equal function and removes the clutter equivalent. The
tests were not moved until all the remaining helper functions are moved.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:13 +02:00 |
|
|
c035e0e238
|
mtk: Add a copy of MetaRectangle
Just to get the basics for porting Cogl to using it instead of
cairo_rectangle_int_t.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
|
2023-08-30 16:46:13 +02:00 |
|