draw rotated rects as paths if we're antialiasing, until we extend our rect-aa
code to handle that case. git-svn-id: http://skia.googlecode.com/svn/trunk@1430 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e70e400bac
commit
67db6644ab
@ -693,6 +693,10 @@ void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect,
|
||||
if (paint.getMaskFilter()) {
|
||||
usePath = true;
|
||||
}
|
||||
// until we aa rotated rects...
|
||||
if (!usePath && paint.isAntiAlias() && !draw.fMatrix->rectStaysRect()) {
|
||||
usePath = true;
|
||||
}
|
||||
|
||||
if (usePath) {
|
||||
SkPath path;
|
||||
|
Loading…
Reference in New Issue
Block a user