summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/buffer_presented_params_mac.h
blob: b94ffa4574f55697763e4ddceacf28d5b7020676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.

#ifndef CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_
#define CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_

#include "base/time/time.h"

namespace content {

struct BufferPresentedParams {
  BufferPresentedParams();
  ~BufferPresentedParams();

  int32_t surface_id;
  base::TimeTicks vsync_timebase;
  base::TimeDelta vsync_interval;
};

}  // namespace content

#endif  // CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_