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

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

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "cc/trees/layer_tree_impl.h" 46 #include "cc/trees/layer_tree_impl.h"
47 #include "cc/trees/single_thread_proxy.h" 47 #include "cc/trees/single_thread_proxy.h"
48 #include "cc/trees/thread_proxy.h" 48 #include "cc/trees/thread_proxy.h"
49 #include "gpu/GLES2/gl2extchromium.h" 49 #include "gpu/GLES2/gl2extchromium.h"
50 #include "skia/ext/refptr.h" 50 #include "skia/ext/refptr.h"
51 #include "testing/gmock/include/gmock/gmock.h" 51 #include "testing/gmock/include/gmock/gmock.h"
52 #include "third_party/khronos/GLES2/gl2.h" 52 #include "third_party/khronos/GLES2/gl2.h"
53 #include "third_party/khronos/GLES2/gl2ext.h" 53 #include "third_party/khronos/GLES2/gl2ext.h"
54 #include "third_party/skia/include/core/SkPicture.h" 54 #include "third_party/skia/include/core/SkPicture.h"
55 #include "ui/gfx/frame_time.h" 55 #include "ui/gfx/frame_time.h"
56 #include "ui/gfx/point_conversions.h" 56 #include "ui/gfx/geometry/point_conversions.h"
57 #include "ui/gfx/size_conversions.h" 57 #include "ui/gfx/geometry/size_conversions.h"
58 #include "ui/gfx/vector2d_conversions.h" 58 #include "ui/gfx/geometry/vector2d_conversions.h"
59 59
60 using testing::_; 60 using testing::_;
61 using testing::AnyNumber; 61 using testing::AnyNumber;
62 using testing::AtLeast; 62 using testing::AtLeast;
63 using testing::Mock; 63 using testing::Mock;
64 64
65 namespace cc { 65 namespace cc {
66 namespace { 66 namespace {
67 67
68 class LayerTreeHostTest : public LayerTreeTest {}; 68 class LayerTreeHostTest : public LayerTreeTest {};
(...skipping 5053 matching lines...) Expand 10 before | Expand all | Expand 10 after
5122 } 5122 }
5123 5123
5124 int commit_count_; 5124 int commit_count_;
5125 TestSwapPromiseResult swap_promise_result_[3]; 5125 TestSwapPromiseResult swap_promise_result_[3];
5126 }; 5126 };
5127 5127
5128 // Impl-side painting is not supported for synchronous compositing. 5128 // Impl-side painting is not supported for synchronous compositing.
5129 SINGLE_THREAD_NOIMPL_TEST_F(LayerTreeHostTestSynchronousCompositeSwapPromise); 5129 SINGLE_THREAD_NOIMPL_TEST_F(LayerTreeHostTestSynchronousCompositeSwapPromise);
5130 5130
5131 } // namespace cc 5131 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_readback.cc ('k') | cc/trees/layer_tree_host_unittest_scroll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698