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

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

Issue 673873005: CC pixel tests for blending with GL_EXT_blend_minmax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | 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 19 matching lines...) Expand all
30 class TextureMailbox; 30 class TextureMailbox;
31 31
32 class LayerTreePixelTest : public LayerTreeTest { 32 class LayerTreePixelTest : public LayerTreeTest {
33 protected: 33 protected:
34 LayerTreePixelTest(); 34 LayerTreePixelTest();
35 virtual ~LayerTreePixelTest(); 35 virtual ~LayerTreePixelTest();
36 36
37 scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) override; 37 scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) override;
38 void CommitCompleteOnThread(LayerTreeHostImpl* impl) override; 38 void CommitCompleteOnThread(LayerTreeHostImpl* impl) override;
39 39
40 virtual scoped_refptr<ContextProvider> CreteTestContextProvider();
40 virtual scoped_ptr<CopyOutputRequest> CreateCopyOutputRequest(); 41 virtual scoped_ptr<CopyOutputRequest> CreateCopyOutputRequest();
41 42
42 void ReadbackResult(scoped_ptr<CopyOutputResult> result); 43 void ReadbackResult(scoped_ptr<CopyOutputResult> result);
43 44
44 void BeginTest() override; 45 void BeginTest() override;
45 void SetupTree() override; 46 void SetupTree() override;
46 void AfterTest() override; 47 void AfterTest() override;
47 void EndTest() override; 48 void EndTest() override;
48 49
49 void TryEndTest(); 50 void TryEndTest();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 base::FilePath ref_file_; 100 base::FilePath ref_file_;
100 scoped_ptr<SkBitmap> result_bitmap_; 101 scoped_ptr<SkBitmap> result_bitmap_;
101 std::vector<scoped_refptr<TextureLayer>> texture_layers_; 102 std::vector<scoped_refptr<TextureLayer>> texture_layers_;
102 int pending_texture_mailbox_callbacks_; 103 int pending_texture_mailbox_callbacks_;
103 bool impl_side_painting_; 104 bool impl_side_painting_;
104 }; 105 };
105 106
106 } // namespace cc 107 } // namespace cc
107 108
108 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_ 109 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698