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_IOSURFACE_MAC_H_ | 5 #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_IOSURFACE_MAC_H_ |
6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_IOSURFACE_MAC_H_ | 6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_IOSURFACE_MAC_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "content/common/gpu/image_transport_surface_fbo_mac.h" | 10 #include "content/common/gpu/image_transport_surface_fbo_mac.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 std::list<base::ScopedCFTypeRef<IOSurfaceRef>> pending_swapped_surfaces_; | 45 std::list<base::ScopedCFTypeRef<IOSurfaceRef>> pending_swapped_surfaces_; |
46 | 46 |
47 // The id of |io_surface_| or 0 if that's NULL. | 47 // The id of |io_surface_| or 0 if that's NULL. |
48 IOSurfaceID io_surface_id_; | 48 IOSurfaceID io_surface_id_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(IOSurfaceStorageProvider); | 50 DISALLOW_COPY_AND_ASSIGN(IOSurfaceStorageProvider); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace content | 53 } // namespace content |
54 | 54 |
55 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_MAC_H_ | 55 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_IOSURFACE_MAC_H_ |
OLD | NEW |