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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 23843005: Report accelerated surface vsync time info to browser compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 // 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IPC_STRUCT_MEMBER(int32, surface_id) 77 IPC_STRUCT_MEMBER(int32, surface_id)
78 IPC_STRUCT_MEMBER(int32, route_id) 78 IPC_STRUCT_MEMBER(int32, route_id)
79 IPC_STRUCT_END() 79 IPC_STRUCT_END()
80 80
81 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) 81 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params)
82 IPC_STRUCT_MEMBER(std::string, mailbox_name) 82 IPC_STRUCT_MEMBER(std::string, mailbox_name)
83 IPC_STRUCT_MEMBER(uint32, sync_point) 83 IPC_STRUCT_MEMBER(uint32, sync_point)
84 #if defined(OS_MACOSX) 84 #if defined(OS_MACOSX)
85 IPC_STRUCT_MEMBER(int32, renderer_id) 85 IPC_STRUCT_MEMBER(int32, renderer_id)
86 #endif 86 #endif
87 #if defined(OS_WIN)
88 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase)
89 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval)
90 #endif
87 IPC_STRUCT_END() 91 IPC_STRUCT_END()
88 92
89 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) 93 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage)
90 IPC_STRUCT_MEMBER(int32, id) 94 IPC_STRUCT_MEMBER(int32, id)
91 IPC_STRUCT_MEMBER(std::string, message) 95 IPC_STRUCT_MEMBER(std::string, message)
92 IPC_STRUCT_END() 96 IPC_STRUCT_END()
93 97
94 #if defined(OS_ANDROID) 98 #if defined(OS_ANDROID)
95 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) 99 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params)
96 IPC_STRUCT_MEMBER(float, m00) 100 IPC_STRUCT_MEMBER(float, m00)
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 gfx::Size /* buffer_size */, 805 gfx::Size /* buffer_size */,
802 gfx::Rect /* visible_rect */) 806 gfx::Rect /* visible_rect */)
803 807
804 // Report successful copy of a capture of a surface. 808 // Report successful copy of a capture of a surface.
805 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, 809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone,
806 int32 /* frame_id */) 810 int32 /* frame_id */)
807 811
808 // Report error. 812 // Report error.
809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, 813 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError,
810 content::SurfaceCapturer::Error /* error */) 814 content::SurfaceCapturer::Error /* error */)
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/image_transport_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698