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

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

Issue 2472173002: DXVA: Add --disable-low-latency-dxva to disable low latency decoding (Closed)
Patch Set: IPC Created 4 years, 1 month 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 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #if defined(ENABLE_WEBRTC) 54 #if defined(ENABLE_WEBRTC)
55 // Disables HW encode acceleration for WebRTC. 55 // Disables HW encode acceleration for WebRTC.
56 bool disable_web_rtc_hw_encoding = false; 56 bool disable_web_rtc_hw_encoding = false;
57 #endif 57 #endif
58 58
59 #if defined(OS_WIN) 59 #if defined(OS_WIN)
60 // Enables experimental hardware acceleration for VP8/VP9 video decoding. 60 // Enables experimental hardware acceleration for VP8/VP9 video decoding.
61 // Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all. 61 // Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all.
62 VpxDecodeVendors enable_accelerated_vpx_decode = VPX_VENDOR_MICROSOFT; 62 VpxDecodeVendors enable_accelerated_vpx_decode = VPX_VENDOR_MICROSOFT;
63 63
64 // Enables using CODECAPI_AVLowLatencyMode.
65 bool enable_low_latency_dxva = true;
66
64 // Enables support for avoiding copying DXGI NV12 textures. 67 // Enables support for avoiding copying DXGI NV12 textures.
65 bool enable_zero_copy_dxgi_video = false; 68 bool enable_zero_copy_dxgi_video = false;
66 69
67 // Enables support for outputting NV12 video frames. 70 // Enables support for outputting NV12 video frames.
68 bool enable_nv12_dxgi_video = false; 71 bool enable_nv12_dxgi_video = false;
69 #endif 72 #endif
70 73
71 // =================================== 74 // ===================================
72 // Settings from //gpu/command_buffer/service/gpu_switches.cc 75 // Settings from //gpu/command_buffer/service/gpu_switches.cc
73 76
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool enable_unsafe_es3_apis = false; 138 bool enable_unsafe_es3_apis = false;
136 139
137 // Use the Pass-through command decoder, skipping all validation and state 140 // Use the Pass-through command decoder, skipping all validation and state
138 // tracking. 141 // tracking.
139 bool use_passthrough_cmd_decoder = false; 142 bool use_passthrough_cmd_decoder = false;
140 }; 143 };
141 144
142 } // namespace gpu 145 } // namespace gpu
143 146
144 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 147 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698