diff options
author | Mike Reed <reed@google.com> | 2021-02-01 17:14:55 -0500 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2021-02-01 17:15:00 -0500 |
commit | 27bf51dc50b36e3c8c6f73b205e21a2f65205273 (patch) | |
tree | 39681338f52d8c8defc11d30eb2cf9f6cf38270c /libs/hwui/pipeline/skia/GLFunctorDrawable.cpp | |
parent | 7c4ab8d9fdfce55792030cc47fc41d60ad91df32 (diff) |
Pass sampling or nothing to surface.draw
Test: make
Bug: 178700363
Change-Id: I144c0a1bc2376259640d1a6920d9df4edd652849
Diffstat (limited to 'libs/hwui/pipeline/skia/GLFunctorDrawable.cpp')
-rw-r--r-- | libs/hwui/pipeline/skia/GLFunctorDrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/pipeline/skia/GLFunctorDrawable.cpp b/libs/hwui/pipeline/skia/GLFunctorDrawable.cpp index c6c9e9dc869a..71f533c3fc4f 100644 --- a/libs/hwui/pipeline/skia/GLFunctorDrawable.cpp +++ b/libs/hwui/pipeline/skia/GLFunctorDrawable.cpp @@ -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); } } |