OLD | NEW |
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 #include "content/browser/compositor/offscreen_browser_compositor_output_surface
.h" | 5 #include "content/browser/compositor/offscreen_browser_compositor_output_surface
.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" |
8 #include "cc/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
9 #include "cc/output/compositor_frame_ack.h" | 10 #include "cc/output/compositor_frame_ack.h" |
10 #include "cc/output/gl_frame_data.h" | 11 #include "cc/output/gl_frame_data.h" |
11 #include "cc/output/output_surface_client.h" | 12 #include "cc/output/output_surface_client.h" |
12 #include "cc/resources/resource_provider.h" | 13 #include "cc/resources/resource_provider.h" |
13 #include "content/browser/compositor/browser_compositor_overlay_candidate_valida
tor.h" | 14 #include "content/browser/compositor/browser_compositor_overlay_candidate_valida
tor.h" |
14 #include "content/browser/compositor/reflector_impl.h" | 15 #include "content/browser/compositor/reflector_impl.h" |
15 #include "content/browser/compositor/reflector_texture.h" | 16 #include "content/browser/compositor/reflector_texture.h" |
16 #include "content/common/gpu/client/context_provider_command_buffer.h" | 17 #include "content/common/gpu/client/context_provider_command_buffer.h" |
17 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 #if defined(OS_MACOSX) | 164 #if defined(OS_MACOSX) |
164 | 165 |
165 bool OffscreenBrowserCompositorOutputSurface:: | 166 bool OffscreenBrowserCompositorOutputSurface:: |
166 SurfaceShouldNotShowFramesAfterSuspendForRecycle() const { | 167 SurfaceShouldNotShowFramesAfterSuspendForRecycle() const { |
167 return true; | 168 return true; |
168 } | 169 } |
169 | 170 |
170 #endif | 171 #endif |
171 | 172 |
172 } // namespace content | 173 } // namespace content |
OLD | NEW |