Behdad Esfahbod
8ccb383ce0
raster: use clear() for vector reset sites
2026-02-24 06:07:08 -03:00
Behdad Esfahbod
c1393a6153
raster-paint: route recycled images through surface cache
2026-02-24 05:53:32 -03:00
Behdad Esfahbod
15247caceb
raster-paint: consume recycled image in surface acquire
2026-02-24 05:51:37 -03:00
Behdad Esfahbod
1d5b01e40b
raster-paint: move clips into stack to avoid alpha copies
2026-02-24 05:47:13 -03:00
Behdad Esfahbod
4503a760c9
raster-draw: preserve scratch/cache across reset
2026-02-24 05:43:36 -03:00
Behdad Esfahbod
daba58ea97
util/raster-all: render paint output only on success
2026-02-24 05:34:40 -03:00
Behdad Esfahbod
df8892d2b1
Merge pull request #5758 from harfbuzz/raster-paint-speedup
...
Raster paint speedup and other improvements
2026-02-24 01:17:06 -07:00
Behdad Esfahbod
1c44fd9981
raster: use hb_memset in core hot paths
2026-02-24 05:16:42 -03:00
Behdad Esfahbod
383aae52f9
raster: expand top-level docs and usage guidance
2026-02-24 05:08:09 -03:00
Behdad Esfahbod
bcd19a4c39
raster: add draw/paint scale-factor API
2026-02-24 05:02:35 -03:00
Behdad Esfahbod
70f45cbdcd
raster-draw: hardwire output format to A8
2026-02-24 04:52:44 -03:00
Behdad Esfahbod
5ea04afcda
raster: adopt create_or_fail and strict render semantics
2026-02-24 04:46:51 -03:00
Behdad Esfahbod
420fe6ef70
raster: rename helper header to hb-raster-utils.hh
2026-02-24 04:29:07 -03:00
Behdad Esfahbod
bf9b2c86ad
raster: split image internals into private header
2026-02-24 04:26:52 -03:00
Behdad Esfahbod
0727834314
raster-image: consolidate configuration API
2026-02-24 04:22:51 -03:00
Behdad Esfahbod
e13b688611
util: use hb_memcpy/hb_memset for raster paths
2026-02-24 04:08:43 -03:00
Behdad Esfahbod
3fd6adf678
util/raster: use hb_raster_image_t as output buffer
2026-02-24 04:05:44 -03:00
Behdad Esfahbod
c173b39b6a
raster-image: move image ops into methods
2026-02-24 04:03:43 -03:00
Behdad Esfahbod
7ffc215001
[buffer] Add a missing immutable check
2026-02-24 04:00:48 -03:00
Behdad Esfahbod
3f59dce67f
raster-paint: reuse mask clip buffers across push/pop
2026-02-24 03:40:12 -03:00
Behdad Esfahbod
395a620666
raster-paint: keep caches across reset
2026-02-24 03:37:07 -03:00
Behdad Esfahbod
22d102b24e
raster-paint: reuse gradient stop scratch buffer
2026-02-24 03:35:29 -03:00
Behdad Esfahbod
f02a1d1a32
raster-paint: gate gradient LUT by clip area and hoist branch
2026-02-24 03:31:05 -03:00
Behdad Esfahbod
7e53502728
raster-paint: add 256-entry gradient LUT sampling
...
Speeds up at large sizes mostly.
2026-02-24 03:18:39 -03:00
Behdad Esfahbod
0960825994
raster-paint: speed up masked paint_color compositing
2026-02-24 02:58:18 -03:00
Behdad Esfahbod
4653e22a91
raster-paint: compose clip glyph mask in mapped tight extents (~50% faster)
2026-02-24 02:45:05 -03:00
Behdad Esfahbod
b37a92f361
[CFF2] Use a safe direct array access
2026-02-24 02:26:59 -03:00
Behdad Esfahbod
7c5e300751
[CFF2] Slight rename of stack
2026-02-24 02:25:55 -03:00
Behdad Esfahbod
c2757c0d93
raster: make cubic de Casteljau flattener iterative
2026-02-24 02:19:19 -03:00
Behdad Esfahbod
c2fe10f1f3
raster: make quadratic de Casteljau flattener iterative
2026-02-24 02:15:46 -03:00
Behdad Esfahbod
ab4092abd2
raster: annotate sweep_row_to_alpha pointers restrict
2026-02-24 01:52:41 -03:00
Behdad Esfahbod
e0c03c0f65
raster: speed up clip glyph mask composition
2026-02-24 01:17:37 -03:00
Behdad Esfahbod
be6011b7a6
raster-paint: incrementally step affine coords in paint loops
2026-02-24 00:53:12 -03:00
Behdad Esfahbod
3eabfde47a
raster-paint: tighten push_clip_glyph intersection loops
2026-02-24 00:48:55 -03:00
Behdad Esfahbod
b7969504bc
Revert "raster-paint: use bounded clip masks and clipped group compositing"
...
This reverts commit 7f707557d3 .
2026-02-24 00:42:54 -03:00
Behdad Esfahbod
7f707557d3
raster-paint: use bounded clip masks and clipped group compositing
2026-02-24 00:38:04 -03:00
Behdad Esfahbod
1659d27a48
Revert "raster-paint: reuse clip stack storage via logical top"
...
This reverts commit 473f69f555 .
There was no speedup, so keep the simpler code.
2026-02-24 00:10:44 -03:00
Behdad Esfahbod
473f69f555
raster-paint: reuse clip stack storage via logical top
2026-02-24 00:10:11 -03:00
Behdad Esfahbod
332e1afcb5
raster-paint: inline private paint structs into .cc
2026-02-24 00:05:30 -03:00
Behdad Esfahbod
12b5a9ec89
[raster-paint] ALWAYS_INLINE
2026-02-24 00:01:34 -03:00
Behdad Esfahbod
6bfdaabc8a
raster-paint: specialize rect clip hot loops
2026-02-23 23:48:18 -03:00
Behdad Esfahbod
46782abcaa
[raster] Micro-optimize
2026-02-23 23:28:59 -03:00
Behdad Esfahbod
8bb0641ad3
[util] Add -n/--num-iterations to raster-all tools
2026-02-23 22:35:30 -03:00
Behdad Esfahbod
90ef078e46
[util] Centralize --num-iterations and skip repeat shaping for raster
2026-02-23 22:34:19 -03:00
Behdad Esfahbod
f1e6108523
[util] Add raster --num-iterations loops and recycle draw image
2026-02-23 22:34:14 -03:00
Behdad Esfahbod and Claude Opus 4.6
d7d17ee055
raster: fix winding carry for edges left of the surface
...
When an edge fell to the left of the rendering surface (col < 0),
cell_add() discarded its winding contribution entirely. For glyphs
whose outlines extend beyond the surface bounds (e.g. COLR v1
spliceMask clip glyphs), this caused the interior winding number to
stay zero, producing empty rasterizations.
Fix by forwarding the cover delta to column 0 so the left-to-right
sweep picks up the correct accumulated winding.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 22:31:24 -03:00
Behdad Esfahbod
87c8946640
util/hb-ft-raster: remove upem_font normalization
2026-02-23 22:31:24 -03:00
Behdad Esfahbod
426ab081d3
util/raster-output: remove upem_font normalization
...
Was leftover from hb-draw design picked up by agents.
2026-02-23 22:31:24 -03:00
Behdad Esfahbod
1350d2a470
[cmap] Fix CodeXL warning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5753
2026-02-23 18:44:50 -03:00
Behdad Esfahbod
742f79da08
raster: remove extents_from_glyph_extents API
...
Remove hb_raster_extents_from_glyph_extents and switch callers to the new transform-aware set_glyph_extents APIs on raster draw/paint. Also add test coverage for transformed glyph extents and update section symbol listings.
2026-02-23 12:10:41 -03:00