summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-08-08 16:26:28 +0300
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-02 13:35:03 +0100
commit55d28925e6109a4afd61f109e845a8a51bd17652 (patch)
tree599076f35f0a6008987737563580b1eebd5b78eb /src/gallium
parentec7d081e130f16ea9b2ad4296723e85a95636fbe (diff)
egl_dri2: fix EXT_image_dma_buf_import fds
The EGL_EXT_image_dma_buf_import specification was revised (according to its revision history) on Dec 5th, 2013, for EGL to not take ownership of the file descriptors. Do not close the file descriptors passed in to eglCreateImageKHR with EGL_LINUX_DMA_BUF_EXT target. It is assumed, that the drivers, which ultimately process the file descriptors, do not close or modify them in any way either. This avoids the need to dup(), as it seems we would only need to just close the dup'd file descriptors right after. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76188 Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> (cherry picked from commit 08264e5dad4df448e7718e782ad9077902089a07)
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions