OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> |
| 6 |
5 #include "cc/layers/append_quads_data.h" | 7 #include "cc/layers/append_quads_data.h" |
6 #include "cc/layers/heads_up_display_layer_impl.h" | 8 #include "cc/layers/heads_up_display_layer_impl.h" |
7 #include "cc/test/fake_impl_task_runner_provider.h" | 9 #include "cc/test/fake_impl_task_runner_provider.h" |
8 #include "cc/test/fake_layer_tree_host_impl.h" | 10 #include "cc/test/fake_layer_tree_host_impl.h" |
9 #include "cc/test/fake_output_surface.h" | 11 #include "cc/test/fake_output_surface.h" |
10 #include "cc/test/test_shared_bitmap_manager.h" | 12 #include "cc/test/test_shared_bitmap_manager.h" |
11 #include "cc/test/test_task_graph_runner.h" | 13 #include "cc/test/test_task_graph_runner.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 layer->ReleaseResources(); | 54 layer->ReleaseResources(); |
53 | 55 |
54 // Should skip resourceless software draw and not crash in UpdateHudTexture. | 56 // Should skip resourceless software draw and not crash in UpdateHudTexture. |
55 CheckDrawLayer(layer.get(), | 57 CheckDrawLayer(layer.get(), |
56 host_impl.resource_provider(), | 58 host_impl.resource_provider(), |
57 DRAW_MODE_RESOURCELESS_SOFTWARE); | 59 DRAW_MODE_RESOURCELESS_SOFTWARE); |
58 } | 60 } |
59 | 61 |
60 } // namespace | 62 } // namespace |
61 } // namespace cc | 63 } // namespace cc |
OLD | NEW |