Skip to content

vello_hybrid: Set the failIfMajorPerformanceCaveat flag - #1806

Merged
grebmeg merged 2 commits into
mainfrom
laurenz/failIfCaveat
Aug 9, 2026
Merged

vello_hybrid: Set the failIfMajorPerformanceCaveat flag#1806
grebmeg merged 2 commits into
mainfrom
laurenz/failIfCaveat

Conversation

@LaurenzV

@LaurenzV LaurenzV commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

In case the device is expected to be super slow on GPU (for example because it uses a software rasterizer behind the scenes), we would rather not run Vello Hybrid at all. In the future, maybe this should become a configurable option in case some users do desire this?

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext#failifmajorperformancecaveat

@LaurenzV
LaurenzV requested a review from grebmeg August 7, 2026 09:34

@grebmeg grebmeg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

I think we’ll need to add a webglcontextcreationerror listener either here or, ,maybe preferably, in the downstream consumer.

@grebmeg
grebmeg added this pull request to the merge queue Aug 9, 2026
Merged via the queue into main with commit 9c0e607 Aug 9, 2026
20 checks passed
@grebmeg
grebmeg deleted the laurenz/failIfCaveat branch August 9, 2026 23:08
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.

2 participants