-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add DeviceRef::new_texture_with_descriptor_and_iosurface #331
base: master
Are you sure you want to change the base?
Conversation
The comment and link in your description are wrong, those are already there. In this PR you're adding: https://developer.apple.com/documentation/metal/mtldevice/1433378-newtexturewithdescriptor with signature:
And the title should describe that you're adding the constructor, not the texture itself. |
DeviceRef::new_texture_with_descriptor_and_iosurface
DeviceRef::new_texture_with_descriptor_and_iosurface
Renamed commit message and PR title/message. |
@@ -35,6 +35,7 @@ block = "0.1.6" | |||
foreign-types = "0.5" | |||
dispatch = { version = "0.2", optional = true } | |||
paste = "1" | |||
io-surface = { git = "https://github.com/servo/core-foundation-rs" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not that this is a rather confusing dependency. Ideally, it matches the crate name
Also, ideally IOSurface is included in core-foundation-types... |
Add
DeviceRef::new_texture_with_descriptor_and_iosurface
IOSurfaceRef is already defined in:
https://github.com/servo/core-foundation-rs/tree/main/io-surface
So importing as dependency.