diff options
author | Justin Novosad <junov@chromium.org> | 2017-09-05 13:26:16 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-05 17:50:25 +0000 |
commit | 19c8726a0829e506c5c42d22d67b3fe7505ed24e (patch) | |
tree | 113f8b630258cb0d30b44b1594bf50d3dc4ae334 /src/sksl/ast/SkSLASTFieldSuffix.h | |
parent | 63420d6d18cecc3a314a367fe5a1337fd127bd29 (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 ensure
that transforms get computed on the GPU.
This fixes a severe performance regression in Chrome that happened
when color correction was enabled.
BUG=chromium:760738
Change-Id: I52032a9f06ccbe1a7fd56a91db15377925143b26
Reviewed-on: https://skia-review.googlesource.com/42422
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Justin Novosad <junov@chromium.org>
Diffstat (limited to 'src/sksl/ast/SkSLASTFieldSuffix.h')
0 files changed, 0 insertions, 0 deletions