| 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/output/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_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/strings/string_split.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" | |
| 16 #include "cc/compositor_frame_ack.h" | |
| 17 #include "cc/debug_border_draw_quad.h" | 15 #include "cc/debug_border_draw_quad.h" |
| 16 #include "cc/output/compositor_frame.h" |
| 17 #include "cc/output/compositor_frame_ack.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" |
| 24 #include "cc/yuv_video_draw_quad.h" | 24 #include "cc/yuv_video_draw_quad.h" |
| 25 #include "third_party/khronos/GLES2/gl2ext.h" | 25 #include "third_party/khronos/GLES2/gl2ext.h" |
| 26 | 26 |
| 27 using WebKit::WebGraphicsContext3D; | 27 using WebKit::WebGraphicsContext3D; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 void DelegatingRenderer::SetVisible(bool visible) { | 191 void DelegatingRenderer::SetVisible(bool visible) { |
| 192 visible_ = visible; | 192 visible_ = visible; |
| 193 } | 193 } |
| 194 | 194 |
| 195 void DelegatingRenderer::onContextLost() { | 195 void DelegatingRenderer::onContextLost() { |
| 196 client_->DidLoseOutputSurface(); | 196 client_->DidLoseOutputSurface(); |
| 197 } | 197 } |
| 198 | 198 |
| 199 } // namespace cc | 199 } // namespace cc |
| OLD | NEW |