blob: b77ff98da04cb1384a26fde76e3f24f920668ff0 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace cc {
// Use the two constants to record GPU memory for tilings. Any layer that
// costs more than ~1GB will get capped.
static constexpr int kGPUMemoryForTilingsLargestBucketKb = 1000000;
static constexpr int kGPUMemoryForTilingsBucketCount = 50;
} // namespace cc