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 UseImageTextureTargets { | |
12 optional uint32 buffer_usage = 1; | |
erikchen
2016/07/15 21:08:35
should these be required?
ericrk
2016/07/19 20:22:43
Although these are "required", we use optional for
| |
13 optional uint32 buffer_format = 2; | |
14 optional uint32 texture_target = 3; | |
15 }; | |
16 | |
11 message RendererSettings { | 17 message RendererSettings { |
12 optional bool allow_antialiasing = 1; | 18 optional bool allow_antialiasing = 1; |
13 optional bool force_antialiasing = 2; | 19 optional bool force_antialiasing = 2; |
14 optional bool force_blending_with_shaders = 3; | 20 optional bool force_blending_with_shaders = 3; |
15 optional bool partial_swap_enabled = 4; | 21 optional bool partial_swap_enabled = 4; |
16 optional bool finish_rendering_on_resize = 5; | 22 optional bool finish_rendering_on_resize = 5; |
17 optional bool should_clear_root_render_pass = 6; | 23 optional bool should_clear_root_render_pass = 6; |
18 optional bool disable_display_vsync = 7; | 24 optional bool disable_display_vsync = 7; |
19 optional bool release_overlay_resources_after_gpu_query = 8; | 25 optional bool release_overlay_resources_after_gpu_query = 8; |
20 optional double refresh_rate = 9; | 26 optional double refresh_rate = 9; |
21 optional uint32 highp_threshold_min = 10; | 27 optional uint32 highp_threshold_min = 10; |
22 optional uint32 texture_id_allocation_chunk_size = 11; | 28 optional uint32 texture_id_allocation_chunk_size = 11; |
23 optional bool use_gpu_memory_buffer_resources = 12; | 29 optional bool use_gpu_memory_buffer_resources = 12; |
24 optional uint32 preferred_tile_format = 13; | 30 optional uint32 preferred_tile_format = 13; |
31 repeated UseImageTextureTargets use_image_texture_targets = 14; | |
25 } | 32 } |
OLD | NEW |