OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // gpu/command_buffer/service/gpu_preferences.h | 5 // gpu/command_buffer/service/gpu_preferences.h |
6 module gpu.mojom; | 6 module gpu.mojom; |
7 | 7 |
8 // gpu::GpuPreferences::VpxDecodeVendors | 8 // gpu::GpuPreferences::VpxDecodeVendors |
9 enum VpxDecodeVendors { | 9 enum VpxDecodeVendors { |
10 VPX_VENDOR_NONE = 0, | 10 VPX_VENDOR_NONE = 0, |
11 VPX_VENDOR_MICROSOFT = 1, | 11 VPX_VENDOR_MICROSOFT = 1, |
12 VPX_VENDOR_AMD = 2, | 12 VPX_VENDOR_AMD = 2, |
13 VPX_VENDOR_ALL = 3, | 13 VPX_VENDOR_ALL = 3, |
14 }; | 14 }; |
15 | 15 |
16 // gpu::GpuPreferences | 16 // gpu::GpuPreferences |
17 struct GpuPreferences { | 17 struct GpuPreferences { |
18 bool single_process; | 18 bool single_process; |
19 bool in_process_gpu; | 19 bool in_process_gpu; |
20 bool ui_prioritize_in_gpu_process; | 20 bool ui_prioritize_in_gpu_process; |
21 bool enable_gpu_scheduler; | |
22 bool disable_accelerated_video_decode; | 21 bool disable_accelerated_video_decode; |
23 | 22 |
24 bool disable_vaapi_accelerated_video_encode; | 23 bool disable_vaapi_accelerated_video_encode; |
25 | 24 |
26 bool disable_web_rtc_hw_encoding; | 25 bool disable_web_rtc_hw_encoding; |
27 | 26 |
28 VpxDecodeVendors enable_accelerated_vpx_decode; | 27 VpxDecodeVendors enable_accelerated_vpx_decode; |
29 bool enable_low_latency_dxva; | 28 bool enable_low_latency_dxva; |
30 bool enable_zero_copy_dxgi_video; | 29 bool enable_zero_copy_dxgi_video; |
31 bool enable_nv12_dxgi_video; | 30 bool enable_nv12_dxgi_video; |
(...skipping 13 matching lines...) Expand all Loading... |
45 uint32 gpu_program_cache_size; | 44 uint32 gpu_program_cache_size; |
46 bool disable_gpu_shader_disk_cache; | 45 bool disable_gpu_shader_disk_cache; |
47 bool enable_threaded_texture_mailboxes; | 46 bool enable_threaded_texture_mailboxes; |
48 bool gl_shader_interm_output; | 47 bool gl_shader_interm_output; |
49 bool emulate_shader_precision; | 48 bool emulate_shader_precision; |
50 bool enable_gpu_service_logging; | 49 bool enable_gpu_service_logging; |
51 bool enable_gpu_service_tracing; | 50 bool enable_gpu_service_tracing; |
52 bool enable_es3_apis; | 51 bool enable_es3_apis; |
53 bool use_passthrough_cmd_decoder; | 52 bool use_passthrough_cmd_decoder; |
54 }; | 53 }; |
OLD | NEW |