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

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

Issue 1711533002: Decouple browser-specific GPU IPC messages from GPU service IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed another Windows Build issue Created 4 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_GPU_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
6 #define CONTENT_COMMON_GPU_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
7
8 #include "ui/base/cocoa/remote_layer_api.h"
9 #include "ui/events/latency_info.h"
10 #include "ui/gfx/mac/io_surface.h"
11
12 namespace content {
13
14 struct AcceleratedSurfaceBuffersSwappedParams {
15 AcceleratedSurfaceBuffersSwappedParams();
16 ~AcceleratedSurfaceBuffersSwappedParams();
17
18 int32_t surface_id;
19 CAContextID ca_context_id;
20 gfx::ScopedRefCountedIOSurfaceMachPort io_surface;
21 int32_t route_id;
22 gfx::Size size;
23 float scale_factor;
24 std::vector<ui::LatencyInfo> latency_info;
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_COMMON_GPU_ACCELERATED_SURFACE_BUFFERS_SWAPPED_PARAMS_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698