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

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

Issue 1844053002: Add detached mode plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And target Created 4 years, 8 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 IPC_STRUCT_TRAITS_MEMBER(allow_view_command_buffers) 78 IPC_STRUCT_TRAITS_MEMBER(allow_view_command_buffers)
79 IPC_STRUCT_TRAITS_MEMBER(allow_real_time_streams) 79 IPC_STRUCT_TRAITS_MEMBER(allow_real_time_streams)
80 IPC_STRUCT_TRAITS_END() 80 IPC_STRUCT_TRAITS_END()
81 81
82 #if defined(OS_MACOSX) 82 #if defined(OS_MACOSX)
83 IPC_STRUCT_TRAITS_BEGIN(content::AcceleratedSurfaceBuffersSwappedParams) 83 IPC_STRUCT_TRAITS_BEGIN(content::AcceleratedSurfaceBuffersSwappedParams)
84 IPC_STRUCT_TRAITS_MEMBER(surface_id) 84 IPC_STRUCT_TRAITS_MEMBER(surface_id)
85 // Only one of ca_context_id or io_surface may be non-0. 85 // Only one of ca_context_id or io_surface may be non-0.
86 IPC_STRUCT_TRAITS_MEMBER(ca_context_id) 86 IPC_STRUCT_TRAITS_MEMBER(ca_context_id)
87 IPC_STRUCT_TRAITS_MEMBER(io_surface) 87 IPC_STRUCT_TRAITS_MEMBER(io_surface)
88 IPC_STRUCT_TRAITS_MEMBER(use_detached)
89 IPC_STRUCT_TRAITS_MEMBER(detached_ca_context_id)
88 IPC_STRUCT_TRAITS_MEMBER(size) 90 IPC_STRUCT_TRAITS_MEMBER(size)
89 IPC_STRUCT_TRAITS_MEMBER(scale_factor) 91 IPC_STRUCT_TRAITS_MEMBER(scale_factor)
90 IPC_STRUCT_TRAITS_MEMBER(latency_info) 92 IPC_STRUCT_TRAITS_MEMBER(latency_info)
91 IPC_STRUCT_TRAITS_END() 93 IPC_STRUCT_TRAITS_END()
92 94
93 IPC_STRUCT_TRAITS_BEGIN(content::BufferPresentedParams) 95 IPC_STRUCT_TRAITS_BEGIN(content::BufferPresentedParams)
94 // The vsync parameters, to synchronize presentation with the display. 96 // The vsync parameters, to synchronize presentation with the display.
95 IPC_STRUCT_TRAITS_MEMBER(surface_id) 97 IPC_STRUCT_TRAITS_MEMBER(surface_id)
96 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase) 98 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase)
97 IPC_STRUCT_TRAITS_MEMBER(vsync_interval) 99 IPC_STRUCT_TRAITS_MEMBER(vsync_interval)
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // so the browser should stop sending the corresponding information 292 // so the browser should stop sending the corresponding information
291 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, 293 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription,
292 int32_t /* client_id */, 294 int32_t /* client_id */,
293 unsigned int /* target */) 295 unsigned int /* target */)
294 296
295 // Message from GPU to add a GPU log message to the about:gpu page. 297 // Message from GPU to add a GPU log message to the about:gpu page.
296 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, 298 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
297 int /*severity*/, 299 int /*severity*/,
298 std::string /* header */, 300 std::string /* header */,
299 std::string /* message */) 301 std::string /* message */)
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface_overlay_mac.mm ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698