gpu: Enable SKSL -> GLSL disk caching.

We currently disable using GrContextOptions::PersistentCache if program
binary caching needs to be disabled for a workaround. Since skia can now
be configured to enable caching the SKSL -> GLSL conversion while
disabling program binary caching, allow the persistent cache to be used
for that.

R=ericrk@chromium.org

Bug: 924572
Change-Id: Iad1f60ae7c59809e20b3a5c9c54afd54aa825c63
Reviewed-on: https://chromium-review.googlesource.com/c/1476061
Auto-Submit: Khushal <khushalsagar@chromium.org>
Commit-Queue: Eric Karl <ericrk@chromium.org>
Reviewed-by: Eric Karl <ericrk@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#632839}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 32e48c41d89e466e347c166a797a06b4e8d5ddb6
2 files changed