summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_switches.h
blob: 74646c1e5b4cb6300953a6740f51362d19659831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2011 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.

// Defines all the command-line switches used by ui/gfx/gl.

#ifndef UI_GFX_GL_GL_SWITCHES_H_
#define UI_GFX_GL_GL_SWITCHES_H_
#pragma once

namespace gfx {

// The GL implementation names that can be passed to --use-gl.
extern const char kGLImplementationDesktopName[];
extern const char kGLImplementationOSMesaName[];
extern const char kGLImplementationEGLName[];
extern const char kGLImplementationMockName[];

}  // namespace gfx

namespace switches {

extern const char kDisableGpuVsync[];
extern const char kEnableGPUServiceLogging[];
extern const char kEnableGPUClientLogging[];
extern const char kGpuNoContextLost[];
extern const char kUseGL[];

}  // namespace switches

#endif  // UI_GFX_GL_GL_SWITCHES_H_