gpu_memory_stats.cc revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/public/common/gpu_memory_stats.h"
6
7namespace content {
8
9GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats()
10    : bytes_allocated(0),
11      bytes_allocated_historical_max(0) {
12}
13
14GPUVideoMemoryUsageStats::~GPUVideoMemoryUsageStats() {
15}
16
17GPUVideoMemoryUsageStats::ProcessStats::ProcessStats()
18    : video_memory(0),
19      has_duplicates(false) {
20}
21
22GPUVideoMemoryUsageStats::ProcessStats::~ProcessStats() {
23}
24
25}  // namespace content
26