• Gyuyoung Kim's avatar
    Pass the cache size in the command line to the ShaderDiskCache::CacheSizeBytes · b62f9ecf
    Gyuyoung Kim authored
    Although there have been the thresholds of cache usage limitations for the Android
    in /gpu/config/gpu_preferences.h, it would be good if we can give embedders the power
    to set the cache size for the ShaderDiskCache. Because there are many various embedded
    devices which have different sizes of disk.
    
    Bug: 854494
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Ie1ecb903a79e52ee79503df30fe1ae15b95739ea
    Reviewed-on: https://chromium-review.googlesource.com/1107517
    Commit-Queue: Gyuyoung Kim <gyuyoung.kim@lge.com>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#569221}
    b62f9ecf
gpu_switches.cc 1.97 KB