mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
5cdc9af18a
Although these are in the public headers we should assume that no one is using them since they were never documented so no could know what they are useful for. If you were to guess you'd be forgiven for thinking they were bitmasks for checking some flags to see if a format is 24 or 32 bits. If you looked further you might instead be forgiven for thinking that if you masked of the least significant nibble of a pixel-format then you could check the value against these defines. Neither of the previous operations are reliable ways to check if a format is 24 or 32bit and instead code must use then internal _cogl_pixel_format_get_bytes_per_pixel() api if they want to know the pixel size for a given format which relies on a 16 entry lookup table using the least significant nibble of a pixel-format. Reviewed-by: Neil Roberts <neil@linux.intel.com> |
||
---|---|---|
.. | ||
reference | ||
CODING_STYLE | ||
Makefile.am | ||
RELEASING |