Neil Roberts 488e376b7e cogl-bitmap-pixbuf: Avoid copying the buffer in more circumstances
When loading an RGB image GdkPixbuf will pad the rowstride so that the
beginning of each row is aligned to 4 bytes. This was causing us to
fallback to the code that copies the buffer. It is probably safe to
avoid copying the buffer if we can detect that the rowstride is simply
an alignment of the packed rowstride.

This also changes the copying fallback code so that it uses the
aligned rowstride. However it is now extremely unlikely that the
fallback code would ever be used.
2010-07-22 20:13:37 +01:00
..
2010-06-30 11:32:15 +01:00
2010-06-30 11:32:15 +01:00
2010-06-03 14:10:55 +01:00
2010-05-25 11:13:03 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-30 11:32:15 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00