gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / web / firefox / patches / Bug1531742.patch
blobdc6b00678e28df5a1ace3463804cafda3b6d64e1
1 Sparc DEBUG build only issue:
3 [GFX2-]: Failed to lock WindowSurface, falling back to XPutImage backend.
4 Crash Annotation GraphicsCriticalError: |[0][GFX1]: RGBX corner pixel at (0,0) in 921x691 surface, bounded by (0,0,921,691) is not opaque: 255,162,162,162 (t=7.19982) [GFX1]: RGBX corner pixel at (0,0) in 921x691 surface, bounded by (0,0,921,691) is not opaque: 255,162,162,162
5 Assertion failure: [GFX1]: RGBX corner pixel at (0,0) in 921x691 surface, bounded by (0,0,921,691) is not opaque: 255,162,162,162, at /scratch/firefox/gfx/2d/Logging.h:727
7 https://bugzilla.mozilla.org/show_bug.cgi?id=1325259
9 --- a/gfx/2d/DrawTargetSkia.cpp
10 +++ b/gfx/2d/DrawTargetSkia.cpp
11 @@ -145,8 +145,12 @@
12 return surfaceBounds.Intersect(bounds);
15 +#if __sparc
16 +static const int kARGBAlphaOffset = 0;
17 +#else
18 static const int kARGBAlphaOffset =
19 SurfaceFormat::A8R8G8B8_UINT32 == SurfaceFormat::B8G8R8A8 ? 3 : 0;
20 +#endif
22 static bool VerifyRGBXFormat(uint8_t* aData, const IntSize& aSize,
23 const int32_t aStride, SurfaceFormat aFormat) {