Bug 110065
Summary: | [Skia] ImageBuffer::copyImage(...) is broken for scaled ImageBuffers | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philip Rogers <pdr> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | fmalita, reed, schenney |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philip Rogers
ImageBuffer::copyImage has the following signature:
PassRefPtr<Image> copyImage(BackingStoreCopy = CopyBackingStore, ScaleBehavior = Scaled) const;
Unfortunately, ImageBufferSkia does not support ScaleBehavior = Scaled:
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp#L198
Therefore, image buffers with resolution scale will not work with copyImage by default on Skia-backed platforms.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |