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

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

Issue 2452483002: Move GpuMemoryBufferManager and SharedBitmapManager to CompositorFrameSink (Closed)
Patch Set: rebase Created 4 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_layer_impl_perftest.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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <limits> 10 #include <limits>
(...skipping 16 matching lines...) Expand all
27 #include "cc/test/fake_layer_tree_host.h" 27 #include "cc/test/fake_layer_tree_host.h"
28 #include "cc/test/fake_layer_tree_host_client.h" 28 #include "cc/test/fake_layer_tree_host_client.h"
29 #include "cc/test/fake_layer_tree_host_impl.h" 29 #include "cc/test/fake_layer_tree_host_impl.h"
30 #include "cc/test/fake_picture_layer_impl.h" 30 #include "cc/test/fake_picture_layer_impl.h"
31 #include "cc/test/fake_raster_source.h" 31 #include "cc/test/fake_raster_source.h"
32 #include "cc/test/fake_recording_source.h" 32 #include "cc/test/fake_recording_source.h"
33 #include "cc/test/geometry_test_utils.h" 33 #include "cc/test/geometry_test_utils.h"
34 #include "cc/test/gpu_rasterization_enabled_settings.h" 34 #include "cc/test/gpu_rasterization_enabled_settings.h"
35 #include "cc/test/layer_test_common.h" 35 #include "cc/test/layer_test_common.h"
36 #include "cc/test/test_layer_tree_host_base.h" 36 #include "cc/test/test_layer_tree_host_base.h"
37 #include "cc/test/test_shared_bitmap_manager.h"
38 #include "cc/test/test_task_graph_runner.h" 37 #include "cc/test/test_task_graph_runner.h"
39 #include "cc/test/test_web_graphics_context_3d.h" 38 #include "cc/test/test_web_graphics_context_3d.h"
40 #include "cc/tiles/tiling_set_raster_queue_all.h" 39 #include "cc/tiles/tiling_set_raster_queue_all.h"
41 #include "cc/tiles/tiling_set_raster_queue_required.h" 40 #include "cc/tiles/tiling_set_raster_queue_required.h"
42 #include "cc/trees/layer_tree_impl.h" 41 #include "cc/trees/layer_tree_impl.h"
43 #include "testing/gtest/include/gtest/gtest.h" 42 #include "testing/gtest/include/gtest/gtest.h"
44 #include "ui/gfx/geometry/rect_conversions.h" 43 #include "ui/gfx/geometry/rect_conversions.h"
45 #include "ui/gfx/geometry/size_conversions.h" 44 #include "ui/gfx/geometry/size_conversions.h"
46 45
47 namespace cc { 46 namespace cc {
(...skipping 4923 matching lines...) Expand 10 before | Expand all | Expand 10 after
4971 EXPECT_FLOAT_EQ(expected_contents_scale, 4970 EXPECT_FLOAT_EQ(expected_contents_scale,
4972 pending_layer_ptr->picture_layer_tiling_set() 4971 pending_layer_ptr->picture_layer_tiling_set()
4973 ->FindTilingWithResolution(HIGH_RESOLUTION) 4972 ->FindTilingWithResolution(HIGH_RESOLUTION)
4974 ->contents_scale()) 4973 ->contents_scale())
4975 << "ideal_contents_scale: " << ideal_contents_scale; 4974 << "ideal_contents_scale: " << ideal_contents_scale;
4976 } 4975 }
4977 } 4976 }
4978 4977
4979 } // namespace 4978 } // namespace
4980 } // namespace cc 4979 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl_perftest.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698