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

Side by Side Diff: gpu/command_buffer/service/gpu_preferences.h

Issue 1784193003: content gpu refactor: get rid of gpu related content switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the compile problem on windows Created 4 years, 9 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
« no previous file with comments | « content/public/browser/gpu_utils.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 25
26 // Runs the renderer and plugins in the same process as the browser. 26 // Runs the renderer and plugins in the same process as the browser.
27 bool single_process = false; 27 bool single_process = false;
28 28
29 // Run the GPU process as a thread in the browser process. 29 // Run the GPU process as a thread in the browser process.
30 bool in_process_gpu = false; 30 bool in_process_gpu = false;
31 31
32 // Prioritizes the UI's command stream in the GPU process. 32 // Prioritizes the UI's command stream in the GPU process.
33 bool ui_prioritize_in_gpu_process = false; 33 bool ui_prioritize_in_gpu_process = false;
34 34
35 // Disables hardware acceleration of video decode, where available.
36 bool disable_accelerated_video_decode = false;
37
38 #if defined(OS_CHROMEOS)
39 // Disables VA-API accelerated video encode.
40 bool disable_vaapi_accelerated_video_encode = false;
41 #endif
42
43 #if defined(ENABLE_WEBRTC)
44 // Disables HW encode acceleration for WebRTC.
45 bool disable_web_rtc_hw_encoding = false;
46 #endif
47
48 #if defined(OS_WIN)
49 // Enables experimental hardware acceleration for VP8/VP9 video decoding.
50 bool enable_accelerated_vpx_decode = false;
51 #endif
52
35 // =================================== 53 // ===================================
36 // Settings from //gpu/command_buffer/service/gpu_switches.cc 54 // Settings from //gpu/command_buffer/service/gpu_switches.cc
37 55
38 // Always return success when compiling a shader. Linking will still fail. 56 // Always return success when compiling a shader. Linking will still fail.
39 bool compile_shader_always_succeeds = false; 57 bool compile_shader_always_succeeds = false;
40 58
41 // Disable the GL error log limit. 59 // Disable the GL error log limit.
42 bool disable_gl_error_limit = false; 60 bool disable_gl_error_limit = false;
43 61
44 // Disable the GLSL translator. 62 // Disable the GLSL translator.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Turns on calling TRACE for every GL call. 119 // Turns on calling TRACE for every GL call.
102 bool enable_gpu_service_tracing = false; 120 bool enable_gpu_service_tracing = false;
103 121
104 // Enable OpenGL ES 3 APIs without proper service side validation. 122 // Enable OpenGL ES 3 APIs without proper service side validation.
105 bool enable_unsafe_es3_apis = false; 123 bool enable_unsafe_es3_apis = false;
106 }; 124 };
107 125
108 } // namespace gpu 126 } // namespace gpu
109 127
110 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 128 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/browser/gpu_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698