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

Side by Side Diff: cc/test/compositor_frame_helpers.h

Issue 2855723002: Don't submit frames with no render passes in cc tests (Closed)
Patch Set: c Created 3 years, 7 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/surfaces/surface_manager.cc ('k') | cc/test/compositor_frame_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 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 #ifndef CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ 5 #ifndef CC_TEST_COMPOSITOR_FRAME_HELPERS_H_
6 #define CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ 6 #define CC_TEST_COMPOSITOR_FRAME_HELPERS_H_
7 7
8 namespace cc { 8 namespace cc {
9 9
10 class CompositorFrame; 10 class CompositorFrame;
11 11
12 namespace test { 12 namespace test {
13 13
14 // Creates a valid CompositorFrame.
14 CompositorFrame MakeCompositorFrame(); 15 CompositorFrame MakeCompositorFrame();
15 16
17 // Creates a CompositorFrame that will be valid once its render_pass_list is
18 // initialized.
19 CompositorFrame MakeEmptyCompositorFrame();
20
16 } // namespace test 21 } // namespace test
17 } // namespace cc 22 } // namespace cc
18 23
19 #endif // CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ 24 #endif // CC_TEST_COMPOSITOR_FRAME_HELPERS_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surface_manager.cc ('k') | cc/test/compositor_frame_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698