summaryrefslogtreecommitdiffstats
path: root/cc/test/gpu_rasterization_settings.h
blob: 97c5710742670fad504c8d4a9d863a6f772bba71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2014 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 CC_TEST_GPU_RASTERIZATION_SETTINGS_H_
#define CC_TEST_GPU_RASTERIZATION_SETTINGS_H_

#include "cc/trees/layer_tree_settings.h"

namespace cc {

class GpuRasterizationSettings : public LayerTreeSettings {
 public:
  GpuRasterizationSettings() {
    impl_side_painting = true;
    rasterization_site = GpuRasterization;
  }
};

}  // namespace cc

#endif  // CC_TEST_GPU_RASTERIZATION_SETTINGS_H_