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

Side by Side Diff: gpu/ipc/service/image_transport_surface_overlay_mac.h

Issue 1898033003: Revert https://codereview.chromium.org/1871233002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 5 #ifndef GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #import "base/mac/scoped_nsobject.h" 12 #import "base/mac/scoped_nsobject.h"
13 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
14 #include "gpu/ipc/service/gpu_command_buffer_stub.h" 14 #include "gpu/ipc/service/gpu_command_buffer_stub.h"
15 #include "gpu/ipc/service/image_transport_surface.h" 15 #include "gpu/ipc/service/image_transport_surface.h"
16 #include "ui/base/cocoa/remote_layer_api.h" 16 #include "ui/base/cocoa/remote_layer_api.h"
17 #include "ui/events/latency_info.h"
17 #include "ui/gl/gl_surface.h" 18 #include "ui/gl/gl_surface.h"
18 #include "ui/gl/gpu_switching_observer.h" 19 #include "ui/gl/gpu_switching_observer.h"
19 #include "ui/latency_info/latency_info.h"
20 20
21 @class CAContext; 21 @class CAContext;
22 @class CALayer; 22 @class CALayer;
23 23
24 namespace gpu { 24 namespace gpu {
25 25
26 class CALayerTree; 26 class CALayerTree;
27 class CALayerPartialDamageTree; 27 class CALayerPartialDamageTree;
28 28
29 class ImageTransportSurfaceOverlayMac : public gfx::GLSurface, 29 class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // The vsync information provided by the browser. 110 // The vsync information provided by the browser.
111 bool vsync_parameters_valid_; 111 bool vsync_parameters_valid_;
112 base::TimeTicks vsync_timebase_; 112 base::TimeTicks vsync_timebase_;
113 base::TimeDelta vsync_interval_; 113 base::TimeDelta vsync_interval_;
114 }; 114 };
115 115
116 } // namespace gpu 116 } // namespace gpu
117 117
118 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 118 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_command_buffer_stub.h ('k') | gpu/ipc/service/pass_through_image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698