Fix AA outset in GrAAFillRRectOp lower left corner
Octagon vertices should bloat for AA in both axes. One of the lower left vertices was not doing this. Bug: skia: Change-Id: Ie7aad285244529425eb9c3dca9ff1acbb2848218 Reviewed-on: https://skia-review.googlesource.com/c/172985 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
baa2a2806b
commit
2d07e866cb
@ -205,7 +205,7 @@ static constexpr Vertex kVertexData[] = {
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{+1, 0}}, {{ 0,-1}}, 1, 0},
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{ 0,-1}}, {{+1, 0}}, 1, 0},
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{ 0,-1}}, {{-1, 0}}, 0, 0},
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{0,-kOctoOffset}}, {{-1, 0}}, 0, 0},
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{0,-kOctoOffset}}, {{-1,+1}}, 0, 0},
|
||||
{{{0,0,0,1}}, {{-1,+1}}, {{+kOctoOffset,0}}, {{-1,+1}}, 0, 0}};
|
||||
|
||||
GR_DECLARE_STATIC_UNIQUE_KEY(gVertexBufferKey);
|
||||
|
Loading…
Reference in New Issue
Block a user