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

Side by Side 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 enum to follow chromium style enum naming, remove unecessary media:: scope 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/public/browser/gpu_utils.cc » ('j') | content/public/browser/gpu_utils.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/establish_channel_params.h" 10 #include "content/common/establish_channel_params.h"
(...skipping 13 matching lines...) Expand all
24 #include "ui/gfx/ipc/gfx_param_traits.h" 24 #include "ui/gfx/ipc/gfx_param_traits.h"
25 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 25 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 #include "url/ipc/url_param_traits.h" 27 #include "url/ipc/url_param_traits.h"
28 28
29 #undef IPC_MESSAGE_EXPORT 29 #undef IPC_MESSAGE_EXPORT
30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
31 31
32 #define IPC_MESSAGE_START GpuMsgStart 32 #define IPC_MESSAGE_START GpuMsgStart
33 33
34 IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors,
35 ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) &&
36 (value <= gpu::GpuPreferences::VPX_VENDOR_ALL)))
37
34 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) 38 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats)
35 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) 39 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current)
36 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) 40 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max)
37 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
38 42
39 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoMemoryUsageStats) 43 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoMemoryUsageStats)
40 IPC_STRUCT_TRAITS_MEMBER(process_map) 44 IPC_STRUCT_TRAITS_MEMBER(process_map)
41 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) 45 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated)
42 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) 46 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max)
43 IPC_STRUCT_TRAITS_END() 47 IPC_STRUCT_TRAITS_END()
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) 251 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */)
248 252
249 // Message from GPU to add a GPU log message to the about:gpu page. 253 // Message from GPU to add a GPU log message to the about:gpu page.
250 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, 254 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
251 int /*severity*/, 255 int /*severity*/,
252 std::string /* header */, 256 std::string /* header */,
253 std::string /* message */) 257 std::string /* message */)
254 258
255 // Sent by the GPU process to indicate that a fields trial has been activated. 259 // Sent by the GPU process to indicate that a fields trial has been activated.
256 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) 260 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */)
OLDNEW
« no previous file with comments | « no previous file | content/public/browser/gpu_utils.cc » ('j') | content/public/browser/gpu_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698