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

Side by Side Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 683863003: Remove some of the instrumentation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with latest Created 6 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/resources/zero_copy_raster_worker_pool.cc ('k') | cc/trees/tree_synchronizer_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 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_impl.h" 5 #include "cc/trees/layer_tree_host_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 29 matching lines...) Expand all
40 #include "cc/quads/tile_draw_quad.h" 40 #include "cc/quads/tile_draw_quad.h"
41 #include "cc/resources/layer_tiling_data.h" 41 #include "cc/resources/layer_tiling_data.h"
42 #include "cc/test/animation_test_common.h" 42 #include "cc/test/animation_test_common.h"
43 #include "cc/test/begin_frame_args_test.h" 43 #include "cc/test/begin_frame_args_test.h"
44 #include "cc/test/fake_layer_tree_host_impl.h" 44 #include "cc/test/fake_layer_tree_host_impl.h"
45 #include "cc/test/fake_output_surface.h" 45 #include "cc/test/fake_output_surface.h"
46 #include "cc/test/fake_output_surface_client.h" 46 #include "cc/test/fake_output_surface_client.h"
47 #include "cc/test/fake_picture_layer_impl.h" 47 #include "cc/test/fake_picture_layer_impl.h"
48 #include "cc/test/fake_picture_pile_impl.h" 48 #include "cc/test/fake_picture_pile_impl.h"
49 #include "cc/test/fake_proxy.h" 49 #include "cc/test/fake_proxy.h"
50 #include "cc/test/fake_rendering_stats_instrumentation.h"
51 #include "cc/test/fake_video_frame_provider.h" 50 #include "cc/test/fake_video_frame_provider.h"
52 #include "cc/test/geometry_test_utils.h" 51 #include "cc/test/geometry_test_utils.h"
53 #include "cc/test/layer_test_common.h" 52 #include "cc/test/layer_test_common.h"
54 #include "cc/test/render_pass_test_common.h" 53 #include "cc/test/render_pass_test_common.h"
55 #include "cc/test/test_gpu_memory_buffer_manager.h" 54 #include "cc/test/test_gpu_memory_buffer_manager.h"
56 #include "cc/test/test_shared_bitmap_manager.h" 55 #include "cc/test/test_shared_bitmap_manager.h"
57 #include "cc/test/test_web_graphics_context_3d.h" 56 #include "cc/test/test_web_graphics_context_3d.h"
58 #include "cc/trees/layer_tree_impl.h" 57 #include "cc/trees/layer_tree_impl.h"
59 #include "cc/trees/single_thread_proxy.h" 58 #include "cc/trees/single_thread_proxy.h"
60 #include "media/base/media.h" 59 #include "media/base/media.h"
(...skipping 7486 matching lines...) Expand 10 before | Expand all | Expand 10 after
7547 // surface. 7546 // surface.
7548 EXPECT_EQ(0, num_lost_surfaces_); 7547 EXPECT_EQ(0, num_lost_surfaces_);
7549 host_impl_->DidLoseOutputSurface(); 7548 host_impl_->DidLoseOutputSurface();
7550 EXPECT_EQ(1, num_lost_surfaces_); 7549 EXPECT_EQ(1, num_lost_surfaces_);
7551 host_impl_->DidLoseOutputSurface(); 7550 host_impl_->DidLoseOutputSurface();
7552 EXPECT_LE(1, num_lost_surfaces_); 7551 EXPECT_LE(1, num_lost_surfaces_);
7553 } 7552 }
7554 7553
7555 } // namespace 7554 } // namespace
7556 } // namespace cc 7555 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/zero_copy_raster_worker_pool.cc ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698