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 #include "cc/delegating_renderer.h" | 5 #include "cc/delegating_renderer.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/debug/trace_event.h" | 11 #include "base/debug/trace_event.h" |
12 #include "base/string_split.h" | |
13 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/strings/string_split.h" |
14 #include "cc/checkerboard_draw_quad.h" | 14 #include "cc/checkerboard_draw_quad.h" |
15 #include "cc/compositor_frame.h" | 15 #include "cc/compositor_frame.h" |
16 #include "cc/compositor_frame_ack.h" | 16 #include "cc/compositor_frame_ack.h" |
17 #include "cc/debug_border_draw_quad.h" | 17 #include "cc/debug_border_draw_quad.h" |
18 #include "cc/render_pass.h" | 18 #include "cc/render_pass.h" |
19 #include "cc/render_pass_draw_quad.h" | 19 #include "cc/render_pass_draw_quad.h" |
20 #include "cc/resource_provider.h" | 20 #include "cc/resource_provider.h" |
21 #include "cc/solid_color_draw_quad.h" | 21 #include "cc/solid_color_draw_quad.h" |
22 #include "cc/texture_draw_quad.h" | 22 #include "cc/texture_draw_quad.h" |
23 #include "cc/tile_draw_quad.h" | 23 #include "cc/tile_draw_quad.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 void DelegatingRenderer::setVisible(bool visible) { | 192 void DelegatingRenderer::setVisible(bool visible) { |
193 visible_ = visible; | 193 visible_ = visible; |
194 } | 194 } |
195 | 195 |
196 void DelegatingRenderer::onContextLost() { | 196 void DelegatingRenderer::onContextLost() { |
197 m_client->didLoseOutputSurface(); | 197 m_client->didLoseOutputSurface(); |
198 } | 198 } |
199 | 199 |
200 } // namespace cc | 200 } // namespace cc |
OLD | NEW |