Behdad Esfahbod
|
7e84cf811f
|
[hvgl] Simplify transform
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
d5174c41ae
|
[hvgl] Fix transform order
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
76dbae15e7
|
[hvgl] Minor
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
dcd73915f9
|
[draw-compare] Add --face-index
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
65d453a032
|
[hb-draw-compare] Tweak
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
96c7f6a7a7
|
[hb-svg-compare] Report exact diff
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
f14eb54a23
|
[hb-draw-compare] Trying to speed up
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
9625933535
|
[hb-draw-compare] Remove svgo; add custom SVG comparator
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
a703e34ced
|
[hb-draw-compare] Change default precision to 1
0 was producing faulty optinized shapes. Sigh..
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
00cb38b9e5
|
[hb-draw-compare] Remove svgo config
Was producing faulty results :(.
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
9fc1ac18c0
|
[hb-draw-compare] Rewrite...
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
4008b79c31
|
[hb-draw-compare] Reuse existing SVGs
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
37b7ab6a5c
|
[hb-draw-compare] Use find instead of ls
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
5672191426
|
[hb-draw-compare] Try making ls work
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
3d68517c38
|
[hb-draw-compare] Spoonfeed svgo
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
c86e0fcd3b
|
[hb-draw-compare] "Improve"
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
835d9ce0f8
|
[hb-draw-compare] Use batching hb-view
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
2c8e862c0e
|
[hb-draw-compare] Work on Unicodes, not glyphs
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
52534c6f4c
|
[test] Add hb-draw-compare
|
2025-03-02 16:59:23 -07:00 |
|
Behdad Esfahbod
|
453aea05b0
|
[hvgl] Use double instead of float for coords & transforms
As "spec" requires.
|
2025-03-02 16:59:19 -07:00 |
|
Behdad Esfahbod
|
00bc3ecf25
|
[geometry] Use int literals instead of float ones
In anticipation of templatizing on float type.
|
2025-03-02 16:58:37 -07:00 |
|
Behdad Esfahbod
|
9f85e97401
|
[hvgl] Remove a resize(0) that was not doing any good
In hb_vector_t<double> we use hb_realloc() for resizing, which
doesn't care what the vector current length is.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
dbef4e324d
|
[hvgl] Name a value
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
da3fca4685
|
[hvgl] Reduce another malloc
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
44780db50d
|
[hvgl] Remove unused parameter
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
9579cee8b0
|
[hvgl] Add table version check
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
d4b29817c8
|
[hvgl] Remove use of a transient variable
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
9b36117203
|
[hvgl] Micro-optimize vector allocation
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
a2fc952342
|
[hvgl] Use a common "scratch" vector
To avoid reallocation.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
de0e1bddff
|
[hvgl] Minor simplify sanitize
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
4e56a0b8b5
|
[hvgl] Use smarter algorithm for cycle detection
Great speedup as we don't use hb_set_t. Yay!
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
cd73ca3c24
|
[hvgl] Possibly save a malloc
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
7a171dcca9
|
[hvgl] Simplify resize call
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
60562fce1a
|
[hvgl] Remove an unnecessary cast
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
26fc2d7c83
|
[hvgl] Minor var type declaration
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
fc62af31c3
|
[hvgl] Bail on error
Easier than handling a vector too short.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
2a3477c87f
|
[hvgl] Micro-optimize
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
d9d589583f
|
[geometry] Minor avoid a default initialization
Compiler probably doesn't care though.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
7d3b340d2c
|
[hvgl] Grammar
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
241304b2ca
|
[hvgl] Micro-optimize
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
460f0f1996
|
[hvgl] Cosmetic
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
b191d08450
|
[hvgl] Micro-optimize
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
500290bb4d
|
[hvgl] Fix typo
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
3bdae43ac6
|
[hvgl] Add a barrier
Just in case.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
c52c98abd3
|
[hvgl] Remove a duplicate variable
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
0a25471bdf
|
[hvgl] Fix vector resize
I meant to resize to exact, but the false wasn't doing that.
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
4bced20619
|
[hvgl] Rename a method
|
2025-03-02 16:57:55 -07:00 |
|
Behdad Esfahbod
|
ecc5800a0e
|
[hvgl] Simplify an array access
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
3f9e9b0b5f
|
[hvgl] Speed up a loop
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
42b562997d
|
[hvgl] Simplify a bit
|
2025-03-02 16:57:54 -07:00 |
|