Merge "Pass sampling or nothing to surface.draw" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d7816b6140
@@ -561,7 +561,7 @@ public:
|
||||
return;
|
||||
}
|
||||
c->concat(invertedMatrix);
|
||||
mLayerSurface->draw(c, deviceBounds.fLeft, deviceBounds.fTop, nullptr);
|
||||
mLayerSurface->draw(c, deviceBounds.fLeft, deviceBounds.fTop);
|
||||
} else {
|
||||
c->drawDrawable(drawable.get());
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ void GLFunctorDrawable::onDraw(SkCanvas* canvas) {
|
||||
canvas->concat(invertedMatrix);
|
||||
|
||||
const SkIRect deviceBounds = canvas->getDeviceClipBounds();
|
||||
tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop, nullptr);
|
||||
tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user