On 18/10/2015 12:25, Emil Velikov wrote:
+ /* XXX: Is the owner responsible for FD owndership or are we ?
+ * In the former we're screwing things hard here */
This will be updated to "Although the fd is provided from external
source, mesa/nine takes ownership of it." based on input from Axel.
-Emil
Ok, I understand the confusion.
Yeah, wine side gives an fd to nine and nine takes its ownership.
Then loader_get_user_preferred_fd will either return the same fd,
or close the previous fd and give a new one.
Then in drm_destroy the fd gets closed.
Axel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev