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 3 // found in the LICENSE file. 4 5 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 7 8 #include "ui/compositor/compositor_export.h" 9 10 namespace switches { 11 12 COMPOSITOR_EXPORT extern const char kDisableTestCompositor[]; 13 COMPOSITOR_EXPORT extern const char kUIDisableDeadlineScheduling[]; 14 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[]; 15 COMPOSITOR_EXPORT extern const char kUIEnableDeadlineScheduling[]; 16 COMPOSITOR_EXPORT extern const char kUIEnableSoftwareCompositing[]; 17 COMPOSITOR_EXPORT extern const char kUIEnableThreadedCompositing[]; 18 COMPOSITOR_EXPORT extern const char kUIMaxFramesPending[]; 19 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[]; 20 21 COMPOSITOR_EXPORT bool IsUIDeadlineSchedulingEnabled(); 22 23 } // namespace switches 24 25 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 26