Cairo implementation of ShareableBitmap calls cairo_image_surface_create_for_data(data, format, width, height, stride) to create an image surface for the provided pixel data. The Cairo documentation states: "Note that the stride may be larger than width*bytes_per_pixel to provide proper alignment for each pixel and row. This alignment is required to allow high-performance rendering within cairo. The correct way to obtain a legal stride value is to call cairo_format_stride_for_width() with the desired format and maximum image width value, and then use the resulting stride value to allocate the data and to create the image surface." However, the current implementation always uses "m_size.width() * 4" for stride argument, instead of calling cairo_format_stride_for_width(). This may affect rendering performance in cairo.
Sounds sane to fix this
Created attachment 168722 [details] Patch
Comment on attachment 168722 [details] Patch Clearing flags on attachment: 168722 Committed r131354: <http://trac.webkit.org/changeset/131354>
All reviewed patches have been landed. Closing bug.