Changeset 76658 in webkit
- Timestamp:
- Jan 25, 2011 6:13:46 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76652 r76658 1 2011-01-25 Mike Reed <reed@google.com> 2 3 Reviewed by James Robinson. 4 5 DrawingBufer::reset() today checks if the new size is the same as its 6 m_size, and if so, returns immediately. This does not match the 7 semantics of <canvas>, which wants to clear its contents anytime the 8 size is specified. 9 https://bugs.webkit.org/show_bug.cgi?id=53149 10 11 Test: Covered by existing <canvas> tests using gpu. 12 13 * platform/graphics/chromium/DrawingBufferChromium.cpp: 14 (WebCore::DrawingBuffer::DrawingBuffer): 15 * platform/graphics/gpu/DrawingBuffer.cpp: 16 (WebCore::DrawingBuffer::reset): 17 1 18 2011-01-25 Cris Neckar <cdn@chromium.org> 2 19 -
trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
r76235 r76658 73 73 bool packedDepthStencilExtensionSupported) 74 74 : m_context(context) 75 , m_size( -1, -1)75 , m_size(size) 76 76 , m_multisampleExtensionSupported(multisampleExtensionSupported) 77 77 , m_packedDepthStencilExtensionSupported(packedDepthStencilExtensionSupported) -
trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
r76600 r76658 146 146 void DrawingBuffer::reset(const IntSize& newSize) 147 147 { 148 if (m_size == newSize)149 return;150 148 m_size = newSize; 151 149
Note: See TracChangeset
for help on using the changeset viewer.