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

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

Issue 1647523002: Mac overlays: Move CALayerPartialDamageTree to its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 5 #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/linked_ptr.h"
12 #import "base/mac/scoped_nsobject.h" 11 #import "base/mac/scoped_nsobject.h"
13 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
14 #include "content/common/gpu/gpu_command_buffer_stub.h" 13 #include "content/common/gpu/gpu_command_buffer_stub.h"
15 #include "content/common/gpu/image_transport_surface.h" 14 #include "content/common/gpu/image_transport_surface.h"
16 #include "ui/gl/gl_surface.h" 15 #include "ui/gl/gl_surface.h"
17 #include "ui/gl/gpu_switching_observer.h" 16 #include "ui/gl/gpu_switching_observer.h"
18 17
19 @class CAContext; 18 @class CAContext;
20 @class CALayer; 19 @class CALayer;
21 20
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 base::TimeTicks vsync_timebase_; 139 base::TimeTicks vsync_timebase_;
141 base::TimeDelta vsync_interval_; 140 base::TimeDelta vsync_interval_;
142 141
143 base::Timer display_pending_swap_timer_; 142 base::Timer display_pending_swap_timer_;
144 base::WeakPtrFactory<ImageTransportSurfaceOverlayMac> weak_factory_; 143 base::WeakPtrFactory<ImageTransportSurfaceOverlayMac> weak_factory_;
145 }; 144 };
146 145
147 } // namespace content 146 } // namespace content
148 147
149 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 148 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
OLDNEW
« no previous file with comments | « content/common/gpu/ca_layer_partial_damage_tree_mac.mm ('k') | content/common/gpu/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698