blob: 4757f8d5571fc59cca4dd91f31f323d797f7466f (
plain)
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
|
// 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_OUTPUT_RENDERER_SETTINGS_H_
#define CC_OUTPUT_RENDERER_SETTINGS_H_
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
namespace cc {
class CC_EXPORT RendererSettings {
public:
RendererSettings();
~RendererSettings();
bool allow_antialiasing;
bool force_antialiasing;
bool force_blending_with_shaders;
bool partial_swap_enabled;
bool finish_rendering_on_resize;
bool should_clear_root_render_pass;
bool disable_gpu_vsync;
double refresh_rate;
int highp_threshold_min;
bool use_rgba_4444_textures;
size_t texture_id_allocation_chunk_size;
};
} // namespace cc
#endif // CC_OUTPUT_RENDERER_SETTINGS_H_
|