Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: ui/gl/gl_switches.h

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Implement GPU VSync provider as gl::VSyncProvider Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_SWITCHES_H_ 5 #ifndef UI_GL_GL_SWITCHES_H_
6 #define UI_GL_GL_SWITCHES_H_ 6 #define UI_GL_GL_SWITCHES_H_
7 7
8 // Defines all the command-line switches used by ui/gl. 8 // Defines all the command-line switches used by ui/gl.
9 9
10 #include "base/feature_list.h"
10 #include "ui/gl/gl_export.h" 11 #include "ui/gl/gl_export.h"
11 12
12 namespace gl { 13 namespace gl {
13 14
14 // The GL implementation names that can be passed to --use-gl. 15 // The GL implementation names that can be passed to --use-gl.
15 GL_EXPORT extern const char kGLImplementationDesktopName[]; 16 GL_EXPORT extern const char kGLImplementationDesktopName[];
16 GL_EXPORT extern const char kGLImplementationOSMesaName[]; 17 GL_EXPORT extern const char kGLImplementationOSMesaName[];
17 GL_EXPORT extern const char kGLImplementationAppleName[]; 18 GL_EXPORT extern const char kGLImplementationAppleName[];
18 GL_EXPORT extern const char kGLImplementationEGLName[]; 19 GL_EXPORT extern const char kGLImplementationEGLName[];
19 GL_EXPORT extern const char kGLImplementationANGLEName[]; 20 GL_EXPORT extern const char kGLImplementationANGLEName[];
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 56
56 // These flags are used by the test harness code, not passed in by users. 57 // These flags are used by the test harness code, not passed in by users.
57 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 58 GL_EXPORT extern const char kDisableGLDrawingForTests[];
58 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 59 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
59 60
60 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 61 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
61 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 62 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
62 63
63 } // namespace switches 64 } // namespace switches
64 65
66 namespace features {
67
68 #if defined(OS_WIN)
69 GL_EXPORT extern const base::Feature kD3DVsync;
70 #endif // defined(OS_WIN)
71
72 } // namespace features
73
65 #endif // UI_GL_GL_SWITCHES_H_ 74 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698