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

Unified Diff: content/common/gpu_host_messages.h

Issue 2105693003: Vp9 decoder mft support for AMD apu/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase once more to resolve cq issue Created 4 years, 4 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: content/common/gpu_host_messages.h
diff --git a/content/common/gpu_host_messages.h b/content/common/gpu_host_messages.h
index ba7379805f91763573408b3aa9346d34661385a1..a8dd0367d94b4f3d196d9e045d9225e7d4c6f1d5 100644
--- a/content/common/gpu_host_messages.h
+++ b/content/common/gpu_host_messages.h
@@ -31,6 +31,10 @@
#define IPC_MESSAGE_START GpuMsgStart
+IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors,
+ ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) &&
+ (value <= gpu::GpuPreferences::VPX_VENDOR_ALL)))
+
IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats)
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current)
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max)

Powered by Google App Engine
This is Rietveld 408576698