[Webkit-unassigned] [Bug 93012] New: [BlackBerry] Rounding error of destination rect of checkerboard
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 2 11:44:11 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93012
Summary: [BlackBerry] Rounding error of destination rect of
checkerboard
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit BlackBerry
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: leoyang at rim.com
CC: rwlbuis at gmail.com, staikos at kde.org,
tonikitoo at webkit.org
1302 void BackingStorePrivate::blitContents(const Platform::IntRect& dstRect,
1303 const Platform::IntRect& srcRect,
1304 bool force)
1305 {
...
1407 // Blit checkered to those parts that are not covered by the backingStoreRect.
1408 IntRectList checkeredRects = checkeredRegion.rects();
1409 for (size_t i = 0; i < checkeredRects.size(); ++i) {
1410 Platform::IntRect dstRect = transformation.mapRect(Platform::IntRect(
1411 Platform::IntPoint(checkeredRects.at(i).x() - origin.x(), checkeredRects.at(i).y() - origin.y()),
1412 checkeredRects.at(i).size()));
1413 #if DEBUG_CHECKERBOARD
1414 blitCheckered = true;
1415 #endif
1416 fillWindow(BlackBerry::Platform::Graphics::CheckerboardPattern,
1417 dstRect, checkeredRects.at(i).location(), transformation.a());
1418 }
1419 }
...
}
The dstRect in line 1401 might get rounding error +1/-1 pixel due to transformation. We need to intersect it with the original dstRect passed into this function.
Patch is coming soon.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list