diff options
author | nyquist <nyquist@chromium.org> | 2015-12-01 16:08:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-02 00:09:10 +0000 |
commit | b974b9aeec3ea5941d7e30f2db924fa637180ef2 (patch) | |
tree | 96dfbaa27ecf265957edca6b53a42d7d0c24b787 /cc/proto | |
parent | e3e5b6f72c5cb7a669e2a11878c0c416a0cd0dd1 (diff) | |
download | chromium_src-b974b9aeec3ea5941d7e30f2db924fa637180ef2.zip chromium_src-b974b9aeec3ea5941d7e30f2db924fa637180ef2.tar.gz chromium_src-b974b9aeec3ea5941d7e30f2db924fa637180ef2.tar.bz2 |
Added support for (de)serializing cc::RendererSettings
As part of serializing cc::LayerTreeHost, we also need to
serialize the cc::LayerTreeSettings and the cc::RendererSettings.
This CL focuses only on the renderer settings.
BUG=561210
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1476753002
Cr-Commit-Position: refs/heads/master@{#362558}
Diffstat (limited to 'cc/proto')
-rw-r--r-- | cc/proto/BUILD.gn | 1 | ||||
-rw-r--r-- | cc/proto/renderer_settings.proto | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/cc/proto/BUILD.gn b/cc/proto/BUILD.gn index f1b71ec..5b2f47a 100644 --- a/cc/proto/BUILD.gn +++ b/cc/proto/BUILD.gn @@ -41,6 +41,7 @@ proto_library("proto_internal") { "rect.proto", "rectf.proto", "region.proto", + "renderer_settings.proto", "scroll_offset.proto", "size.proto", "sizef.proto", diff --git a/cc/proto/renderer_settings.proto b/cc/proto/renderer_settings.proto new file mode 100644 index 0000000..6666f50 --- /dev/null +++ b/cc/proto/renderer_settings.proto @@ -0,0 +1,25 @@ +// Copyright 2015 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. + +syntax = "proto2"; + +package cc.proto; + +option optimize_for = LITE_RUNTIME; + +message RendererSettings { + optional bool allow_antialiasing = 1; + optional bool force_antialiasing = 2; + optional bool force_blending_with_shaders = 3; + optional bool partial_swap_enabled = 4; + optional bool finish_rendering_on_resize = 5; + optional bool should_clear_root_render_pass = 6; + optional bool disable_display_vsync = 7; + optional bool delay_releasing_overlay_resources = 8; + optional double refresh_rate = 9; + optional uint32 highp_threshold_min = 10; + optional bool use_rgba_4444_textures = 11; + optional uint32 texture_id_allocation_chunk_size = 12; + optional bool use_gpu_memory_buffer_resources = 13; +} |