[Webkit-unassigned] [Bug 53468] New: Handle gpu-backed images in getUnmultipliedImageData()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 31 19:17:31 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53468
Summary: Handle gpu-backed images in getUnmultipliedImageData()
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: reed at google.com
CC: mdelaney at apple.com
In Skia platform, ImageBuffer::getUnmultipliedImageData() assumes that the image is always backed by memory pixels. However, if the image is actually backed by a gpu (e.g. FBO), then the current code will crash as bitmap.getPixels() will return NULL. The fix is to relies on SkDevice::readPixels(), which abstracts that from the caller. It will return the pixels in question correctly, regardless of a raster or gpu backend.
--
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