Commit Graph

407 Commits

Author SHA1 Message Date
roytam1 3c23f8ee4e Merge remote-tracking branch 'origin/tracking' into custom 2026-05-26 10:04:10 +08:00
Moonchild b611d80223 [gfx/layout] Simplify textruns
Cache overflow textruns in a better place and stop using a lazy class.
This avoids doing caching in the rendering back-end, and does so where
necessary in TextOverflow (for ellipses)
2026-05-26 09:37:08 +08:00
roytam1 d547944a68 Merge remote-tracking branch 'origin/tracking' into custom 2026-05-15 09:23:47 +08:00
Moonchild 335ddc41b9 Issue #3030 - Improve image cache entry handling.
This:
- increases max image cache entry size and adjusts related parameters.
- makes the cache entry timeout configurable for advanced tweaking.
- adds a mechanism to keep commonly-used, small image sizes in cache
  longer.
2026-05-15 09:19:17 +08:00
roytam1 bebacdeb48 Merge remote-tracking branch 'origin/tracking' into custom 2026-05-08 06:46:05 +08:00
Moonchild 121a74e183 [gfx] Fix integer overflow in cairo PDF surface image emission 2026-05-08 06:45:00 +08:00
Moonchild d8aab0e846 Issue #3083 - Fix incorrect nullcheck. 2026-05-08 06:44:02 +08:00
Moonchild 66b46610a9 Issue #3083 - Add sanity check to EmulatedIndexedStorage::getNativeStorage 2026-05-08 06:43:48 +08:00
Moonchild 9e83146d96 Issue #3083 - Turn debug-only assert into a skip. 2026-05-08 06:43:30 +08:00
Basilisk-Dev 1cd178a938 Issue #3079 - only build the X11-specific GL code on X11 systems 2026-05-08 06:43:09 +08:00
Basilisk-Dev e37be1c0e7 Issue #3079 - Silence EGL library load logging 2026-05-08 06:42:53 +08:00
Basilisk-Dev 5f72c9b23b Issue #3079 - Use desktop OpenGL for X11 EGL 2026-05-08 06:42:39 +08:00
Basilisk-Dev f8ad674b35 Issue #3079 - Add EGL-aware X11 GL probing and fallback 2026-05-08 06:42:25 +08:00
roytam1 9161cd3bdb Merge remote-tracking branch 'origin/tracking' into custom 2026-04-30 09:42:38 +08:00
Moonchild 208e06dc84 [gfx] Add sanity checks in ANGLE D3D11 renderer. 2026-04-30 09:41:06 +08:00
roytam1 074d35b4a5 Merge remote-tracking branch 'origin/tracking' into custom 2026-04-27 11:14:05 +08:00
Moonchild 80b0fe5547 [gfx] OTS/HB: Correct bounds checks. 2026-04-27 11:08:02 +08:00
roytam1 6be945e9da Merge remote-tracking branch 'origin/tracking' into custom 2026-04-27 10:42:07 +08:00
Moonchild 1f95ec61d6 Revert "[gfx] Use local statics for harfbuzz callback pointers"
This reverts commit 60a96d9cd23d668d6d7b1382389b6ea9c2e55d19.
2026-04-27 10:41:50 +08:00
Timothy Nikkel 5a065b86fc Bug 2029291. 2026-04-27 10:37:50 +08:00
Andy Leiserson 3d9478ef97 Bug 2029427 - Fix format string 2026-04-27 10:36:14 +08:00
Moonchild 602a2e35d8 [gfx] Explicitly cast calculation to int32. 2026-04-27 10:35:45 +08:00
Moonchild 99c241d56f [gfx] Port libyuv upstream bounds check. 2026-04-27 10:35:10 +08:00
roytam1 0e82367b9c Merge remote-tracking branch 'origin/tracking' into custom 2026-04-27 10:23:19 +08:00
Moonchild 4139582955 [gfx] Stop using binary arithmetic in software filtering.
There was some weird binary arithmetic to artificially clamp values in
calculations for dot products. (multiply by (x >= 0)...)
Switch to `std::clamp()` on the initial value instead.
2026-04-27 10:09:26 +08:00
Moonchild 483bf0f43a [gfx] Don't return dummy surfaces. 2026-04-27 10:01:29 +08:00
roytam1 8a2c4ec1a0 Merge remote-tracking branch 'origin/tracking' into custom 2026-04-24 09:23:52 +08:00
Moonchild 6048fc0fb7 Issue #3058 - Part 1: Fix arithmetic issue in ConvertYCbCrToRGB32
The more complex part can be landed later.
2026-04-24 09:16:01 +08:00
roytam1 0dc5814ab1 Merge remote-tracking branch 'origin/tracking' into custom 2026-04-23 09:27:17 +08:00
Jeremy Andrews e98a43e46c Issue #3038 - Fix ARM assembler issues in libpixman.
Probably not strictly related to Python 3 changes, but small enough
that expanding the scope to general UXP build issues on Debian
won't be too bad an idea, since the issue was reported there anyway.
Likely related to binutils updates reporter mentioned.
2026-04-23 09:01:08 +08:00
roytam1 c8f7030b13 Merge remote-tracking branch 'origin/tracking' into custom 2026-04-10 22:55:31 +08:00
Moonchild 546e0075dd Issue #3042 - Add canvas WebGL context powerPreference
Resolves #3042
2026-04-10 22:55:02 +08:00
roytam1 4d6414cfd0 Merge remote-tracking branch 'origin/tracking' into custom 2026-04-02 23:49:52 +08:00
Moonchild b96505c0e3 [gfx] Use local statics for harfbuzz callback pointers
This ensures thread-safe initialization.
2026-04-02 23:48:31 +08:00
Moonchild 09c0393640 No issue - Add convolver sanity check 2026-04-02 23:47:38 +08:00
roytam1 5b447a5fd9 Merge remote-tracking branch 'origin/tracking' into custom 2026-03-12 10:43:10 +08:00
Moonchild ce5b57f5be Issue #2978 - Avoid empty replacements in macro expansion.
If the replacements array is empty, don't attempt to do any work on the
existing macro, and return. This should prevent infinite recursion in
some cases.
Order matters here: we're relying on the `if` statement shortcut so
`collectMacroArgs()` doesn't get called.
2026-03-12 10:38:53 +08:00
roytam1 b8475e05cf Merge remote-tracking branch 'origin/tracking' into custom 2026-03-11 23:02:43 +08:00
Moonchild 01b4ef076f No issue - Fix some fatal printing assertions.
- Turn a fatal assert into a warning if we can't guarantee a drawTarget.
  This should not be fatal since the DrawTarget is checked later.
