OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 package cc.proto; | 7 package cc.proto; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
11 message RendererSettings { | 11 message RendererSettings { |
12 optional bool allow_antialiasing = 1; | 12 optional bool allow_antialiasing = 1; |
13 optional bool force_antialiasing = 2; | 13 optional bool force_antialiasing = 2; |
14 optional bool force_blending_with_shaders = 3; | 14 optional bool force_blending_with_shaders = 3; |
15 optional bool partial_swap_enabled = 4; | 15 optional bool partial_swap_enabled = 4; |
16 optional bool finish_rendering_on_resize = 5; | 16 optional bool finish_rendering_on_resize = 5; |
17 optional bool should_clear_root_render_pass = 6; | 17 optional bool should_clear_root_render_pass = 6; |
18 optional bool disable_display_vsync = 7; | 18 optional bool disable_display_vsync = 7; |
19 optional bool release_overlay_resources_on_swap_complete = 8; | 19 optional bool release_overlay_resources_on_swap_complete = 8; |
20 optional double refresh_rate = 9; | 20 optional double refresh_rate = 9; |
21 optional uint32 highp_threshold_min = 10; | 21 optional uint32 highp_threshold_min = 10; |
22 optional bool use_rgba_4444_textures = 11; | 22 optional uint32 texture_id_allocation_chunk_size = 11; |
23 optional uint32 texture_id_allocation_chunk_size = 12; | 23 optional bool use_gpu_memory_buffer_resources = 12; |
24 optional bool use_gpu_memory_buffer_resources = 13; | 24 optional uint32 preferred_tile_format = 13; |
25 } | 25 } |
OLD | NEW |