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

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

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Merged with recent BeginFrameSource changes 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
« no previous file with comments | « gpu/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // These flags are used by the test harness code, not passed in by users. 59 // These flags are used by the test harness code, not passed in by users.
59 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 60 GL_EXPORT extern const char kDisableGLDrawingForTests[];
60 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[]; 61 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[];
61 62
62 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 63 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
63 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 64 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
64 65
65 } // namespace switches 66 } // namespace switches
66 67
68 namespace features {
69
70 #if defined(OS_WIN)
71 GL_EXPORT extern const base::Feature kD3DVsync;
72 #endif // defined(OS_WIN)
73
74 } // namespace features
75
67 #endif // UI_GL_GL_SWITCHES_H_ 76 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698