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

Side by Side Diff: cc/test/surface_aggregator_test_helpers.cc

Issue 2503203002: Revert "Getting rid of DelegatedFrameData" (Closed)
Patch Set: 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/test/fake_compositor_frame_sink.cc ('k') | cc/test/surface_hittest_test_helpers.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test/surface_aggregator_test_helpers.h" 5 #include "cc/test/surface_aggregator_test_helpers.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "cc/layers/append_quads_data.h" 11 #include "cc/layers/append_quads_data.h"
12 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
13 #include "cc/output/delegated_frame_data.h"
13 #include "cc/quads/render_pass_draw_quad.h" 14 #include "cc/quads/render_pass_draw_quad.h"
14 #include "cc/quads/shared_quad_state.h" 15 #include "cc/quads/shared_quad_state.h"
15 #include "cc/quads/solid_color_draw_quad.h" 16 #include "cc/quads/solid_color_draw_quad.h"
16 #include "cc/quads/surface_draw_quad.h" 17 #include "cc/quads/surface_draw_quad.h"
17 #include "cc/surfaces/surface.h" 18 #include "cc/surfaces/surface.h"
18 #include "cc/test/render_pass_test_utils.h" 19 #include "cc/test/render_pass_test_utils.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/skia/include/core/SkXfermode.h" 21 #include "third_party/skia/include/core/SkXfermode.h"
21 22
22 namespace cc { 23 namespace cc {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 for (size_t i = 0; i < passes->size(); ++i) { 131 for (size_t i = 0; i < passes->size(); ++i) {
131 SCOPED_TRACE(base::StringPrintf("Pass number %" PRIuS, i)); 132 SCOPED_TRACE(base::StringPrintf("Pass number %" PRIuS, i));
132 RenderPass* pass = (*passes)[i].get(); 133 RenderPass* pass = (*passes)[i].get();
133 TestPassMatchesExpectations(expected_passes[i], pass); 134 TestPassMatchesExpectations(expected_passes[i], pass);
134 } 135 }
135 } 136 }
136 137
137 } // namespace test 138 } // namespace test
138 } // namespace cc 139 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_compositor_frame_sink.cc ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698