Closed AdrianEddy closed 1 year ago
Looks great! I'll have to create an example or something to test it but I see no reason not to merge this.
Would you mind doing a rustfmt pass?
Appreciate your time and effort :)
I just did a cargo fmt
today in order to bring this PR up to date with master, so it should be formatted correctly.
For reference, I'm using it here and it works very well for me.
Image::from_d3d11_texture2d
Image::from_d3d11_texture3d
Image::d3d11_acquire
Image::d3d11_release
Buffer::from_d3d11_buffer
Buffer::d3d11_acquire
Buffer::d3d11_release
cl_khr_d3d11_sharing
andcl_nv_d3d11_sharing
extensionget_gl_context_info_khr
ImageCmd::CopyToBuffer
andBufferCmd::CopyToImage
Also as a drive by, I included changes from #197 (which closes #196) as they were clear typos in the function signature
Also while going through issues in the repo, I noticed #200, #140, can be already closed.
BTW, great job on this crate really, it makes OpenCL usage so easy and the code is very well structured and covers a lot of APIs and cases, I really appreciate your work here