Changeset 124487 in webkit
- Timestamp:
- Aug 2, 2012 12:53:52 PM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/BackingStore.cpp
r124199 r124487 1408 1408 IntRectList checkeredRects = checkeredRegion.rects(); 1409 1409 for (size_t i = 0; i < checkeredRects.size(); ++i) { 1410 Platform::IntRect dstRect = transformation.mapRect(Platform::IntRect(1410 Platform::IntRect clippedDstRect = transformation.mapRect(Platform::IntRect( 1411 1411 Platform::IntPoint(checkeredRects.at(i).x() - origin.x(), checkeredRects.at(i).y() - origin.y()), 1412 1412 checkeredRects.at(i).size())); 1413 // To eliminate 1 pixel inflation due to transformation rounding. 1414 clippedDstRect.intersect(dstRect); 1413 1415 #if DEBUG_CHECKERBOARD 1414 1416 blitCheckered = true; 1415 1417 #endif 1418 1416 1419 fillWindow(BlackBerry::Platform::Graphics::CheckerboardPattern, 1417 dstRect, checkeredRects.at(i).location(), transformation.a());1420 clippedDstRect, checkeredRects.at(i).location(), transformation.a()); 1418 1421 } 1419 1422 } -
trunk/Source/WebKit/blackberry/ChangeLog
r124470 r124487 1 2012-08-02 Leo Yang <leoyang@rim.com> 2 3 [BlackBerry] Rounding error of destination rect of checkerboard 4 https://bugs.webkit.org/show_bug.cgi?id=93012 5 6 Reviewed by Rob Buis. 7 8 Reviewed internally by Jakob Petsovits. 9 10 Intersect with the destination rectangle to eliminate the rounding error. 11 12 * Api/BackingStore.cpp: 13 (BlackBerry::WebKit::BackingStorePrivate::blitContents): 14 1 15 2012-08-01 Antonio Gomes <agomes@rim.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.