diff options
author | Justin Novosad <junov@chromium.org> | 2017-09-07 13:03:34 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-07 17:47:51 +0000 |
commit | 1d3df3848ff297e353a2d0f0fae6ec4a55ab7ba6 (patch) | |
tree | a8de8b9c163690fb6c1baec55012523e6736ef63 /src/pdf/SkPDFDevice.h | |
parent | 60f42494f5d45c38e260ce089cdddfb600f799b2 (diff) |
Optimize SkColorSpaceXformCanvas for GPU-acceleration
This change ensures that SkImages are uploaded to the GPU before
applying the xform when the destination canvas is on the GPU. This
makes it possible to get hits in the texture cache and it ensures
that transforms get computed on the GPU.
This fixes a severe performance regression in Chrome that happened
when color correction was enabled.
Associated chromium patch for layout test rebaselines:
https://chromium-review.googlesource.com/c/chromium/src/+/655483
Merge dependency: Merging this change to the M-62 and M-61
branches also requires merging the following change, otherwise
there will be rendering errors:
https://skia-review.googlesource.com/c/skia/+/43562
BUG=chromium:760738
Change-Id: I49fd5ef7968272d311249c3824fe15bee4648b73
Reviewed-on: https://skia-review.googlesource.com/43183
Commit-Queue: Justin Novosad <junov@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
0 files changed, 0 insertions, 0 deletions