Use MAKE_ACCESSORS() to generate accessors for 24bpp formats
authorSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 16 Aug 2011 18:38:44 +0000 (14:38 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 20 Sep 2011 10:44:05 +0000 (06:44 -0400)
commit2114dd8aa1f292541e55b6b84152732b37c1c1eb
treea813e6d44373f1100550b5e7c76ee23fdfbb2db4
parentf19f5daa1b111368bcf75435dce12483e08756f2
Use MAKE_ACCESSORS() to generate accessors for 24bpp formats

Add FETCH_24 and STORE_24 macros and use them to add support for 24bpp
pixels in fetch_and_convert_pixel() and
convert_and_store_pixel(). Then use MAKE_ACCESSORS() to generate
accessors for the 24 bpp formats:

    r8g8b8
    b8g8r8
pixman/pixman-access.c