Dash:
[t2-trunk.git] / package / www / firefox / Skia-table-titles-fading.patch
blobb458a474766cd729c5dbcba2cf4842186b9ecdef
1 https://bugzilla.mozilla.org/show_bug.cgi?id=1504834#c10
3 --- a/gfx/2d/DrawTargetSkia.cpp
4 +++ b/gfx/2d/DrawTargetSkia.cpp
5 @@ -1866,6 +1866,14 @@
6 SkCanvas::kPreserveLCDText_SaveLayerFlag |
7 (aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0));
9 +#if MOZ_BIG_ENDIAN
10 + // Pushing a layer where an aMask is defined produces wrong output.
11 + // We _should_ endian swap the data, but I couldn't find a workable way to do so
12 + // Therefore I deactivate those layers in the meantime.
13 + // The result is: Tab-titles that are longer than the available space should be faded out.
14 + // The fading doesn't work, so we deactivate the fading-effect here.
15 + if (!aMask)
16 +#endif
17 mCanvas->saveLayer(saveRec);
19 SetPermitSubpixelAA(aOpaque);