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

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

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: nits Created 3 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 kUIDisablePartialSwap[]; 14 COMPOSITOR_EXPORT extern const char kUIDisablePartialSwap[];
15 COMPOSITOR_EXPORT extern const char kUIEnableRGBA4444Textures[]; 15 COMPOSITOR_EXPORT extern const char kUIEnableRGBA4444Textures[];
16 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[]; 16 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
17 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[]; 17 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
18 COMPOSITOR_EXPORT extern const char kUISlowAnimations[]; 18 COMPOSITOR_EXPORT extern const char kUISlowAnimations[];
19 COMPOSITOR_EXPORT extern const char kEnablePixelCanvasRecording[];
19 20
20 } // namespace switches 21 } // namespace switches
21 22
22 namespace ui { 23 namespace ui {
23 24
24 bool IsUIZeroCopyEnabled(); 25 bool IsUIZeroCopyEnabled();
26 bool IsPixelCanvasRecordingEnabled();
25 27
26 } // namespace ui 28 } // namespace ui
27 29
28 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 30 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698