Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: cc/proto/renderer_settings.proto

Issue 2328133002: Add cc::LayerTreeSettings for color correct rendering (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 BufferToTextureTarget { 11 message BufferToTextureTarget {
12 optional uint32 buffer_usage = 1; 12 optional uint32 buffer_usage = 1;
13 optional uint32 buffer_format = 2; 13 optional uint32 buffer_format = 2;
14 optional uint32 texture_target = 3; 14 optional uint32 texture_target = 3;
15 }; 15 };
16 16
17 message RendererSettings { 17 message RendererSettings {
18 optional bool allow_antialiasing = 1; 18 optional bool allow_antialiasing = 1;
19 optional bool force_antialiasing = 2; 19 optional bool force_antialiasing = 2;
20 optional bool force_blending_with_shaders = 3; 20 optional bool force_blending_with_shaders = 3;
21 optional bool partial_swap_enabled = 4; 21 optional bool partial_swap_enabled = 4;
22 optional bool finish_rendering_on_resize = 5; 22 optional bool finish_rendering_on_resize = 5;
23 optional bool should_clear_root_render_pass = 6; 23 optional bool should_clear_root_render_pass = 6;
24 optional bool disable_display_vsync = 7; 24 optional bool disable_display_vsync = 7;
25 optional bool release_overlay_resources_after_gpu_query = 8; 25 optional bool release_overlay_resources_after_gpu_query = 8;
26 optional double refresh_rate = 9; 26 optional double refresh_rate = 9;
27 optional uint32 highp_threshold_min = 10; 27 optional uint32 highp_threshold_min = 10;
28 optional uint32 texture_id_allocation_chunk_size = 11; 28 optional uint32 texture_id_allocation_chunk_size = 11;
29 optional bool use_gpu_memory_buffer_resources = 12; 29 optional bool use_gpu_memory_buffer_resources = 12;
30 optional bool enable_color_correct_rendering = 15;
30 optional uint32 preferred_tile_format = 13; 31 optional uint32 preferred_tile_format = 13;
31 repeated BufferToTextureTarget buffer_to_texture_target = 14; 32 repeated BufferToTextureTarget buffer_to_texture_target = 14;
32 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698