| OLD | NEW |
| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #import "base/mac/scoped_nsobject.h" | 11 #import "base/mac/scoped_nsobject.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "gpu/ipc/service/gpu_command_buffer_stub.h" | 13 #include "gpu/ipc/service/gpu_command_buffer_stub.h" |
| 14 #include "gpu/ipc/service/image_transport_surface.h" | 14 #include "gpu/ipc/service/image_transport_surface.h" |
| 15 #include "ui/base/cocoa/remote_layer_api.h" | 15 #include "ui/base/cocoa/remote_layer_api.h" |
| 16 #include "ui/events/latency_info.h" |
| 16 #include "ui/gl/gl_surface.h" | 17 #include "ui/gl/gl_surface.h" |
| 17 #include "ui/gl/gpu_switching_observer.h" | 18 #include "ui/gl/gpu_switching_observer.h" |
| 18 #include "ui/latency_info/latency_info.h" | |
| 19 | 19 |
| 20 @class CAContext; | 20 @class CAContext; |
| 21 @class CALayer; | 21 @class CALayer; |
| 22 | 22 |
| 23 namespace gpu { | 23 namespace gpu { |
| 24 | 24 |
| 25 class CALayerTree; | 25 class CALayerTree; |
| 26 class CALayerPartialDamageTree; | 26 class CALayerPartialDamageTree; |
| 27 | 27 |
| 28 class ImageTransportSurfaceOverlayMac : public gfx::GLSurface, | 28 class ImageTransportSurfaceOverlayMac : public gfx::GLSurface, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 // The vsync information provided by the browser. | 109 // The vsync information provided by the browser. |
| 110 bool vsync_parameters_valid_; | 110 bool vsync_parameters_valid_; |
| 111 base::TimeTicks vsync_timebase_; | 111 base::TimeTicks vsync_timebase_; |
| 112 base::TimeDelta vsync_interval_; | 112 base::TimeDelta vsync_interval_; |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace gpu | 115 } // namespace gpu |
| 116 | 116 |
| 117 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ | 117 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ |
| OLD | NEW |