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/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "cc/animation/timing_function.h" | 10 #include "cc/animation/timing_function.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "cc/test/geometry_test_utils.h" | 29 #include "cc/test/geometry_test_utils.h" |
30 #include "cc/test/layer_tree_test.h" | 30 #include "cc/test/layer_tree_test.h" |
31 #include "cc/test/occlusion_tracker_test_common.h" | 31 #include "cc/test/occlusion_tracker_test_common.h" |
32 #include "cc/trees/layer_tree_host_impl.h" | 32 #include "cc/trees/layer_tree_host_impl.h" |
33 #include "cc/trees/layer_tree_impl.h" | 33 #include "cc/trees/layer_tree_impl.h" |
34 #include "cc/trees/single_thread_proxy.h" | 34 #include "cc/trees/single_thread_proxy.h" |
35 #include "cc/trees/thread_proxy.h" | 35 #include "cc/trees/thread_proxy.h" |
36 #include "gpu/GLES2/gl2extchromium.h" | 36 #include "gpu/GLES2/gl2extchromium.h" |
37 #include "skia/ext/refptr.h" | 37 #include "skia/ext/refptr.h" |
38 #include "testing/gmock/include/gmock/gmock.h" | 38 #include "testing/gmock/include/gmock/gmock.h" |
39 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 39 #include "third_party/WebKit/public/platform/WebSize.h" |
40 #include "third_party/khronos/GLES2/gl2.h" | 40 #include "third_party/khronos/GLES2/gl2.h" |
41 #include "third_party/khronos/GLES2/gl2ext.h" | 41 #include "third_party/khronos/GLES2/gl2ext.h" |
42 #include "third_party/skia/include/core/SkPicture.h" | 42 #include "third_party/skia/include/core/SkPicture.h" |
43 #include "ui/gfx/point_conversions.h" | 43 #include "ui/gfx/point_conversions.h" |
44 #include "ui/gfx/size_conversions.h" | 44 #include "ui/gfx/size_conversions.h" |
45 #include "ui/gfx/vector2d_conversions.h" | 45 #include "ui/gfx/vector2d_conversions.h" |
46 | 46 |
47 using testing::_; | 47 using testing::_; |
48 using testing::AnyNumber; | 48 using testing::AnyNumber; |
49 using testing::AtLeast; | 49 using testing::AtLeast; |
(...skipping 2833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2883 TEST_F(LayerTreeHostTestNumFramesPending, DelegatingRenderer) { | 2883 TEST_F(LayerTreeHostTestNumFramesPending, DelegatingRenderer) { |
2884 RunTest(true, true, true); | 2884 RunTest(true, true, true); |
2885 } | 2885 } |
2886 | 2886 |
2887 TEST_F(LayerTreeHostTestNumFramesPending, GLRenderer) { | 2887 TEST_F(LayerTreeHostTestNumFramesPending, GLRenderer) { |
2888 RunTest(true, false, true); | 2888 RunTest(true, false, true); |
2889 } | 2889 } |
2890 | 2890 |
2891 } // namespace | 2891 } // namespace |
2892 } // namespace cc | 2892 } // namespace cc |
OLD | NEW |