forked from pool/MozillaThunderbird
6c01889e00
- appdate screenshot URL updated (by mailaender@opensuse.org) - Mozilla Thunderbird 91.0 * based on Mozilla's 91 ESR codebase * many new and changed features https://www.thunderbird.net/en-US/thunderbird/91.0/releasenotes/#whatsnew * Renamed "Add-ons" to "Add-ons and Themes" and "Options" to "Preferences" * Thunderbird now operates in multi-process (e10s) mode by default * New user interface for adding attachments * Enable redirect of messages * CardDAV address book support - Removed obsolete patches: * mozilla-bmo1463035.patch * mozilla-ppc-altivec_static_inline.patch * mozilla-pipewire-0-3.patch * mozilla-bmo1554971.patch - add mozilla-libavcodec58_91.patch - removed obsolete BigEndian ICU build workaround - updated build requirements - build using clang OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=600
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
# HG changeset patch
|
|
# User Steve Singer <steve@ssinger.info>
|
|
# Date 1558451540 -7200
|
|
# Tue May 21 17:12:20 2019 +0200
|
|
# Node ID 433beec63e6b5f409683af20a0c1ab137cc7bfad
|
|
# Parent c0fdccc716e80a6d289c94f5d507ae141c62a3bf
|
|
Bug 1005535 - Get skia GPU building on big endian.
|
|
|
|
diff --git a/gfx/skia/skia/src/gpu/GrColor.h b/gfx/skia/skia/src/gpu/GrColor.h
|
|
--- a/gfx/skia/skia/src/gpu/GrColor.h
|
|
+++ b/gfx/skia/skia/src/gpu/GrColor.h
|
|
@@ -59,17 +59,17 @@ static inline GrColor GrColorPackRGBA(un
|
|
#define GrColorUnpackG(color) (((color) >> GrColor_SHIFT_G) & 0xFF)
|
|
#define GrColorUnpackB(color) (((color) >> GrColor_SHIFT_B) & 0xFF)
|
|
#define GrColorUnpackA(color) (((color) >> GrColor_SHIFT_A) & 0xFF)
|
|
|
|
/**
|
|
* Since premultiplied means that alpha >= color, we construct a color with
|
|
* each component==255 and alpha == 0 to be "illegal"
|
|
*/
|
|
-#define GrColor_ILLEGAL (~(0xFF << GrColor_SHIFT_A))
|
|
+#define GrColor_ILLEGAL ((uint32_t)(~(0xFF << GrColor_SHIFT_A)))
|
|
|
|
/** Normalizes and coverts an uint8_t to a float. [0, 255] -> [0.0, 1.0] */
|
|
static inline float GrNormalizeByteToFloat(uint8_t value) {
|
|
static const float ONE_OVER_255 = 1.f / 255.f;
|
|
return value * ONE_OVER_255;
|
|
}
|
|
|
|
/** Used to pick vertex attribute types. */
|