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

Side by Side Diff: content/common/view_messages.h

Issue 123563002: Remove gpu side LatencyInfo merging (Closed) Base URL: http://git.chromium.org/chromium/src.git@gpu-per-event-latency-6-small
Patch Set: fix mac_rel compiler error. Move kMaxLatencyInfoNumber to .cc file Created 6 years, 11 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 | « content/common/gpu/texture_image_transport_surface.cc ('k') | ui/events/latency_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 2030 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 std::string /* name */) 2041 std::string /* name */)
2042 2042
2043 2043
2044 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) 2044 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params)
2045 IPC_STRUCT_MEMBER(int32, surface_id) 2045 IPC_STRUCT_MEMBER(int32, surface_id)
2046 IPC_STRUCT_MEMBER(uint64, surface_handle) 2046 IPC_STRUCT_MEMBER(uint64, surface_handle)
2047 IPC_STRUCT_MEMBER(int32, route_id) 2047 IPC_STRUCT_MEMBER(int32, route_id)
2048 IPC_STRUCT_MEMBER(gfx::Size, size) 2048 IPC_STRUCT_MEMBER(gfx::Size, size)
2049 IPC_STRUCT_MEMBER(float, scale_factor) 2049 IPC_STRUCT_MEMBER(float, scale_factor)
2050 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) 2050 IPC_STRUCT_MEMBER(int32, gpu_process_host_id)
2051 IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info) 2051 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info)
2052 IPC_STRUCT_END() 2052 IPC_STRUCT_END()
2053 2053
2054 // This message is synthesized by GpuProcessHost to pass through a swap message 2054 // This message is synthesized by GpuProcessHost to pass through a swap message
2055 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a 2055 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
2056 // software or GPU frame. 2056 // software or GPU frame.
2057 IPC_MESSAGE_ROUTED1( 2057 IPC_MESSAGE_ROUTED1(
2058 ViewHostMsg_CompositorSurfaceBuffersSwapped, 2058 ViewHostMsg_CompositorSurfaceBuffersSwapped,
2059 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) 2059 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */)
2060 2060
2061 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, 2061 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 // synchronously (see crbug.com/120597). This IPC message sends the character 2336 // synchronously (see crbug.com/120597). This IPC message sends the character
2337 // bounds after every composition change to always have correct bound info. 2337 // bounds after every composition change to always have correct bound info.
2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2339 gfx::Range /* composition range */, 2339 gfx::Range /* composition range */,
2340 std::vector<gfx::Rect> /* character bounds */) 2340 std::vector<gfx::Rect> /* character bounds */)
2341 #endif 2341 #endif
2342 2342
2343 // Adding a new message? Stick to the sort order above: first platform 2343 // Adding a new message? Stick to the sort order above: first platform
2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.cc ('k') | ui/events/latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698