summaryrefslogtreecommitdiffstats
path: root/cc/proto/commit_earlyout_reason.proto
blob: 100b94b9ed5cf8062615f6bdb24a344ef0c5ccb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;

package cc.proto;

message CommitEarlyOutReason {
  enum Reason {
    ABORTED_OUTPUT_SURFACE_LOST = 1;
    ABORTED_NOT_VISIBLE = 2;
    ABORTED_DEFERRED_COMMIT = 3;
    FINISHED_NO_UPDATES = 4;
  }

  optional Reason reason = 1;
}