Changeset 83490 in webkit
- Timestamp:
- Apr 11, 2011 1:43:51 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83483 r83490 1 2011-04-05 Stephen White <senorblanco@chromium.org> 2 3 Fix for jittering when animating a rotated image. 4 https://bugs.webkit.org/show_bug.cgi?id=50775 5 6 Make GraphicsContext::roundToDevicePixels a no-op on Chrome/Mac. 7 8 * platform/graphics/cg/GraphicsContextCG.cpp: 9 (WebCore::GraphicsContext::roundToDevicePixels): 10 1 11 2011-04-06 Xiaomei Ji <xji@chromium.org> 2 12 -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
r83253 r83490 1175 1175 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect, RoundingMode roundingMode) 1176 1176 { 1177 #if PLATFORM(CHROMIUM) 1178 return rect; 1179 #else 1177 1180 // It is not enough just to round to pixels in device space. The rotation part of the 1178 1181 // affine transform matrix to device space can mess with this conversion if we have a … … 1215 1218 FloatPoint roundedLowerRight = FloatPoint(deviceLowerRight.x / deviceScaleX, deviceLowerRight.y / deviceScaleY); 1216 1219 return FloatRect(roundedOrigin, roundedLowerRight - roundedOrigin); 1220 #endif 1217 1221 } 1218 1222
Note: See TracChangeset
for help on using the changeset viewer.