- Remove a fatal assertion if a display table background is cross-document
  since non-display iframes may cause this situation without it being an
  error.
2026-03-11 23:01:40 +08:00
roytam1 2a33ab0e2c Merge remote-tracking branch 'origin/tracking' into custom 2026-03-05 10:52:16 +08:00
Brian Smith 825c1f4f81 No Issue - Fix clang builds on 32-bit ARM Linux. The clang integrated assembler can't handle these files. 2026-03-05 10:51:13 +08:00
roytam1 de7873be5a Merge remote-tracking branch 'origin/tracking' into custom 2026-02-25 09:07:33 +08:00
Brad Werth dccd7b8d91 [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-02-25 09:05:49 +08:00
roytam1 4aeb7e36cd Merge remote-tracking branch 'origin/tracking' into custom 2026-02-24 09:17:34 +08:00
Moonchild 483762871c 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-02-24 07:44:26 +08:00
roytam1 8e7fc6a945 Merge remote-tracking branch 'origin/tracking' into custom 2026-02-19 11:14:28 +08:00
Jazzzny 4a5a4216fa Issue #2051 - Follow-up: Reverse filter channel order on big-endian. 2026-02-19 11:11:12 +08:00
roytam1 aace8fa8c0 Merge remote-tracking branch 'origin/tracking' into custom 2026-01-15 22:39:10 +08:00
Moonchild 3aff60e443 [gfx] Add some additional sanity checks to cairo surface creation. 2026-01-15 22:38:25 +08:00
Moonchild 6ca8cf782b [gfx] Use better types for cairo image surface manipulations. 2026-01-15 22:08:26 +08:00