commit | 06c419e1967a41ce51d1052405ceaa5a63669df8 | [log] [tgz] |
---|---|---|
author | Jonathan Backer <backer@chromium.org> | Tue Jan 22 14:37:14 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 22 14:37:14 2019 |
tree | 8d4d33b30cb62ab77992d0b512d6c3494c193011 | |
parent | 3515af266cdf20c32a4bca59f2b0916a46ffc0b6 [diff] |
Enable GrShaderCache for SkiaRenderer Three main changes: - base64 encode the key: Without this change, no shaders were written on gLinux workstation because we were failing on write at EntryImpl::DataSanityCheck(). base64 encoding is consistent with MemoryProgramCache. This change was not necessary for my Pixel 3 (suggesting that keys generated there were fine and shader cache works form some of OOP-R Android). - CreateClientCache sooner: SkiaRenderer can start up before a GpuChannel is created. This ensures that a shader cache is available when display compositor starts to create shaders. - Turn on GrShaderCache for UseSkiaRender: SkiaRenderer will use this even if OOP-R is not turned on. Change-Id: I855d0de3063c65f1d7e11a1c61ea0cd32c05efa4 Reviewed-on: https://chromium-review.googlesource.com/c/1425564 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#624774}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .