chromium/cc/trees/managed_memory_policy.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/trees/managed_memory_policy.h"

#include <stddef.h>

#include "base/notreached.h"

namespace cc {

const size_t ManagedMemoryPolicy::kDefaultNumResourcesLimit =;

MemoryAllocation;

ManagedMemoryPolicy::ManagedMemoryPolicy(size_t bytes_limit_when_visible)
    :{}

ManagedMemoryPolicy::ManagedMemoryPolicy(
    const gpu::MemoryAllocation& allocation)
    :{}

ManagedMemoryPolicy::ManagedMemoryPolicy(
    size_t bytes_limit_when_visible,
    MemoryAllocation::PriorityCutoff priority_cutoff_when_visible,
    size_t num_resources_limit)
    :{}

bool ManagedMemoryPolicy::operator==(const ManagedMemoryPolicy& other) const {}

bool ManagedMemoryPolicy::operator!=(const ManagedMemoryPolicy& other) const {}

// static
TileMemoryLimitPolicy
ManagedMemoryPolicy::PriorityCutoffToTileMemoryLimitPolicy(
    gpu::MemoryAllocation::PriorityCutoff priority_cutoff) {}

}  // namespace cc