• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2020 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.config.api.test.results.graphics.v1;
8
9option go_package = "go.chromium.org/chromiumos/config/go/api/test/results/graphics/v1;graphics";
10
11import "chromiumos/config/api/test/results/graphics/v1/trace_id.proto";
12
13// Details about a graphics trace file.
14// Next Tag: 10
15message Trace {
16  // Global unique trace identifier.
17  TraceId id = 1;
18  string filename = 2;
19  // Size of trace in bytes.
20  uint64 size = 3;
21
22  // Source of the trace.
23  string source = 4;
24
25  // Source specific identifier for the program being traced. (eg Steam ID)
26  string application_id = 5;
27
28  // Number of frames in the trace.
29  uint32 frame_count = 6;
30
31  message Range {
32    uint32 start = 1;
33    uint32 end = 2;
34  }
35
36  // The range of frames after the game began to interact.
37  Range frame_range = 7;
38
39  // Frames that are worth checking for pixel correctness.
40  repeated uint32 key_frames = 8;
41
42  // Frames that are worth looping on to gauge performance.
43  repeated uint32 loop_frames = 9;
44
45  // TODO(davidriley): Add GL/Vulkan and profile.
46  // TODO(davidriley): Add extensions used.
47  // TODO(davidriley): Add compressed size?
48}
49
50message TraceList {
51  repeated Trace value = 1;
52}
53