Add OSUI renderer support for Image#873
Conversation
🤖 Augment PR SummarySummary: This PR adds renderer support for Changes:
Technical Notes: The async update path relies on property-diffing and key-path updates on the backing CALayer, and conditionally compiles vector glyph rendering behind 🤖 Was this summary useful? React with 👍 or 👎 |
| newImage: newImage, | ||
| newSize: newSize | ||
| ) | ||
| case let (.vectorGlyph(oldContents), .vectorGlyph(newContents)) where oldContents == newContents: |
There was a problem hiding this comment.
ImageLayer.updateAsync treats .vectorGlyph as compatible even when GraphicsImage.scale changes, but the underlying layer.contents may have been rasterized at the old scale (via GraphicsImage.render/CUINamedVectorGlyph.rasterizeImage). Consider making scale changes force a full update here (return false) unless the contents is guaranteed to be scale-independent.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #873 +/- ##
==========================================
- Coverage 27.07% 26.98% -0.09%
==========================================
Files 678 678
Lines 47004 47149 +145
==========================================
- Hits 12725 12723 -2
- Misses 34279 34426 +147 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
GraphicsImagerender support for CG images, vector glyphs, and vector layers.Example/setup.shand README guidance so Example setup uses the Tuist version pinned byExample/mise.toml.