OLD | NEW |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 static const SkColor kCSSBrown = 0xffa52a2a; | 93 static const SkColor kCSSBrown = 0xffa52a2a; |
94 static const SkColor kCSSGreen = 0xff008000; | 94 static const SkColor kCSSGreen = 0xff008000; |
95 | 95 |
96 gfx::DisableNullDrawGLBindings enable_pixel_output_; | 96 gfx::DisableNullDrawGLBindings enable_pixel_output_; |
97 scoped_ptr<PixelComparator> pixel_comparator_; | 97 scoped_ptr<PixelComparator> pixel_comparator_; |
98 PixelTestType test_type_; | 98 PixelTestType test_type_; |
99 scoped_refptr<Layer> content_root_; | 99 scoped_refptr<Layer> content_root_; |
100 Layer* readback_target_; | 100 Layer* readback_target_; |
101 base::FilePath ref_file_; | 101 base::FilePath ref_file_; |
102 scoped_ptr<SkBitmap> result_bitmap_; | 102 scoped_ptr<SkBitmap> result_bitmap_; |
103 std::vector<scoped_refptr<TextureLayer> > texture_layers_; | 103 std::vector<scoped_refptr<TextureLayer>> texture_layers_; |
104 int pending_texture_mailbox_callbacks_; | 104 int pending_texture_mailbox_callbacks_; |
105 bool impl_side_painting_; | 105 bool impl_side_painting_; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace cc | 108 } // namespace cc |
109 | 109 |
110 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_ | 110 #endif // CC_TEST_LAYER_TREE_PIXEL_TEST_H_ |
OLD | NEW |