aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/shaders/gradients
diff options
context:
space:
mode:
authorGravatar Khushal <khushalsagar@chromium.org>2018-06-08 13:00:40 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-08 20:34:23 +0000
commita05a31aef4a0dc1af797aa454a2864a36260956b (patch)
tree45a603ab125bdb4bc41bd2444990bdd314d66092 /src/shaders/gradients
parentbfe4db5c79cab60d18734a20bead4eae245a9264 (diff)
fonts: Perform blob analysis at SkBaseDevice layer instead of canvas.
Currently we use the onDrawTextBlob hook to analyze the text blob, which requires replicating the logic for applying the SkDrawLooper and misses the optimization for skipping ops outside the current clip. Avoid this by using SkBaseDevice::drawTextBlob instead to ensure we re-use all the SkCanvas code until the device level. R=herb@google.com Bug: 829622 Change-Id: I2721c02541d337e2fb3744132e85758f7c804841 Reviewed-on: https://skia-review.googlesource.com/133101 Commit-Queue: Khusal Sagar <khushalsagar@chromium.org> Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'src/shaders/gradients')
0 files changed, 0 insertions, 0 deletions