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

Side by Side Diff: cc/tiles/picture_layer_tiling_unittest.cc

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 3 months 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/test/test_in_process_context_provider.h ('k') | cc/tiles/tile.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/tiles/picture_layer_tiling.h" 5 #include "cc/tiles/picture_layer_tiling.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <set> 10 #include <set>
11 11
12 #include "base/bind.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
14 #include "cc/base/math_util.h" 15 #include "cc/base/math_util.h"
15 #include "cc/test/fake_output_surface.h" 16 #include "cc/test/fake_output_surface.h"
16 #include "cc/test/fake_output_surface_client.h" 17 #include "cc/test/fake_output_surface_client.h"
17 #include "cc/test/fake_picture_layer_tiling_client.h" 18 #include "cc/test/fake_picture_layer_tiling_client.h"
18 #include "cc/test/fake_raster_source.h" 19 #include "cc/test/fake_raster_source.h"
19 #include "cc/test/test_context_provider.h" 20 #include "cc/test/test_context_provider.h"
20 #include "cc/test/test_shared_bitmap_manager.h" 21 #include "cc/test/test_shared_bitmap_manager.h"
21 #include "cc/tiles/picture_layer_tiling_set.h" 22 #include "cc/tiles/picture_layer_tiling_set.h"
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale, 986 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale,
986 raster_source, &client_, 987 raster_source, &client_,
987 LayerTreeSettings()); 988 LayerTreeSettings());
988 989
989 gfx::Rect content_rect(25554432, 25554432, 950, 860); 990 gfx::Rect content_rect(25554432, 25554432, 950, 860);
990 VerifyTilesExactlyCoverRect(contents_scale, content_rect); 991 VerifyTilesExactlyCoverRect(contents_scale, content_rect);
991 } 992 }
992 993
993 } // namespace 994 } // namespace
994 } // namespace cc 995 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_in_process_context_provider.h ('k') | cc/tiles/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698