chromium/ui/compositor/compositor_switches.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/compositor/compositor_switches.h"

#include "base/command_line.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"

namespace switches {

// Forces tests to produce pixel output when they normally wouldn't.
const char kEnablePixelOutputInTests[] =;

const char kUIEnableRGBA4444Textures[] =;

const char kUIEnableZeroCopy[] =;
const char kUIDisableZeroCopy[] =;

const char kUIShowPaintRects[] =;

const char kUISlowAnimations[] =;

const char kDisableVsyncForTests[] =;

}  // namespace switches

namespace features {

// If enabled, all draw commands recorded on canvas are done in pixel aligned
// measurements. This also enables scaling of all elements in views and layers
// to be done via corner points. See https://crbug.com/720596 for details.
BASE_FEATURE();

}  // namespace features

namespace ui {

bool IsUIZeroCopyEnabled() {}

bool IsPixelCanvasRecordingEnabled() {}

}  // namespace ui