Brian Smith
fca1546384
No Issue - Fix clang builds on 32-bit ARM Linux. The clang integrated assembler can't handle these files.
2026-03-09 21:25:11 +00:00
Brad Werth
b8890277ba
[gfx] Use gzip stream total_out for SVG document parsing.
...
With this change, the assert is no longer necessary, because the stream
tells us how many elements to process.
2026-03-09 21:24:31 +00:00
Moonchild
1cef1ae767
No issue - Fix cairo warnings
...
This fixes warning spew because warnings are thrown in case of mixed use
of cairo_status_t and cairo_int_status_t, which is a hack in cairo
because C99 doesn't support real enums (it's mapped to uint8 internally).
The "register" storage type is no longer a thing in C++17, which would
also warn; just letting the compiler decide is best, so just removing
the keyword is the proper solution in cairoint.h
2026-03-09 21:23:36 +00:00
K4sum1
6be1c0968c
misc fixs
2025-09-27 19:36:43 -07:00
K4sum1
67052bd6bb
Add back Nvidia 3D because why not
2025-09-27 19:36:40 -07:00
roytam1
e4c5aafee9
Merge remote-tracking branch 'origin/tracking' into custom
2025-09-23 15:20:06 +08:00
Moonchild
3a121f34c8
[gfx] Use std::size rather than hardcoding an array size
2025-09-23 15:19:12 +08:00
Moonchild
6e19656e11
[gfx] Clarify comments.
...
There may be other situations where putting a font entry in the cache
table may fail that are perfectly valid.
2025-09-23 15:18:03 +08:00
Moonchild
060e2965b8
Revert "[gfx] Guard against possible race via gfxFontEntry::GetFontTable."
...
This reverts commit a1cf966815240aef59e33c49c9496e3516b1fdd7.
2025-09-23 15:17:12 +08:00
Moonchild
c7e103b06e
No issue - Clarify Azure Back-end info.
...
Only mention OpenGL accelerated canvas flag when it's relevant, and rename
the entry to be more descriptive, to prevent confusion for users looking
at Troubleshooting Information.
2025-09-23 15:16:56 +08:00
roytam1
e5ea29554a
Merge remote-tracking branch 'origin/tracking' into custom
2025-08-21 16:07:53 +08:00
Moonchild
7cadc57d49
[gfx] Guard against possible race via gfxFontEntry::GetFontTable.
2025-08-21 16:04:25 +08:00
roytam1
db9b04cc44
Merge remote-tracking branch 'origin/tracking' into custom
2025-08-04 21:33:36 +08:00
Moonchild
a036cfeb69
Issue #2714 - Implement the Visual Viewport API
...
This DOM/Web API is entirely irrelevant for desktop use.
We give back the width/height of the root scrollframe of content and
for scale we pass forward our dpp resolution (usually 1.0).
Since we have no "no touch" zones in our content on desktop,. the rest
(origin and offset) is hard-coded to (0,0).
2025-08-04 21:32:39 +08:00
roytam1
4c1a4a4402
Merge remote-tracking branch 'origin/tracking' into custom
2025-07-29 10:44:33 +08:00
erixreyes
cb2547efa3
Issue #2489 : Adding RGB to HSL function
2025-07-29 10:12:20 +08:00
roytam1
be6796bb20
Merge remote-tracking branch 'origin/tracking' into custom
2025-07-25 07:33:44 +08:00
Moonchild
40f96b82ad
[gfx] Hold a stronger reference to gfxFontEntry.
2025-07-25 07:31:08 +08:00
roytam1
b59402a1f9
Merge remote-tracking branch 'origin/tracking' into custom
2025-07-16 15:39:18 +08:00
MeladJM
5e8e1208e7
Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes
2025-07-16 15:20:45 +08:00
roytam1
10b96192dd
gfx: relax DrawTargetCairo::IsValid() check, fixes crash when loading spectrumsurveys.com
2025-07-09 00:09:31 +08:00
roytam1
6414271c91
Merge remote-tracking branch 'origin/tracking' into custom
2025-06-17 09:32:50 +08:00
Moonchild
91a026ea65
No issue - Set device contrast to an acceptable value if OOB.
...
On Mac and Win+DW, enhanced device contrast can possibly not be set.
This throws Skia for a loop by passing in an OOB scalar to its init.
Work around this by setting an accepted average value that helps
prevent font wash-out while not causing fringing.
2025-06-17 09:23:10 +08:00
roytam1
7f3ccb5dc3
Merge remote-tracking branch 'origin/tracking' into custom
2025-05-27 23:22:51 +08:00
Brian Smith
ce535a850f
No Issue - MacOS fixes and updates. stroucki reported on the forum a libary not loading. This corrects the path. It still loads with the incorrect path on most systems, but fixing it anyway. https://github.com/joseluisq/macosx-sdks Update the SDK list with the SDKs available here.
2025-05-27 23:20:46 +08:00
roytam1
e72f8a3a81
Merge remote-tracking branch 'origin/tracking' into custom
2025-05-14 14:36:05 +08:00
Brian Smith
e8b3077d4f
No Issue - Fixes for building with LLVM 19 included with FreeBSD 13.5. Fix a conflict with libc++ 19 and the old Mozilla (re)alloc macros. LLVM 18+ does not allow std::char_traits<unsigned char> so avoid it. https://bugzilla.mozilla.org/show_bug.cgi?id=1849070 Partial NSS upgrade to replace ByteString with a class. https://bugzilla.mozilla.org/show_bug.cgi?id=1851092
2025-05-14 14:20:07 +08:00
roytam1
310c05b97a
Merge remote-tracking branch 'origin/tracking' into custom
2024-11-21 21:09:29 +08:00
Moonchild
ef5f052d97
Issue #2657 - Remove -moz-samplesize resize-decoding for low-vram mobiles
...
Resolves #2657
2024-11-21 21:08:24 +08:00
roytam1
4397f384a7
Merge remote-tracking branch 'origin/tracking' into custom
2024-10-31 21:48:26 +08:00
Moonchild
8d536c0cc7
Issue #2646 - Parse "variations" keywords.
...
Resolves #2646
2024-10-31 21:47:14 +08:00
roytam1
d27ddaffd7
Merge remote-tracking branch 'origin/tracking' into custom
2024-08-05 10:39:53 +08:00
Nia Alarie
a023a81fef
Fix loading libGL on NetBSD
...
The unversioned libGL is preferred on OpenBSD and NetBSD because
both (a) always install it (b) have forks of X11 with different
ABI versions. However, many Linux distributions do not ship
unversioned .so symlinks unless you install -dev packages.
Unfortunately also needs to be fixed in ANGLE which has the same
problem.
2024-08-05 10:39:06 +08:00
Moonchild
5c509ea6ce
Issue #1925 - Replace RectCorner with Corner.
2024-08-05 10:38:49 +08:00
Moonchild
c096b46278
Issue #1925 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function.
2024-08-05 10:38:32 +08:00
Moonchild
2a399b60a1
Issue #1925 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function.
2024-08-05 10:38:17 +08:00
Moonchild
b0b13b8719
Issue #1925 - Convert NS_SIDE_IS_VERTICAL to a constexpr function.
2024-08-05 10:38:00 +08:00
Moonchild
8a2bc8ef4d
Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function.
...
Note: Because the new function checks types, we need to change the
fullCorner type in `nsComputedDOMStyle::GetEllipseRadii()` and
`StyleAnimationValue::ExtractComputedValue()` to `Corner` instead of the
underlying base type.
2024-08-05 10:35:50 +08:00
Moonchild
31badb0f2e
Issue #1925 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function.
2024-08-05 10:35:29 +08:00
Moonchild
f507d2cdbc
Issue #1925 - Convert NS_HALF_CORNER_IS_X to a constexpr function.
2024-08-05 10:35:13 +08:00
Moonchild
1730199755
Issue #1925 - Move NS_FOR_CSS_HALF_CORNER to gfx/2d/Types.h and rewrite it.
2024-08-05 10:34:47 +08:00
Moonchild
8dc8875db6
Issue #1925 - Convert half-corner index macros to an enum.
2024-08-05 10:34:31 +08:00
Moonchild
d73f8c2e84
Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros.
2024-08-05 10:34:15 +08:00
Moonchild
0a7f42b452
Issue #1925 - Rewrite NS_FOR_CSS_CORNERS to be similar to *_SIDES
...
- Renames it to NS_CSS_FULL_CORNERS and uses the one macro for all full
corners. In preparation for giving half corners the same treatment.
- Swaps to prefix operator++
2024-08-05 10:33:54 +08:00
Moonchild
b3a51c2711
Issue #1925 - Move Corner enum from mozilla::css to mozilla namespace.
2024-08-05 10:33:38 +08:00
Moonchild
bdb12f10e3
Issue #1925 - Move NS_FOR_CSS_CORNERS and enum to gfx/2d/Types.h.
2024-08-05 10:32:40 +08:00
Moonchild
3a153f32e3
Issue #1925 - Change Side's operator++ from postfix to prefix.
...
The postfix operator++ was actually incorrectly implemented (the
implementation is a prefix version). Since it's only used in the adjacent
macro, there's no risk with this change to correct that.
2024-08-05 10:32:24 +08:00
Moonchild
ec7351a5d4
Issue #1925 - Remove use of NS_SIDE_* macros.
2024-08-05 10:31:46 +08:00
Moonchild
e6e2796541
Issue #1925 - Remove mozilla::css::Side typedef.
2024-08-05 10:30:50 +08:00
Moonchild
5b0921df6e
Issue #1925 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h
2024-08-05 10:30:33 +08:00