chromium/gpu/ipc/common/memory_stats.mojom

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

module gpu.mojom;

struct VideoMemoryProcessStats {
  uint64 video_memory_bytes;
  bool has_duplicates;
};

struct VideoMemoryUsageStats {
  map<int32, VideoMemoryProcessStats> process_map;
  uint64 bytes_allocated;
};