| Index: content/common/gpu/gpu_messages.h
|
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
|
| index 3e96bb7dd0b67399df31cbcb422a23ea02e903c5..edf77ae06e33a77e71dfd86296f993c704a76f23 100644
|
| --- a/content/common/gpu/gpu_messages.h
|
| +++ b/content/common/gpu/gpu_messages.h
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/common/common_param_traits.h"
|
| #include "content/public/common/gpu_info.h"
|
| #include "content/public/common/gpu_memory_stats.h"
|
| +#include "content/public/common/gpu_rendering_stats.h"
|
| #include "gpu/command_buffer/common/command_buffer.h"
|
| #include "gpu/command_buffer/common/constants.h"
|
| #include "gpu/ipc/gpu_command_buffer_traits.h"
|
| @@ -194,6 +195,11 @@ IPC_ENUM_TRAITS(gpu::error::ContextLostReason)
|
|
|
| IPC_ENUM_TRAITS(media::VideoCodecProfile)
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::GpuRenderingStats)
|
| + IPC_STRUCT_TRAITS_MEMBER(textureUploadCount)
|
| + IPC_STRUCT_TRAITS_MEMBER(totalTextureUploadTimeInSeconds)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| //------------------------------------------------------------------------------
|
| // GPU Messages
|
| // These are messages from the browser to the GPU process.
|
| @@ -385,6 +391,10 @@ IPC_MESSAGE_ROUTED1(GpuStreamTextureMsg_MatrixChanged,
|
| GpuStreamTextureMsg_MatrixChanged_Params /* params */)
|
| #endif
|
|
|
| +// Tells the GPU process to collect rendering stats.
|
| +IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_CollectRenderingStats,
|
| + content::GpuRenderingStats /* stats */)
|
| +
|
| //------------------------------------------------------------------------------
|
| // GPU Command Buffer Messages
|
| // These are messages between a renderer process to the GPU process relating to
|
|
|