GNOME Bugzilla – Bug 721918
Fix compilation after API break in Cogl 1.17
Last modified: 2014-01-13 19:50:09 UTC
Cogl 1.17 changed the API of the specialized constructors of the CoglTexture interface implementation. We need to bump the dependency on Cogl, and change the lone call to cogl_texture_2d_new_from_data() inside Mutter.
Created attachment 265900 [details] [review] Update call to cogl_texture_2d_new_from_data()
*** Bug 721901 has been marked as a duplicate of this bug. ***
IMHO, Cogl should revert the change, and postpone it until 2.0.
Review of attachment 265900 [details] [review]: Good iff we don't get an agreement with cogl maintainers on a revert.
to be fair, the API changed is the unstable/experimental one, which has no guarantee between minor versions. on the other hand, though, they avoided changing cogl_texture_rectangle_new_for_size() because Mutter is using it, so I guess they could avoid touching cogl_texture_2d_new_from_data() under the same reasoning.
In my opinion, I'm fine with either breaking API/ABI or keeping it. These were experimental. But I think we should do it consistently: if we want to break API/ABI, break texture_rectangle as well. If we want to keep API/ABI, keep new_from_data as well.