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

Side by Side Diff: ui/compositor/compositor_switches.h

Issue 1160093005: Turn on ui impl-side painting by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
7 7
8 #include "ui/compositor/compositor_export.h" 8 #include "ui/compositor/compositor_export.h"
9 9
10 namespace switches { 10 namespace switches {
11 11
12 COMPOSITOR_EXPORT extern const char kEnableHardwareOverlays[]; 12 COMPOSITOR_EXPORT extern const char kEnableHardwareOverlays[];
13 COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[]; 13 COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[];
14 COMPOSITOR_EXPORT extern const char kUIDisableSlimmingPaint[]; 14 COMPOSITOR_EXPORT extern const char kUIDisableSlimmingPaint[];
15 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[]; 15 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[];
16 COMPOSITOR_EXPORT extern const char kUIEnableCompositorAnimationTimelines[]; 16 COMPOSITOR_EXPORT extern const char kUIEnableCompositorAnimationTimelines[];
17 COMPOSITOR_EXPORT extern const char kUIEnableImplSidePainting[]; 17 COMPOSITOR_EXPORT extern const char kUIDisableImplSidePainting[];
18 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[]; 18 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
19 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[]; 19 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
20 20
21 } // namespace switches 21 } // namespace switches
22 22
23 namespace ui { 23 namespace ui {
24 24
25 COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled(); 25 COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled();
26 bool IsUIZeroCopyEnabled(); 26 bool IsUIZeroCopyEnabled();
27 bool IsUIOneCopyEnabled(); 27 bool IsUIOneCopyEnabled();
28 bool IsUISlimmingPaintEnabled(); 28 bool IsUISlimmingPaintEnabled();
29 29
30 } // namespace ui 30 } // namespace ui
31 31
32 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 32 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screenshot_testing/screenshot_testing_mixin.cc ('k') | ui/compositor/compositor_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698