Changeset 139642 in webkit
- Timestamp:
- Jan 14, 2013 12:35:36 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139641 r139642 1 2013-01-14 John Bauman <jbauman@chromium.org> 2 3 Use correct size for DrawingBuffer readback 4 https://bugs.webkit.org/show_bug.cgi?id=106744 5 6 Reviewed by Kenneth Russell. 7 8 The value getInternalFramebufferSize is bogus if there's a 9 DrawingBuffer, so use size() instead. 10 11 * platform/graphics/chromium/DrawingBufferChromium.cpp: 12 (WebCore::DrawingBuffer::paintCompositedResultsToCanvas): 13 1 14 2013-01-14 Joshua Bell <jsbell@chromium.org> 2 15 -
trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
r139142 r139642 235 235 return; 236 236 237 IntSize framebufferSize = m_context->getInternalFramebufferSize();238 239 237 // Since we're using the same context as WebGL, we have to restore any state we change (in this case, just the framebuffer binding). 240 238 // FIXME: The WebGLRenderingContext tracks the current framebuffer binding, it would be slightly more efficient to use this value … … 248 246 249 247 Extensions3DChromium* extensions = static_cast<Extensions3DChromium*>(m_context->getExtensions()); 250 extensions->paintFramebufferToCanvas(framebuffer, framebufferSize.width(), framebufferSize.height(), !m_context->getContextAttributes().premultipliedAlpha, imageBuffer);248 extensions->paintFramebufferToCanvas(framebuffer, size().width(), size().height(), !m_context->getContextAttributes().premultipliedAlpha, imageBuffer); 251 249 m_context->deleteFramebuffer(framebuffer); 252 250
Note: See TracChangeset
for help on using the changeset viewer.