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

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

Issue 1918723002: Mac fullscreen low power: Plumb through to AcceleratedWidgetMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumb
Patch Set: Fix widget test Created 4 years, 7 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IPC_STRUCT_TRAITS_MEMBER(preempts) 77 IPC_STRUCT_TRAITS_MEMBER(preempts)
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_handle) 84 IPC_STRUCT_TRAITS_MEMBER(surface_handle)
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(fullscreen_low_power_ca_context_valid)
88 IPC_STRUCT_TRAITS_MEMBER(fullscreen_low_power_ca_context_id)
87 IPC_STRUCT_TRAITS_MEMBER(io_surface) 89 IPC_STRUCT_TRAITS_MEMBER(io_surface)
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_handle) 97 IPC_STRUCT_TRAITS_MEMBER(surface_handle)
96 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase) 98 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase)
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 283
282 // Tells the browser about GPU memory usage statistics for UMA logging. 284 // Tells the browser about GPU memory usage statistics for UMA logging.
283 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, 285 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats,
284 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) 286 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */)
285 287
286 // Message from GPU to add a GPU log message to the about:gpu page. 288 // Message from GPU to add a GPU log message to the about:gpu page.
287 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, 289 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
288 int /*severity*/, 290 int /*severity*/,
289 std::string /* header */, 291 std::string /* header */,
290 std::string /* message */) 292 std::string /* message */)
OLDNEW
« no previous file with comments | « content/common/accelerated_surface_buffers_swapped_params_mac.h ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698