forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompositor_switches.h
38 lines (25 loc) · 1.15 KB
/
compositor_switches.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
#define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
#include "base/feature_list.h"
#include "ui/compositor/compositor_export.h"
namespace switches {
COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[];
COMPOSITOR_EXPORT extern const char kUIEnableRGBA4444Textures[];
COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
COMPOSITOR_EXPORT extern const char kUIDisableZeroCopy[];
COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
COMPOSITOR_EXPORT extern const char kUISlowAnimations[];
COMPOSITOR_EXPORT extern const char kDisableVsyncForTests[];
COMPOSITOR_EXPORT extern const char kUiCompositorMemoryLimitWhenVisibleMB[];
} // namespace switches
namespace features {
COMPOSITOR_EXPORT extern const base::Feature kEnablePixelCanvasRecording;
} // namespace features
namespace ui {
bool IsUIZeroCopyEnabled();
bool COMPOSITOR_EXPORT IsPixelCanvasRecordingEnabled();
} // namespace ui
#endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_