1
0
Fork 0
mutter-performance-source/cogl
Joan Torres afdd0be161 cogl/boxed-value: Use array types properly
There are three array properties, considering type:
1. float *float_array
2. int *int_array
3. void *array

Drop using array. This was inteded to be used when type is matrix and
count > 1, however some functions use it and others use
float_array. Fix this using always float_array, this starts to make all funcs
consistent handling the properties.

There's a mem leak when destroying the boxed value, only freeing the array
prop. Free the corresponding array considering the boxed value type to fix it.

_cogl_boxed_value_set_x func is still inconsistent, the next commits
will solve it.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3965>
2024-09-23 20:50:31 +00:00
..
cogl cogl/boxed-value: Use array types properly 2024-09-23 20:50:31 +00:00
cogl-pango cogl/pango: Drop mipmapping API/env variables 2024-08-22 16:45:01 +00:00
meson.build build: Split X11 server & client dependencies 2024-06-30 15:09:00 +02:00