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

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: Comment update to reflect addition to the vpx vendor enum Created 4 years, 5 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
« no previous file with comments | « no previous file | content/public/browser/gpu_utils.cc » ('j') | content/public/common/content_switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)))
nasko 2016/07/13 23:07:10 This is quite the range of possible values. Do we
kplum 2016/07/14 15:18:58 I agree with the intent of your feedback but inste
+
IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats)
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current)
IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max)
« no previous file with comments | « no previous file | content/public/browser/gpu_utils.cc » ('j') | content/public/common/content_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698