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

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: Change hardcoded values to an 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') | gpu/command_buffer/service/gpu_preferences.h » ('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 d3ffe07ef0528f5b88d0a9b0c63fca31af8ac7ff..b0b5d327f2655aba37a11e2f6fa9789469d91100 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::kVpxVendorNone) &&
+ (value <= gpu::GpuPreferences::kVpxVendorAll)))
+
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') | gpu/command_buffer/service/gpu_preferences.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698