-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vulkan-producer: proper cleanup for failure case
Earlier just the ProducerData was freed in case of any failure with ProducerInit() call, but the related resources were not de-initialized (ex. WlEglSurface), now make it proper by calling ProducerCleanup() in case of any failure. Also renamed the wlEglInitializeSurfaceExport. With recent ABI related updates to wayland-egl, wlEglInitializeSurfaceExport() API allocates the wlEGLSurface and initializes it with the given arguments. So the name *Create would be more appropriate.
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fee26e9
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.
This commit breaks libnvidia-vulkan-producer
fee26e9
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.
Ah crap, it would seem that the accompanying driver-side change didn't make it into the 515 release branch. Thank you very much for catching this. I should be able to get it fixed by the next minor release.
fee26e9
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.
Hi there.
When can the next minor release be expected?
Thanks
fee26e9
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.
Fixed now in 515.57