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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 // Runs the renderer and plugins in the same process as the browser. | 38 // Runs the renderer and plugins in the same process as the browser. |
39 bool single_process = false; | 39 bool single_process = false; |
40 | 40 |
41 // Run the GPU process as a thread in the browser process. | 41 // Run the GPU process as a thread in the browser process. |
42 bool in_process_gpu = false; | 42 bool in_process_gpu = false; |
43 | 43 |
44 // Prioritizes the UI's command stream in the GPU process. | 44 // Prioritizes the UI's command stream in the GPU process. |
45 bool ui_prioritize_in_gpu_process = false; | 45 bool ui_prioritize_in_gpu_process = false; |
46 | 46 |
47 // Enable the GPU process scheduler. | |
48 bool enable_gpu_scheduler = false; | |
49 | |
50 // Disables hardware acceleration of video decode, where available. | 47 // Disables hardware acceleration of video decode, where available. |
51 bool disable_accelerated_video_decode = false; | 48 bool disable_accelerated_video_decode = false; |
52 | 49 |
53 #if defined(OS_CHROMEOS) | 50 #if defined(OS_CHROMEOS) |
54 // Disables VA-API accelerated video encode. | 51 // Disables VA-API accelerated video encode. |
55 bool disable_vaapi_accelerated_video_encode = false; | 52 bool disable_vaapi_accelerated_video_encode = false; |
56 #endif | 53 #endif |
57 | 54 |
58 #if BUILDFLAG(ENABLE_WEBRTC) | 55 #if BUILDFLAG(ENABLE_WEBRTC) |
59 // Disables HW encode acceleration for WebRTC. | 56 // Disables HW encode acceleration for WebRTC. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 bool enable_es3_apis = true; | 142 bool enable_es3_apis = true; |
146 | 143 |
147 // Use the Pass-through command decoder, skipping all validation and state | 144 // Use the Pass-through command decoder, skipping all validation and state |
148 // tracking. | 145 // tracking. |
149 bool use_passthrough_cmd_decoder = false; | 146 bool use_passthrough_cmd_decoder = false; |
150 }; | 147 }; |
151 | 148 |
152 } // namespace gpu | 149 } // namespace gpu |
153 | 150 |
154 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ | 151 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ |
OLD | NEW |