Changeset 81317 in webkit
- Timestamp:
- Mar 16, 2011 8:56:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r81315 r81317 1 2011-03-16 John Bauman <jbauman@chromium.org> 2 3 Reviewed by James Robinson. 4 5 texImage2D gets old contents of canvas 6 https://bugs.webkit.org/show_bug.cgi?id=56414 7 8 * platform/chromium/test_expectations.txt: premultiply-alpha test now works 9 1 10 2011-03-16 Sam Weinig <sam@webkit.org> 2 11 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r81284 r81317 2353 2353 BUGWEBGL GPU WIN DEBUG SLOW : fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html = PASS 2354 2354 BUGWEBGL GPU WIN DEBUG SLOW : fast/canvas/webgl/index-validation-with-resized-buffer.html = PASS 2355 2356 BUGWK56414 : fast/canvas/webgl/premultiplyalpha-test.html = TEXT2357 2355 2358 2356 // These were not fixed by the Mesa 7.9 upgrade. Need to investigate. -
trunk/Source/WebCore/ChangeLog
r81316 r81317 1 2011-03-16 John Bauman <jbauman@chromium.org> 2 3 Reviewed by James Robinson. 4 5 texImage2D gets old contents of canvas 6 https://bugs.webkit.org/show_bug.cgi?id=56414 7 8 Always update the canvas contents in copiedImage, as there's no reason 9 to ask for an out-of-date image. 10 11 * html/HTMLCanvasElement.cpp: 12 (WebCore::HTMLCanvasElement::copiedImage): 13 1 14 2011-03-16 Adam Barth <abarth@webkit.org> 2 15 -
trunk/Source/WebCore/html/HTMLCanvasElement.cpp
r81213 r81317 462 462 { 463 463 if (!m_copiedImage && buffer()) { 464 if (m_context) { 465 // If we're not rendering to the ImageBuffer, copy the rendering results to it. 466 if (!m_context->paintsIntoCanvasBuffer()) 467 m_context->paintRenderingResultsToCanvas(); 468 } 464 if (m_context) 465 m_context->paintRenderingResultsToCanvas(); 469 466 m_copiedImage = buffer()->copyImage(); 470 467 }
Note: See TracChangeset
for help on using the changeset viewer.