| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "cc/test/fake_output_surface.h" | 39 #include "cc/test/fake_output_surface.h" |
| 40 #include "cc/test/fake_painted_scrollbar_layer.h" | 40 #include "cc/test/fake_painted_scrollbar_layer.h" |
| 41 #include "cc/test/fake_picture_layer.h" | 41 #include "cc/test/fake_picture_layer.h" |
| 42 #include "cc/test/fake_picture_layer_impl.h" | 42 #include "cc/test/fake_picture_layer_impl.h" |
| 43 #include "cc/test/fake_proxy.h" | 43 #include "cc/test/fake_proxy.h" |
| 44 #include "cc/test/fake_recording_source.h" | 44 #include "cc/test/fake_recording_source.h" |
| 45 #include "cc/test/fake_scoped_ui_resource.h" | 45 #include "cc/test/fake_scoped_ui_resource.h" |
| 46 #include "cc/test/fake_video_frame_provider.h" | 46 #include "cc/test/fake_video_frame_provider.h" |
| 47 #include "cc/test/geometry_test_utils.h" | 47 #include "cc/test/geometry_test_utils.h" |
| 48 #include "cc/test/layer_tree_test.h" | 48 #include "cc/test/layer_tree_test.h" |
| 49 #include "cc/test/skia_common.h" |
| 49 #include "cc/test/test_shared_bitmap_manager.h" | 50 #include "cc/test/test_shared_bitmap_manager.h" |
| 50 #include "cc/test/test_web_graphics_context_3d.h" | 51 #include "cc/test/test_web_graphics_context_3d.h" |
| 51 #include "cc/trees/layer_tree_host_impl.h" | 52 #include "cc/trees/layer_tree_host_impl.h" |
| 52 #include "cc/trees/layer_tree_impl.h" | 53 #include "cc/trees/layer_tree_impl.h" |
| 53 #include "cc/trees/single_thread_proxy.h" | 54 #include "cc/trees/single_thread_proxy.h" |
| 54 #include "gpu/GLES2/gl2extchromium.h" | 55 #include "gpu/GLES2/gl2extchromium.h" |
| 55 #include "testing/gmock/include/gmock/gmock.h" | 56 #include "testing/gmock/include/gmock/gmock.h" |
| 56 #include "third_party/khronos/GLES2/gl2.h" | 57 #include "third_party/khronos/GLES2/gl2.h" |
| 57 #include "third_party/khronos/GLES2/gl2ext.h" | 58 #include "third_party/khronos/GLES2/gl2ext.h" |
| 58 #include "third_party/skia/include/core/SkPicture.h" | 59 #include "third_party/skia/include/core/SkPicture.h" |
| 60 #include "third_party/skia/include/gpu/GrContext.h" |
| 59 #include "ui/gfx/geometry/point_conversions.h" | 61 #include "ui/gfx/geometry/point_conversions.h" |
| 60 #include "ui/gfx/geometry/size_conversions.h" | 62 #include "ui/gfx/geometry/size_conversions.h" |
| 61 #include "ui/gfx/geometry/vector2d_conversions.h" | 63 #include "ui/gfx/geometry/vector2d_conversions.h" |
| 62 | 64 |
| 63 using testing::_; | 65 using testing::_; |
| 64 using testing::AnyNumber; | 66 using testing::AnyNumber; |
| 65 using testing::AtLeast; | 67 using testing::AtLeast; |
| 66 using testing::Mock; | 68 using testing::Mock; |
| 67 | 69 |
| 68 namespace cc { | 70 namespace cc { |
| (...skipping 6525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6594 EndTest(); | 6596 EndTest(); |
| 6595 } | 6597 } |
| 6596 | 6598 |
| 6597 void AfterTest() override {} | 6599 void AfterTest() override {} |
| 6598 }; | 6600 }; |
| 6599 | 6601 |
| 6600 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostTestPaintedDeviceScaleFactor); | 6602 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostTestPaintedDeviceScaleFactor); |
| 6601 | 6603 |
| 6602 } // namespace | 6604 } // namespace |
| 6603 } // namespace cc | 6605 } // namespace cc |
| OLD | NEW |