commit | 2362022e7c46a92a7f12fa72118f9ff2e8325c6a | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Wed Jun 03 11:19:49 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jun 03 16:03:38 2020 +0000 |
tree | 0835e3456074b77fefa930a3d1de891f420328e7 | |
parent | 3fdc49f35718bad50a0afc12294519673de8dfe8 [diff] |
[canvaskit] Make SkCanvas.drawColor/clear take SkColor4f CanvasKit converts 4 floats to an int, just to have it be converted back into 4 floats when it goes into the paint. Change-Id: I93cf1c596283b83cc9452fb205b7000ceed09bb9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293538 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Reed <reed@google.com>