diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-28 15:47:47 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-28 16:05:47 +0100 |
commit | c93ed6d63a1a2bbb43db6e8f420ef2283dd54623 (patch) | |
tree | 101143d45b5d5de9812d728a8d9ac86d30d9f593 /include/netsurf | |
parent | 035106032ba33fa85c98126c364faa5f4d03b2e3 (diff) | |
download | netsurf-c93ed6d63a1a2bbb43db6e8f420ef2283dd54623.tar.gz netsurf-c93ed6d63a1a2bbb43db6e8f420ef2283dd54623.tar.bz2 |
Bitmap: Add support for premultiplied alpha conversion.
Diffstat (limited to 'include/netsurf')
-rw-r--r-- | include/netsurf/bitmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netsurf/bitmap.h b/include/netsurf/bitmap.h index da1c284e6..eb26810a9 100644 --- a/include/netsurf/bitmap.h +++ b/include/netsurf/bitmap.h @@ -115,7 +115,8 @@ enum bitmap_layout { /** Bitmap format specifier. */ typedef struct bitmap_fmt { - enum bitmap_layout layout; /** Colour component layout. */ + enum bitmap_layout layout; /**< Colour component layout. */ + bool pma; /**< Premultiplied alpha. */ } bitmap_fmt_t; struct content; |