Bug 110065

Summary: [Skia] ImageBuffer::copyImage(...) is broken for scaled ImageBuffers
Product: WebKit Reporter: Philip Rogers <pdr>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: fmalita, reed, schenney
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Philip Rogers
Reported 2013-02-17 17:33:01 PST
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
Note You need to log in before you can comment on or make changes to this bug.