[Webkit-unassigned] [Bug 49532] [GTK] Use gdk_pixbuf_get_from_surface() when available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 16 00:08:06 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49532





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2010-11-16 00:08:06 PST ---
This is not a new method:


./WebCore/platform/graphics/gtk/ImageBufferGtk.cpp:    PlatformRefPtr<GdkPixbuf> pixbuf = cairoImageSurfaceToGdkPixbuf(m_data.m_surface);
./WebCore/platform/graphics/gtk/GdkCairoUtilities.cpp:GdkPixbuf* cairoImageSurfaceToGdkPixbuf(cairo_surface_t* surface)
./WebCore/platform/graphics/gtk/ImageGtk.cpp:    return cairoImageSurfaceToGdkPixbuf(frameAtIndex(currentFrame()));


and there isn't any new functionality hidden, it's just a new implementation for the method using gdk api to make the code simpler and easier tom maintain. This method is used when, for example, when creating the image during a drag and drop operation, or when saving an image as jpeg, png, etc.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list