Changeset 122037 in webkit
- Timestamp:
- Jul 6, 2012 3:44:57 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r122036 r122037 1 2012-07-06 Lauro Neto <lauro.neto@openbossa.org> 2 3 [Qt] Avoid deep copy of QImage in GraphicsContext3D::getImageData() 4 https://bugs.webkit.org/show_bug.cgi?id=90705 5 6 Reviewed by Noam Rosenthal. 7 8 Use QImage.constBits() as argument to packPixels instead of bits() to avoid 9 deep copying it. 10 11 * platform/graphics/qt/GraphicsContext3DQt.cpp: 12 (WebCore::GraphicsContext3D::getImageData): 13 1 14 2012-07-06 Andy Estes <aestes@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
r121710 r122037 530 530 outputVector.resize(packedSize); 531 531 532 return packPixels(qtImage. bits(), SourceFormatBGRA8, image->width(), image->height(), 0, format, type, alphaOp, outputVector.data());532 return packPixels(qtImage.constBits(), SourceFormatBGRA8, image->width(), image->height(), 0, format, type, alphaOp, outputVector.data()); 533 533 } 534 534
Note: See TracChangeset
for help on using the changeset viewer.