[Wayland-bugs] [Bug 84117] Weston calls eglCreateImageKHR/eglDestroyImageKHR every frame

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 27 23:45:32 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84117

--- Comment #4 from Sunny <sjwlaoda at 163.com> ---
Hi Daniel
sorry for the slow response.
I think it is quite expensive to allocate memory every frame, especially large
memory. I have worked for several graphics companies that are all avoid to do
such things.
when eglCreateImageKHR is called, my driver have to get the memory handle from
the dma buf fd, and during my test, the call stack is always pending on the
ioctl from user mode to kernel mode to wrap the dma buf fd.
if client side doesn't release the image when eglDestroyImageKHR is called,
when should the image to be released? from EGL's point of view, there is no
chance to release it

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20141028/b9235788/attachment.html>


More information about the wayland-bugs mailing list