| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 void DidLoseCompositorFrameSink(); | 122 void DidLoseCompositorFrameSink(); |
| 123 | 123 |
| 124 CompositorFrameSinkClient* client_ = nullptr; | 124 CompositorFrameSinkClient* client_ = nullptr; |
| 125 | 125 |
| 126 struct CompositorFrameSink::Capabilities capabilities_; | 126 struct CompositorFrameSink::Capabilities capabilities_; |
| 127 scoped_refptr<ContextProvider> context_provider_; | 127 scoped_refptr<ContextProvider> context_provider_; |
| 128 scoped_refptr<ContextProvider> worker_context_provider_; | 128 scoped_refptr<ContextProvider> worker_context_provider_; |
| 129 scoped_refptr<VulkanContextProvider> vulkan_context_provider_; | 129 scoped_refptr<VulkanContextProvider> vulkan_context_provider_; |
| 130 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 130 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
| 131 SharedBitmapManager* shared_bitmap_manager_; | 131 SharedBitmapManager* shared_bitmap_manager_; |
| 132 base::ThreadChecker client_thread_checker_; | |
| 133 | 132 |
| 134 private: | 133 private: |
| 135 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSink); | 134 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSink); |
| 136 }; | 135 }; |
| 137 | 136 |
| 138 } // namespace cc | 137 } // namespace cc |
| 139 | 138 |
| 140 #endif // CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ | 139 #endif // CC_OUTPUT_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |