cc: Decode discardable images in PaintRecord backed shaders.
For PaintRecord backed shaders, the rasterization is done internally in skia, which means images present in these shaders are not pre-decoded by compositor's decode cache. This change ensures that we capture these images during discardable image analysis, and replace them with decoded images from the compositor's cache. Replacing of these images requires transforming the PaintRecords in these shaders to SkPictures with decoded images before executing the op with the shader. Bug: 735741, 728359 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ie9314e566eaeb1a393c7490e6309d1315ec3733e Reviewed-on: https://chromium-review.googlesource.com/673826 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#504860}
Showing
This diff is collapsed.









16.2 KB
3.13 KB
18.1 KB
106 KB


7.25 KB
18.1 KB
16.4 KB
3.13 KB
18.1 KB
107 KB
27.2 KB
29.8 KB
7.17 KB
18.1 KB








123 KB













