OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CALAYER_MAC_H_ | 5 #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_CALAYER_MAC_H_ |
6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_CALAYER_MAC_H_ | 6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_CALAYER_MAC_H_ |
7 | 7 |
8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
9 #include "content/common/gpu/image_transport_surface_fbo_mac.h" | 9 #include "content/common/gpu/image_transport_surface_fbo_mac.h" |
10 #include "ui/base/cocoa/remote_layer_api.h" | 10 #include "ui/base/cocoa/remote_layer_api.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool recreate_layer_after_gpu_switch_; | 92 bool recreate_layer_after_gpu_switch_; |
93 | 93 |
94 // Weak factory against which a timeout task for forcing a draw is created. | 94 // Weak factory against which a timeout task for forcing a draw is created. |
95 base::WeakPtrFactory<CALayerStorageProvider> pending_draw_weak_factory_; | 95 base::WeakPtrFactory<CALayerStorageProvider> pending_draw_weak_factory_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(CALayerStorageProvider); | 97 DISALLOW_COPY_AND_ASSIGN(CALayerStorageProvider); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_CALAYER_MAC_H_ | 102 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_CALAYER_MAC_H_ |
OLD | NEW |