GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / cc / output / renderer_settings.cc
blob2277af3ed3cb18e31220005b972d6cea05d7eeff
1 // Copyright 2014 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.
5 #include "cc/output/renderer_settings.h"
7 #include <limits>
9 #include "base/logging.h"
11 namespace cc {
13 RendererSettings::RendererSettings()
14 : allow_antialiasing(true),
15 force_antialiasing(false),
16 force_blending_with_shaders(false),
17 partial_swap_enabled(false),
18 finish_rendering_on_resize(false),
19 should_clear_root_render_pass(true),
20 refresh_rate(60.0),
21 highp_threshold_min(0),
22 use_rgba_4444_textures(false),
23 texture_id_allocation_chunk_size(64) {
26 RendererSettings::~RendererSettings() {
29 } // namespace cc