[Wayland-bugs] [Bug 760897] A few clean ups to the shm handling code

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 20 09:57:12 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760897

--- Comment #3 from Ray Strode [halfline] <rstrode at redhat.com> ---
Created attachment 319454
  --> https://bugzilla.gnome.org/attachment.cgi?id=319454&action=edit
wayland: don't pass in width and height to create_shm_pool

create_shm_pool doesn't need the width or height, it just needs
the total size.  By passing it in, we're requiring it to redo
stride calculation unnecessarily.

This commit drops the width and height parameters and makes the
function just take the total size directly.

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


More information about the wayland-bugs mailing list