[Mesa-dev] [PATCH kmscube 1/2] gst-decoder.c: set EGL_DMA_BUF attributes upon variable declaration

Carlos Rafael Giani dv at pseudoterminal.org
Tue May 2 15:43:01 UTC 2017


On 2017-05-02 15:32, Emil Velikov wrote:

> Carlos, care to throw a comment why it's using nmem and not something
> else - say is_dmabuf_mem?

Hm, I do see a potential problem now. The code that maps/unmaps the 
buffer and calls buf_to_fd() should also set nmems to 1. Then the 
close() loop is correct.


More information about the mesa-dev mailing list