mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00: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> |
||
---|---|---|
.. | ||
blend-strings.xml | ||
cogl_ortho.png | ||
cogl-2.0-experimental-docs.xml.in | ||
cogl-2.0-experimental-sections.txt | ||
fill-rule-even-odd.png | ||
fill-rule-non-zero.png | ||
Makefile.am | ||
quad-indices-order.png | ||
quad-indices-triangles.png |