| 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 channel scheduler. |
| 48 bool enable_gpu_scheduler = false; |
| 49 |
| 47 // Disables hardware acceleration of video decode, where available. | 50 // Disables hardware acceleration of video decode, where available. |
| 48 bool disable_accelerated_video_decode = false; | 51 bool disable_accelerated_video_decode = false; |
| 49 | 52 |
| 50 #if defined(OS_CHROMEOS) | 53 #if defined(OS_CHROMEOS) |
| 51 // Disables VA-API accelerated video encode. | 54 // Disables VA-API accelerated video encode. |
| 52 bool disable_vaapi_accelerated_video_encode = false; | 55 bool disable_vaapi_accelerated_video_encode = false; |
| 53 #endif | 56 #endif |
| 54 | 57 |
| 55 #if BUILDFLAG(ENABLE_WEBRTC) | 58 #if BUILDFLAG(ENABLE_WEBRTC) |
| 56 // Disables HW encode acceleration for WebRTC. | 59 // Disables HW encode acceleration for WebRTC. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 bool enable_es3_apis = true; | 145 bool enable_es3_apis = true; |
| 143 | 146 |
| 144 // Use the Pass-through command decoder, skipping all validation and state | 147 // Use the Pass-through command decoder, skipping all validation and state |
| 145 // tracking. | 148 // tracking. |
| 146 bool use_passthrough_cmd_decoder = false; | 149 bool use_passthrough_cmd_decoder = false; |
| 147 }; | 150 }; |
| 148 | 151 |
| 149 } // namespace gpu | 152 } // namespace gpu |
| 150 | 153 |
| 151 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ | 154 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ |
| OLD | NEW |