Changeset 207332 in webkit
- Timestamp:
- Oct 14, 2016 2:17:55 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207331 r207332 1 2016-10-14 Zan Dobersek <zdobersek@igalia.com> 2 3 [Cairo] GraphicsContext3D::ImageExtractor fails to extract images 4 https://bugs.webkit.org/show_bug.cgi?id=163439 5 6 Reviewed by Carlos Garcia Campos. 7 8 In the Cairo implementation of GraphicsContext3D::ImageExtractor, 9 don't check for frame completeness at index 0. This information 10 is now cached only after the frame for that index is decoded and 11 marked as completed, which is done after this check. 12 13 Becuase of this the current check forces extractImage() to return 14 early and abort WebGL texture uploads from image sources. 15 16 This bug was most likely exposed after the refactoring in r206481. 17 https://trac.webkit.org/changeset/206481 18 19 * platform/graphics/cairo/GraphicsContext3DCairo.cpp: 20 (WebCore::GraphicsContext3D::ImageExtractor::extractImage): 21 1 22 2016-10-14 Youenn Fablet <youenn@apple.com> 2 23 -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp
r206481 r207332 224 224 if (m_image->data()) { 225 225 decoder.setData(m_image->data(), true); 226 if (!decoder.frameCount() || !decoder.frameIsCompleteAtIndex(0))226 if (!decoder.frameCount()) 227 227 return false; 228 228 m_imageSurface = decoder.createFrameImageAtIndex(0);
Note: See TracChangeset
for help on using the changeset viewer.