
We can't unfortunately use the macros for the sub-types as the whole GL variant of the texture wants access to the struct fields even when using a macro like COGL_DECLARE_INTERNAL_TYPE. So we would have to re-do the whole driver integration first. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4100>