1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
gpu / command_buffer / common / swap_buffers_flags.h [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_COMMON_SWAP_BUFFERS_FLAGS_H_
#define GPU_COMMAND_BUFFER_COMMON_SWAP_BUFFERS_FLAGS_H_
namespace gpu {
// Flags for calling glSwapBuffers with Chromium GLES2 command buffer.
class SwapBuffersFlags {
public:
enum : uint32_t {
kVSyncParams = 1 << 0, // Request VSYNC parameters update.
};
};
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_COMMON_SWAP_BUFFERS_FLAGS_H_