Behdad Esfahbod
|
d65ec49177
|
[hvgl/transforms] Add a likely()
|
2025-03-03 15:35:58 -07:00 |
|
Behdad Esfahbod
|
95a3b95a3e
|
[hvgl/transform] Micro-optimize
|
2025-03-03 15:22:26 -07:00 |
|
Behdad Esfahbod
|
1ba13d86bf
|
[hvgl/transform] Micro-optimize
|
2025-03-03 15:16:37 -07:00 |
|
Behdad Esfahbod
|
633290dc63
|
[hvgl] Reuse sanitizer object
|
2025-03-03 14:51:09 -07:00 |
|
Behdad Esfahbod
|
d163519a6a
|
[hvgl] Micro-optimize
|
2025-03-03 14:31:41 -07:00 |
|
Behdad Esfahbod
|
57b334839b
|
[hvgl] Micro-optimize
|
2025-03-03 14:28:13 -07:00 |
|
Behdad Esfahbod
|
3f70a6a1f5
|
[hvgl] Add a bounds check
|
2025-03-03 14:25:53 -07:00 |
|
Behdad Esfahbod
|
bb17175d94
|
[hvgl] Comment
|
2025-03-03 14:23:42 -07:00 |
|
Behdad Esfahbod
|
e3a8418a2c
|
[hvgl] Fast-path when no extremum rotations are present
|
2025-03-03 14:17:05 -07:00 |
|
Behdad Esfahbod
|
ff5404d047
|
[hvgl] Fix sign of returned extents
|
2025-03-03 11:48:00 -07:00 |
|
Behdad Esfahbod
|
2591fb98a9
|
Merge branch 'main' into HVF
|
2025-03-03 11:47:54 -07:00 |
|
Behdad Esfahbod
|
302302d9c5
|
[VARC] Fix sign of returned extents
|
2025-03-03 11:46:22 -07:00 |
|
Behdad Esfahbod
|
004d079914
|
Merge branch 'main' into HVF
|
2025-03-03 02:21:05 -07:00 |
|
Behdad Esfahbod
|
e9134c8ce3
|
[COLR] Reduce malloc pressure
By caching paint-extents.
|
2025-03-03 02:18:49 -07:00 |
|
Behdad Esfahbod
|
9efd17e225
|
[COLR] Switch to using (existing) accelerator
|
2025-03-03 02:17:13 -07:00 |
|
Behdad Esfahbod
|
ce12c19548
|
[COLR] Reduce malloc pressure
By caching paint-extents.
|
2025-03-03 02:10:04 -07:00 |
|
Behdad Esfahbod
|
3f89843df3
|
[COLR] Switch to using (existing) accelerator
|
2025-03-03 01:44:01 -07:00 |
|
Behdad Esfahbod
|
b652d02eb9
|
Merge branch 'main' into HVF
|
2025-03-03 01:30:08 -07:00 |
|
Behdad Esfahbod
|
d3d1c47629
|
[hvgl] Fix scratch caching
|
2025-03-03 01:29:20 -07:00 |
|
Behdad Esfahbod
|
17ddc84406
|
[VARC] Fix scratch caching
|
2025-03-03 01:27:32 -07:00 |
|
Behdad Esfahbod
|
a62058eee8
|
[VARC] Separate varc scratch from glyf scratch
|
2025-03-03 01:19:52 -07:00 |
|
Behdad Esfahbod
|
b4667287a5
|
[hvgl] Micro-optimize
|
2025-03-03 01:10:09 -07:00 |
|
Behdad Esfahbod
|
01453ba1a0
|
[hvgl] Use a context object
|
2025-03-03 01:07:03 -07:00 |
|
Behdad Esfahbod
|
c577cd6c98
|
[hvgl] Simplify accounting
|
2025-03-03 00:32:30 -07:00 |
|
Behdad Esfahbod
|
d5ffbd612d
|
Merge branch 'main' into HVF
|
2025-03-02 18:40:38 -07:00 |
|
Behdad Esfahbod
|
3199d1c1f5
|
[VARC] Use a context object to pass arguments around
|
2025-03-02 18:35:46 -07:00 |
|
Behdad Esfahbod
|
11d6700d82
|
[hvgl] Add glyph_extents
|
2025-03-02 17:20:07 -07:00 |
|
Behdad Esfahbod
|
27500fea45
|
[hvgl] Fix compiler warning
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
dd6d763fba
|
[hvgl] Reduce stack use by one int
lol
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
637398c241
|
[hvgl] Use a cached scratch pad to avoid mallocs completely
Yay. 10% speedup too.
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
f4debfb34f
|
[hvgl] Use a scratch pad
Towards malloc-free drawing.
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
689ecdb156
|
[hvgl] Simplify eigen math
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
103eda6343
|
[hvgl] Remove use of complex numbers
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
64ae0d5527
|
[hvgl] Name a value
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
b97a044b8f
|
[hvgl] Fix build after rebase
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
cd269e206a
|
[hvgl] Micro-optimize vector resize
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
3bb4ee78c1
|
[hvgl] Cosmetic
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
39483e8e74
|
[hvgl] Micro-optimize
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
551edd7d08
|
[hvgl/transforms] Micro-optimize more
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
c9f69bcf07
|
[hvgl] Replace complex exp() with a sincos()
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
225426304f
|
[hvgl/transforms] Micro-optimize
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
a2e6fea26f
|
[hvgl/transforms] Micro-optimize
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
3955b52340
|
[hvgl/transforms] Comment
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
6e8f20bb65
|
[hvgl/transforms] Break up some more
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
4ede146739
|
[hvgl/transforms] Break up the four-iterator loop again
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
186e9c8f44
|
[hvgl] Reduce a complex multiplication
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
b13c81276b
|
[paint] Simplify transforms
Transform nodes are rarely no-op anyway. Don't optimize them away.
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
47017bbb77
|
[geometry] Numerical stability
So the tests pass.
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
4d52539275
|
[geometry] Add scale_around_center & skew_around_center
|
2025-03-02 17:03:51 -07:00 |
|
Behdad Esfahbod
|
a5b083b758
|
[paint] Use transforms from hb-geometry
|
2025-03-02 17:03:51 -07:00 |
|