Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_ui_gfx_codec_png__codec.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_ui_gfx_codec_png__codec.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/3rdparty/chromium/ui/gfx/codec/png_codec.h.orig 2019-05-23 12:39:34 UTC | |||||
+++ src/3rdparty/chromium/ui/gfx/codec/png_codec.h | |||||
@@ -37,6 +37,10 @@ class CODEC_EXPORT PNGCodec { | |||||
// This is the default Windows DIB order. | |||||
FORMAT_BGRA, | |||||
+ // 4 bytes per pixel, in ARGB order in memory regardless of endianness. | |||||
+ // Only supported for decoding | |||||
+ FORMAT_ARGB, | |||||
+ | |||||
// SkBitmap format. For Encode() kN32_SkColorType (4 bytes per pixel) and | |||||
// kAlpha_8_SkColorType (1 byte per pixel) formats are supported. | |||||
// kAlpha_8_SkColorType gets encoded into a grayscale PNG treating alpha as |