15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "ui/compositor/compositor_export.h"
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace switches {
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
12c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochCOMPOSITOR_EXPORT extern const char kEnableHardwareOverlays[];
13a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[];
14c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[];
15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)COMPOSITOR_EXPORT extern const char kUIEnableImplSidePainting[];
165c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo LiuCOMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}  // namespace switches
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
21a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)namespace ui {
22a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
23a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled();
245c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo LiuCOMPOSITOR_EXPORT bool IsUIZeroCopyEnabled();
25a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
26a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)}  // namespace ui
27a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
29