summaryrefslogtreecommitdiffstats
path: root/components/mus/gles2/command_buffer_local_client.h
blob: b4e237aa1a900e5390f72b294a95b4d7c6137d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2015 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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
#define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_

namespace mus {

class CommandBufferLocalClient {
 public:
  virtual void UpdateVSyncParameters(int64_t timebase, int64_t interval) = 0;
  virtual void DidLoseContext() = 0;

 protected:
  virtual ~CommandBufferLocalClient() {}
};

}  // namespace mus

#endif  // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_