Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to adapter #634

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

cfagot
Copy link
Contributor

@cfagot cfagot commented Jul 16, 2024

Currently there is no way to access the adapter outside of Vello, which prevents users of Vello from doing things like checking surface capabilities. This pull request exposes the adapter.

Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

Thanks! I'm planning on exploring a much more well-thought through API, but this makes the util more useful.

Fwiw, the intention of util is that if you need something which util doesn't provide, you should be able to use the lower-level primitives yourself. But as I say, very little API design work has gone into Vello, so that might not be possible.

@DJMcNab DJMcNab added this pull request to the merge queue Jul 17, 2024
Merged via the queue into linebender:main with commit a59cc8b Jul 17, 2024
16 checks passed
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