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

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

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/gpu_host_messages.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 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 #ifndef CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_ 5 #ifndef CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
6 #define CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_ 6 #define CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
7 7
8 #include "gpu/ipc/common/surface_handle.h" 8 #include "gpu/ipc/common/surface_handle.h"
9 #include "ui/base/cocoa/remote_layer_api.h" 9 #include "ui/base/cocoa/remote_layer_api.h"
10 #include "ui/events/latency_info.h"
11 #include "ui/gfx/mac/io_surface.h" 10 #include "ui/gfx/mac/io_surface.h"
11 #include "ui/latency_info/latency_info.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 struct AcceleratedSurfaceBuffersSwappedParams { 15 struct AcceleratedSurfaceBuffersSwappedParams {
16 AcceleratedSurfaceBuffersSwappedParams(); 16 AcceleratedSurfaceBuffersSwappedParams();
17 ~AcceleratedSurfaceBuffersSwappedParams(); 17 ~AcceleratedSurfaceBuffersSwappedParams();
18 18
19 gpu::SurfaceHandle surface_handle; 19 gpu::SurfaceHandle surface_handle;
20 CAContextID ca_context_id; 20 CAContextID ca_context_id;
21 bool fullscreen_low_power_ca_context_valid; 21 bool fullscreen_low_power_ca_context_valid;
22 CAContextID fullscreen_low_power_ca_context_id; 22 CAContextID fullscreen_low_power_ca_context_id;
23 gfx::ScopedRefCountedIOSurfaceMachPort io_surface; 23 gfx::ScopedRefCountedIOSurfaceMachPort io_surface;
24 gfx::Size size; 24 gfx::Size size;
25 float scale_factor; 25 float scale_factor;
26 std::vector<ui::LatencyInfo> latency_info; 26 std::vector<ui::LatencyInfo> latency_info;
27 }; 27 };
28 28
29 } // namespace content 29 } // namespace content
30 30
31 #endif // CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_ 31 #endif // CONTENT_COMMON_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698