Changeset 104472 in webkit
- Timestamp:
- Jan 9, 2012 11:46:30 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r104469 r104472 1 2012-01-09 Sami Kyostila <skyostil@chromium.org> 2 3 [Chromium] JPEG RGB swizzling order should match platform pixel format 4 https://bugs.webkit.org/show_bug.cgi?id=75861 5 6 Choose between JCS_EXT_BGRX and JCS_EXT_RGBX channel swizzling 7 based on the configured Skia 32-bit pixel format. 8 9 Reviewed by Kenneth Russell. 10 11 * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: 12 (rgbOutputColorSpace): 13 1 14 2012-01-09 Alexis Menard <alexis.menard@openbossa.org> 2 15 -
trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
r104010 r104472 76 76 #if defined(JCS_EXTENSIONS) && ASSUME_LITTLE_ENDIAN 77 77 #define TURBO_JPEG_RGB_SWIZZLE 78 #if USE(SKIA) && (!SK_R32_SHIFT && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 16) 79 inline J_COLOR_SPACE rgbOutputColorSpace() { return JCS_EXT_RGBX; } 80 #else 78 81 inline J_COLOR_SPACE rgbOutputColorSpace() { return JCS_EXT_BGRX; } 82 #endif 79 83 inline bool turboSwizzled(J_COLOR_SPACE colorSpace) { return colorSpace == rgbOutputColorSpace(); } 80 84 #else
Note: See TracChangeset
for help on using the changeset viewer.