Fix recently updated rrect_* GMs
https://skia-review.googlesource.com/c/skia/+/521523 added a new tile to the GM, but made some tweaks to the clipping logic. It accidentally only outset the clip bounds for kInverseFillAA edge types, when it should have outset for BW and AA. This fixes the GM so that the only meaningful changes are the new tile. Bug: skia:10456 Change-Id: Ic6fbb1db26921173e4aa846d37ee31d523e3dbb1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/522436 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
parent
35275b3d51
commit
1094004195
@ -143,7 +143,7 @@ protected:
|
||||
|
||||
SkRect bounds = rrect.getBounds();
|
||||
bounds.intersect(SkRect::MakeXYWH(x, y, kTileX - 2, kTileY - 2));
|
||||
if (et == (int) GrClipEdgeType::kLast) {
|
||||
if (et >= (int) GrClipEdgeType::kInverseFillBW) {
|
||||
bounds.outset(2.f, 2.f);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user