mozilla-bmo1005535.patch
branchfirefox72
changeset 1119 4c5d44d40a03
parent 1097 840132a4a9b3
child 1123 7fa561e5d7c7
equal deleted inserted replaced
1118:27c3f029180a 1119:4c5d44d40a03
     1 # HG changeset patch
     1 # HG changeset patch
     2 # User Steve Singer <steve@ssinger.info>
     2 # User Steve Singer <steve@ssinger.info>
     3 # Date 1558451540 -7200
     3 # Date 1558451540 -7200
     4 #      Tue May 21 17:12:20 2019 +0200
     4 #      Tue May 21 17:12:20 2019 +0200
     5 # Node ID 433beec63e6b5f409683af20a0c1ab137cc7bfad
     5 # Node ID 433beec63e6b5f409683af20a0c1ab137cc7bfad
     6 # Parent  42c99b59a87b904063bad3193f10c51d068d2eac
     6 # Parent  0b9b94a6526d4f1aa6e23b95c1f5f7c0bef841a7
     7 Bug 1005535 - Get skia GPU building on big endian.
     7 Bug 1005535 - Get skia GPU building on big endian.
     8 
     8 
     9 diff -r 42c99b59a87b -r 433beec63e6b gfx/skia/skia/include/private/GrColor.h
     9 diff -r 0b9b94a6526d gfx/skia/skia/src/gpu/GrColor.h
    10 --- a/gfx/skia/skia/include/private/GrColor.h	Wed Jun 05 08:48:08 2019 +0200
    10 --- a/gfx/skia/skia/src/gpu/GrColor.h	Tue May 21 17:26:58 2019 +0200
    11 +++ b/gfx/skia/skia/include/private/GrColor.h	Tue May 21 17:12:20 2019 +0200
    11 +++ b/gfx/skia/skia/src/gpu/GrColor.h	Wed Jan 08 12:14:52 2020 +0100
    12 @@ -63,7 +63,7 @@
    12 @@ -64,7 +64,7 @@
    13   *  Since premultiplied means that alpha >= color, we construct a color with
    13   *  Since premultiplied means that alpha >= color, we construct a color with
    14   *  each component==255 and alpha == 0 to be "illegal"
    14   *  each component==255 and alpha == 0 to be "illegal"
    15   */
    15   */
    16 -#define GrColor_ILLEGAL     (~(0xFF << GrColor_SHIFT_A))
    16 -#define GrColor_ILLEGAL     (~(0xFF << GrColor_SHIFT_A))
    17 +#define GrColor_ILLEGAL     ((uint32_t)(~(0xFF << GrColor_SHIFT_A)))
    17 +#define GrColor_ILLEGAL     ((uint32_t)(~(0xFF << GrColor_SHIFT_A)))