1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15

gpu / ipc / common / memory_stats.mojom [blame]

// 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;
};