forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, the Image Decode Controller (IDC) can't process images that are embedded in a SkPaint's SkShader. This change expands coverage to handle cases where the SkShader is a simple SkImageShader, for which Skia provides introspection via isAImage(). This change updates DiscardableImageMap to allow us to track and pre- decode these images. It additionally updates ImageHijackCanvas to replace the un-decoded images with decoded ones at runtime. This change does not yet handle decoding sub-rects of images used in an SkImageShader, although that should be a relatively straight-forward follow-up. R=vmpstr,vmiura BUG=667479 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2514263002 Cr-Commit-Position: refs/heads/master@{#436796}
- Loading branch information
ericrk
authored and
Commit bot
committed
Dec 7, 2016
1 parent
4379a8b
commit 6dfd1ba
Showing
27 changed files
with
275 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.