Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 1462613002: Move cc::LayerSettings to cc/layers/layer_settings.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc_perftests Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "cc/layers/picture_layer_impl.h" 5 #include "cc/layers/picture_layer_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "cc/base/math_util.h" 14 #include "cc/base/math_util.h"
15 #include "cc/layers/append_quads_data.h" 15 #include "cc/layers/append_quads_data.h"
16 #include "cc/layers/layer_settings.h"
16 #include "cc/layers/picture_layer.h" 17 #include "cc/layers/picture_layer.h"
17 #include "cc/quads/draw_quad.h" 18 #include "cc/quads/draw_quad.h"
18 #include "cc/quads/tile_draw_quad.h" 19 #include "cc/quads/tile_draw_quad.h"
19 #include "cc/test/begin_frame_args_test.h" 20 #include "cc/test/begin_frame_args_test.h"
20 #include "cc/test/fake_content_layer_client.h" 21 #include "cc/test/fake_content_layer_client.h"
21 #include "cc/test/fake_display_list_raster_source.h" 22 #include "cc/test/fake_display_list_raster_source.h"
22 #include "cc/test/fake_display_list_recording_source.h" 23 #include "cc/test/fake_display_list_recording_source.h"
23 #include "cc/test/fake_impl_task_runner_provider.h" 24 #include "cc/test/fake_impl_task_runner_provider.h"
24 #include "cc/test/fake_layer_tree_host_impl.h" 25 #include "cc/test/fake_layer_tree_host_impl.h"
25 #include "cc/test/fake_output_surface.h" 26 #include "cc/test/fake_output_surface.h"
(...skipping 5015 matching lines...) Expand 10 before | Expand all | Expand 10 after
5041 // New low res tiling. 5042 // New low res tiling.
5042 EXPECT_TRUE(tilings->tiling_at(2)->may_contain_low_resolution_tiles()); 5043 EXPECT_TRUE(tilings->tiling_at(2)->may_contain_low_resolution_tiles());
5043 5044
5044 // This tiling will be high res now, it won't contain low res content since it 5045 // This tiling will be high res now, it won't contain low res content since it
5045 // was all destroyed. 5046 // was all destroyed.
5046 EXPECT_FALSE(tilings->tiling_at(1)->may_contain_low_resolution_tiles()); 5047 EXPECT_FALSE(tilings->tiling_at(1)->may_contain_low_resolution_tiles());
5047 } 5048 }
5048 5049
5049 } // namespace 5050 } // namespace
5050 } // namespace cc 5051 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698