| 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.h" | 5 #include "cc/trees/layer_tree_host.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "cc/trees/layer_tree_impl.h" | 48 #include "cc/trees/layer_tree_impl.h" |
| 49 #include "cc/trees/single_thread_proxy.h" | 49 #include "cc/trees/single_thread_proxy.h" |
| 50 #include "cc/trees/thread_proxy.h" | 50 #include "cc/trees/thread_proxy.h" |
| 51 #include "gpu/GLES2/gl2extchromium.h" | 51 #include "gpu/GLES2/gl2extchromium.h" |
| 52 #include "skia/ext/refptr.h" | 52 #include "skia/ext/refptr.h" |
| 53 #include "testing/gmock/include/gmock/gmock.h" | 53 #include "testing/gmock/include/gmock/gmock.h" |
| 54 #include "third_party/khronos/GLES2/gl2.h" | 54 #include "third_party/khronos/GLES2/gl2.h" |
| 55 #include "third_party/khronos/GLES2/gl2ext.h" | 55 #include "third_party/khronos/GLES2/gl2ext.h" |
| 56 #include "third_party/skia/include/core/SkPicture.h" | 56 #include "third_party/skia/include/core/SkPicture.h" |
| 57 #include "ui/gfx/frame_time.h" | 57 #include "ui/gfx/frame_time.h" |
| 58 #include "ui/gfx/point_conversions.h" | 58 #include "ui/gfx/geometry/point_conversions.h" |
| 59 #include "ui/gfx/size_conversions.h" | 59 #include "ui/gfx/geometry/size_conversions.h" |
| 60 #include "ui/gfx/vector2d_conversions.h" | 60 #include "ui/gfx/geometry/vector2d_conversions.h" |
| 61 | 61 |
| 62 using testing::_; | 62 using testing::_; |
| 63 using testing::AnyNumber; | 63 using testing::AnyNumber; |
| 64 using testing::AtLeast; | 64 using testing::AtLeast; |
| 65 using testing::Mock; | 65 using testing::Mock; |
| 66 | 66 |
| 67 namespace cc { | 67 namespace cc { |
| 68 namespace { | 68 namespace { |
| 69 | 69 |
| 70 class LayerTreeHostTest : public LayerTreeTest {}; | 70 class LayerTreeHostTest : public LayerTreeTest {}; |
| (...skipping 5075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5146 } | 5146 } |
| 5147 | 5147 |
| 5148 int commit_count_; | 5148 int commit_count_; |
| 5149 TestSwapPromiseResult swap_promise_result_[3]; | 5149 TestSwapPromiseResult swap_promise_result_[3]; |
| 5150 }; | 5150 }; |
| 5151 | 5151 |
| 5152 // Impl-side painting is not supported for synchronous compositing. | 5152 // Impl-side painting is not supported for synchronous compositing. |
| 5153 SINGLE_THREAD_NOIMPL_TEST_F(LayerTreeHostTestSynchronousCompositeSwapPromise); | 5153 SINGLE_THREAD_NOIMPL_TEST_F(LayerTreeHostTestSynchronousCompositeSwapPromise); |
| 5154 | 5154 |
| 5155 } // namespace cc | 5155 } // namespace cc |
| OLD | NEW |