Add --force-max-texture-size flag to limit texture size.
Previously Skia was always using max texture size that it gets from the GPU. In some scenarious it's useful to set a lower texture size limit. Particularly it's useful in some configurations on Fuchsia to reduce probablity that we fail to allocate a texture due to protected memory fragmentation. The new --force-max-texture-size flag will allow to set this value from command line. Bug: fuchsia:43693 Change-Id: Ia55ee08e611f762a95ef285252a2ef9b9fa3bd90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2018386 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Nasko Oskov <nasko@chromium.org> Reviewed-by:
Eric Karl <ericrk@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#735141}
Showing
Please register or sign in to comment