| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/trees/layer_tree_host_impl.h" | 5 #include "cc/trees/layer_tree_host_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "cc/base/math_util.h" | 12 #include "cc/base/math_util.h" |
| 13 #include "cc/input/top_controls_manager.h" | 13 #include "cc/input/top_controls_manager.h" |
| 14 #include "cc/layers/delegated_renderer_layer_impl.h" | 14 #include "cc/layers/delegated_renderer_layer_impl.h" |
| 15 #include "cc/layers/heads_up_display_layer_impl.h" | 15 #include "cc/layers/heads_up_display_layer_impl.h" |
| 16 #include "cc/layers/io_surface_layer_impl.h" | 16 #include "cc/layers/io_surface_layer_impl.h" |
| 17 #include "cc/layers/layer_impl.h" | 17 #include "cc/layers/layer_impl.h" |
| 18 #include "cc/layers/quad_sink.h" | 18 #include "cc/layers/quad_sink.h" |
| 19 #include "cc/layers/render_surface_impl.h" | 19 #include "cc/layers/render_surface_impl.h" |
| 20 #include "cc/layers/scrollbar_layer_impl.h" | 20 #include "cc/layers/scrollbar_layer_impl.h" |
| 21 #include "cc/layers/solid_color_layer_impl.h" | 21 #include "cc/layers/solid_color_layer_impl.h" |
| (...skipping 5851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5873 EXPECT_FALSE(did_try_initialize_renderer_); | 5873 EXPECT_FALSE(did_try_initialize_renderer_); |
| 5874 host_impl_->DeferredInitialize(scoped_refptr<ContextProvider>()); | 5874 host_impl_->DeferredInitialize(scoped_refptr<ContextProvider>()); |
| 5875 EXPECT_TRUE(did_try_initialize_renderer_); | 5875 EXPECT_TRUE(did_try_initialize_renderer_); |
| 5876 | 5876 |
| 5877 // Defer intialized GL draw. | 5877 // Defer intialized GL draw. |
| 5878 DrawFrame(); | 5878 DrawFrame(); |
| 5879 } | 5879 } |
| 5880 | 5880 |
| 5881 } // namespace | 5881 } // namespace |
| 5882 } // namespace cc | 5882 } // namespace cc |
| OLD | NEW |