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

Unified Diff: gpu/command_buffer/service/gpu_preferences.h

Issue 2105693003: Vp9 decoder mft support for AMD apu/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gpu_preferences.h
diff --git a/gpu/command_buffer/service/gpu_preferences.h b/gpu/command_buffer/service/gpu_preferences.h
index 67f5b92999e5d213d92e33ed38f795984e3f6249..e5264b31a3521a47a14cc7ad368a23706bf00df7 100644
--- a/gpu/command_buffer/service/gpu_preferences.h
+++ b/gpu/command_buffer/service/gpu_preferences.h
@@ -48,8 +48,9 @@ struct GPU_EXPORT GpuPreferences {
#endif
#if defined(OS_WIN)
- // Enables experimental hardware acceleration for VP8/VP9 video decoding.
- bool enable_accelerated_vpx_decode = false;
+ // Enables experimental hardware acceleration for VP8/VP9 video decoding
+ // bitmask - 0x1=Intel; 0x2=AMD; 0x3=both
+ uint32_t enable_accelerated_vpx_decode = 0;
jbauman 2016/06/28 20:24:22 Use an enum for this instead.
kplum 2016/06/28 21:35:14 Acknowledged.
kplum 2016/06/29 15:43:18 If I try to add an enum type member to the structu
// Enables support for avoiding copying DXGI NV12 textures.
bool enable_zero_copy_dxgi_video = false;

Powered by Google App Engine
This is Rietveld 408576698