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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 <vector> 5 #include <vector>
6 6
7 #include "cc/debug/lap_timer.h" 7 #include "cc/debug/lap_timer.h"
8 #include "cc/playback/draw_image.h" 8 #include "cc/paint/draw_image.h"
9 #include "cc/raster/tile_task.h" 9 #include "cc/raster/tile_task.h"
10 #include "cc/tiles/software_image_decode_cache.h" 10 #include "cc/tiles/software_image_decode_cache.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "testing/perf/perf_test.h" 12 #include "testing/perf/perf_test.h"
13 13
14 namespace cc { 14 namespace cc {
15 namespace { 15 namespace {
16 16
17 static const int kTimeLimitMillis = 2000; 17 static const int kTimeLimitMillis = 2000;
18 static const int kWarmupRuns = 5; 18 static const int kWarmupRuns = 5;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 private: 76 private:
77 LapTimer timer_; 77 LapTimer timer_;
78 }; 78 };
79 79
80 TEST_F(SoftwareImageDecodeCachePerfTest, FromDrawImage) { 80 TEST_F(SoftwareImageDecodeCachePerfTest, FromDrawImage) {
81 RunFromImage(); 81 RunFromImage();
82 } 82 }
83 83
84 } // namespace 84 } // namespace
85 } // namespace cc 85 } // namespace cc
OLDNEW
« no previous file with comments | « cc/tiles/software_image_decode_cache.h ('k') | cc/tiles/software_image_decode_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698