Changeset 86679 in webkit
- Timestamp:
- May 17, 2011 10:13:03 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86674 r86679 1 2011-05-17 Grace Kloba <klobag@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 GraphicsContext3DSkia needs to honor the platform Sk_x_SHIFT value instead of assuming BGRA color 6 https://bugs.webkit.org/show_bug.cgi?id=60965 7 8 * platform/graphics/skia/GraphicsContext3DSkia.cpp: 9 (WebCore::GraphicsContext3D::getImageData): 10 1 11 2011-05-17 Alexander Pavlov <apavlov@chromium.org> 2 12 -
trunk/Source/WebCore/platform/graphics/skia/GraphicsContext3DSkia.cpp
r84213 r86679 35 35 #include "ImageSource.h" 36 36 #include "NativeImageSkia.h" 37 #include "SkColorPriv.h" 37 38 #include <wtf/OwnPtr.h> 38 39 #include <wtf/PassOwnPtr.h> … … 81 82 outputVector.resize(skiaImage->rowBytes() * skiaImage->height()); 82 83 return packPixels(reinterpret_cast<const uint8_t*>(skiaImage->getPixels()), 83 SourceFormatBGRA8, skiaImage->width(), skiaImage->height(), 0, 84 SK_B32_SHIFT ? SourceFormatRGBA8 : SourceFormatBGRA8, 85 skiaImage->width(), skiaImage->height(), 0, 84 86 format, type, neededAlphaOp, outputVector.data()); 85 87 }
Note: See TracChangeset
for help on using the changeset viewer.