Index: cc/test/pixel_test.h |
diff --git a/cc/test/pixel_test.h b/cc/test/pixel_test.h |
index e915961097335a1c9d0b97ff86ef6098d45d4f03..d65214b3b9bfe8893a178ee9ea8dce799562c0ef 100644 |
--- a/cc/test/pixel_test.h |
+++ b/cc/test/pixel_test.h |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/file_util.h" |
+#include "cc/quads/render_pass.h" |
#include "cc/test/pixel_comparator.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/gfx/size.h" |
@@ -22,8 +23,9 @@ class PixelTest : public testing::Test { |
virtual void SetUp() OVERRIDE; |
- bool PixelsMatchReference(const base::FilePath& ref_file, |
- const PixelComparator& comparator); |
+ bool RunPixelTest(RenderPassList* pass_list, |
+ const base::FilePath& ref_file, |
+ const PixelComparator& comparator); |
gfx::Size device_viewport_size_; |
scoped_ptr<OutputSurface> output_surface_; |
@@ -31,6 +33,13 @@ class PixelTest : public testing::Test { |
class PixelTestRendererClient; |
scoped_ptr<PixelTestRendererClient> fake_client_; |
scoped_ptr<GLRenderer> renderer_; |
+ scoped_ptr<SkBitmap> result_bitmap_; |
+ |
+ private: |
+ void ReadbackResult(scoped_ptr<SkBitmap> bitmap); |
+ |
+ bool PixelsMatchReference(const base::FilePath& ref_file, |
+ const PixelComparator& comparator); |
}; |
} // namespace cc |