RESOLVED FIXED 52331
Get the new drawing area painting to the screen
https://bugs.webkit.org/show_bug.cgi?id=52331
Summary Get the new drawing area painting to the screen
Anders Carlsson
Reported 2011-01-12 15:47:49 PST
Get the new drawing area painting to the screen
Attachments
Patch (4.89 KB, patch)
2011-01-12 15:51 PST, Anders Carlsson
sam: review+
Anders Carlsson
Comment 1 2011-01-12 15:51:48 PST
Sam Weinig
Comment 2 2011-01-12 15:55:50 PST
Comment on attachment 78750 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=78750&action=review > WebKit2/UIProcess/mac/BackingStoreMac.mm:51 > + size_t sizeInBytes = CGBitmapContextGetBytesPerRow(m_bitmapContext.get()) * CGBitmapContextGetHeight(m_bitmapContext.get()); > + RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithData(0, CGBitmapContextGetData(m_bitmapContext.get()), sizeInBytes, 0)); > + CGBitmapContextGetHeight(m_bitmapContext.get()), > + CGBitmapContextGetBitsPerPixel(m_bitmapContext.get()), > + CGBitmapContextGetBytesPerRow(m_bitmapContext.get()), > + CGBitmapContextGetColorSpace(m_bitmapContext.get()), > + CGBitmapContextGetBitmapInfo(m_bitmapContext.get()), > + dataProvider.get(), 0, false, kCGRenderingIntentDefault)); > + > + CGFloat imageWidth = CGImageGetWidth(image.get()); We should move this code to a shared function at somepoint. Please add a fixme.
Anders Carlsson
Comment 3 2011-01-12 16:41:27 PST
Note You need to log in before you can comment on or make changes to this bug.