Skip to content

vello_hybrid: Add support for CPU fast path rectangles#1586

Merged
LaurenzV merged 1 commit into
mainfrom
laurenz/hybrid_clip
Apr 21, 2026
Merged

vello_hybrid: Add support for CPU fast path rectangles#1586
LaurenzV merged 1 commit into
mainfrom
laurenz/hybrid_clip

Conversation

@LaurenzV
Copy link
Copy Markdown
Collaborator

While Vello Hybrid already has a fast path for axis-aligned rectangle, that doesn't work when there is a clip path in place. However, in COLR the operation "draw this rectangle with this clip path" is used everywhere. Therefore, we also add the option to fall back to the CPU rectangle fast path for this specific case.

Also adds some more tests for this.

Copy link
Copy Markdown
Contributor

@taj-p taj-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@LaurenzV LaurenzV added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 7dd1d04 Apr 21, 2026
17 checks passed
@LaurenzV LaurenzV deleted the laurenz/hybrid_clip branch April 21, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants