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

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

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Update GLSurfaceAdapter Created 4 years, 3 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 | « ui/gl/gl_surface_egl.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 "ui/gl/gl_export.h" 10 #include "ui/gl/gl_export.h"
(...skipping 29 matching lines...) Expand all
40 GL_EXPORT extern const char kSupportsDualGpus[]; 40 GL_EXPORT extern const char kSupportsDualGpus[];
41 41
42 GL_EXPORT extern const char kUseANGLE[]; 42 GL_EXPORT extern const char kUseANGLE[];
43 GL_EXPORT extern const char kUseGL[]; 43 GL_EXPORT extern const char kUseGL[];
44 GL_EXPORT extern const char kSwiftShaderPath[]; 44 GL_EXPORT extern const char kSwiftShaderPath[];
45 GL_EXPORT extern const char kTestGLLib[]; 45 GL_EXPORT extern const char kTestGLLib[];
46 GL_EXPORT extern const char kUseGpuInTests[]; 46 GL_EXPORT extern const char kUseGpuInTests[];
47 GL_EXPORT extern const char kEnableUnsafeES3APIs[]; 47 GL_EXPORT extern const char kEnableUnsafeES3APIs[];
48 GL_EXPORT extern const char kEnableSgiVideoSync[]; 48 GL_EXPORT extern const char kEnableSgiVideoSync[];
49 GL_EXPORT extern const char kDisableGLExtensions[]; 49 GL_EXPORT extern const char kDisableGLExtensions[];
50 GL_EXPORT extern const char kEnableSwapBuffersWithDamage[];
50 51
51 // These flags are used by the test harness code, not passed in by users. 52 // These flags are used by the test harness code, not passed in by users.
52 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 53 GL_EXPORT extern const char kDisableGLDrawingForTests[];
53 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 54 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
54 55
55 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 56 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
56 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 57 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
57 58
58 } // namespace switches 59 } // namespace switches
59 60
60 #endif // UI_GL_GL_SWITCHES_H_ 61 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698