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

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

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/test/layer_tree_json_parser.cc ('k') | cc/test/layer_tree_pixel_test.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LAYER_TREE_PIXEL_TEST_H_ 5 #ifndef CC_TEST_LAYER_TREE_PIXEL_TEST_H_
6 #define CC_TEST_LAYER_TREE_PIXEL_TEST_H_ 6 #define CC_TEST_LAYER_TREE_PIXEL_TEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 23 matching lines...) Expand all
34 enum PixelTestType { 34 enum PixelTestType {
35 PIXEL_TEST_GL, 35 PIXEL_TEST_GL,
36 PIXEL_TEST_SOFTWARE, 36 PIXEL_TEST_SOFTWARE,
37 }; 37 };
38 38
39 protected: 39 protected:
40 LayerTreePixelTest(); 40 LayerTreePixelTest();
41 ~LayerTreePixelTest() override; 41 ~LayerTreePixelTest() override;
42 42
43 scoped_ptr<OutputSurface> CreateOutputSurface() override; 43 scoped_ptr<OutputSurface> CreateOutputSurface() override;
44 void WillActivateTreeOnThread(LayerTreeHostImpl* impl) override; 44 void CommitCompleteOnThread(LayerTreeHostImpl* impl) override;
45 45
46 virtual scoped_ptr<CopyOutputRequest> CreateCopyOutputRequest(); 46 virtual scoped_ptr<CopyOutputRequest> CreateCopyOutputRequest();
47 47
48 void ReadbackResult(scoped_ptr<CopyOutputResult> result); 48 void ReadbackResult(scoped_ptr<CopyOutputResult> result);
49 49
50 void BeginTest() override; 50 void BeginTest() override;
51 void SetupTree() override; 51 void SetupTree() override;
52 void AfterTest() override; 52 void AfterTest() override;
53 void EndTest() override; 53 void EndTest() override;
54 54
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 scoped_ptr<SkBitmap> result_bitmap_; 109 scoped_ptr<SkBitmap> result_bitmap_;
110 std::vector<scoped_refptr<TextureLayer>> texture_layers_; 110 std::vector<scoped_refptr<TextureLayer>> texture_layers_;
111 int pending_texture_mailbox_callbacks_; 111 int pending_texture_mailbox_callbacks_;
112 bool impl_side_painting_; 112 bool impl_side_painting_;
113 gfx::Vector2d enlarge_texture_amount_; 113 gfx::Vector2d enlarge_texture_amount_;
114 }; 114 };
115 115
116 } // namespace cc 116 } // namespace cc
117 117
118 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_ 118 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_json_parser.cc ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698