Disable SW path renderer mask caching in Skia
When this was enabled by default in Skia, we saw some perf regressions in chromium. Turning it off here to go back to the old behavior. Bug: 770374 Cq-Include-Trybots: 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: Ia5aedb25d1f00d12c827a9c6bfb065b93ff687e5 Reviewed-on: https://chromium-review.googlesource.com/695464 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Zhenyao Mo <zmo@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com> Cr-Commit-Position: refs/heads/master@{#506163}
This commit is contained in:
@ -53,6 +53,7 @@ GrContextForGLES2Interface::GrContextForGLES2Interface(
|
||||
GrContextOptions options;
|
||||
options.fGlyphCacheTextureMaximumBytes = max_glyph_cache_texture_bytes;
|
||||
options.fAvoidStencilBuffers = capabilities.avoid_stencil_buffers;
|
||||
options.fAllowPathMaskCaching = false;
|
||||
sk_sp<GrGLInterface> interface(
|
||||
skia_bindings::CreateGLES2InterfaceBindings(gl));
|
||||
gr_context_ = sk_sp<GrContext>(GrContext::Create(
|
||||
|
Reference in New Issue
Block a user