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_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/non_thread_safe.h" | 9 #include "base/threading/non_thread_safe.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 BrowserCompositorOutputSurface( | 83 BrowserCompositorOutputSurface( |
84 const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider, | 84 const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider, |
85 const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, | 85 const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, |
86 cc::SyntheticBeginFrameSource* begin_frame_source); | 86 cc::SyntheticBeginFrameSource* begin_frame_source); |
87 | 87 |
88 scoped_refptr<ui::CompositorVSyncManager> vsync_manager_; | 88 scoped_refptr<ui::CompositorVSyncManager> vsync_manager_; |
89 cc::SyntheticBeginFrameSource* synthetic_begin_frame_source_; | 89 cc::SyntheticBeginFrameSource* synthetic_begin_frame_source_; |
90 ReflectorImpl* reflector_; | 90 ReflectorImpl* reflector_; |
91 | 91 |
92 private: | 92 private: |
93 void Initialize(); | |
94 | |
95 std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator> | 93 std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator> |
96 overlay_candidate_validator_; | 94 overlay_candidate_validator_; |
97 | 95 |
98 DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOutputSurface); | 96 DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOutputSurface); |
99 }; | 97 }; |
100 | 98 |
101 } // namespace content | 99 } // namespace content |
102 | 100 |
103 #endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 101 #endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
OLD | NEW |