GNOME Bugzilla – Bug 654577
Use CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check
Last modified: 2011-07-13 21:12:46 UTC
See patch (also makes us require clutter 1.7 but mutter does that anyway).
Created attachment 191922 [details] [review] Use CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check Clutter 1.7.x introduced CLUTTER_CAIRO_FORMAT_ARGB32: which can be used when sharing textures/data with cairo without having to do check the byte order and choose the appropriate format by hand.
Review of attachment 191922 [details] [review]: Note non-endian safe uses of COGL_PIXEL_FORMAT_BGRA_8888 in shell-recorder.c that should be fixed as well. Otherwise, good to commit.
Attachment 191922 [details] pushed as 0f49f36 - Use CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check with the recorder fixes.