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

Unified Diff: cc/test/pixel_test.h

Issue 14060015: cc: Async readback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/pixel_test.h
diff --git a/cc/test/pixel_test.h b/cc/test/pixel_test.h
index e915961097335a1c9d0b97ff86ef6098d45d4f03..9023cbae4038894f919932e28ee2154a730dae2e 100644
--- a/cc/test/pixel_test.h
+++ b/cc/test/pixel_test.h
@@ -22,6 +22,8 @@ class PixelTest : public testing::Test {
virtual void SetUp() OVERRIDE;
+ bool ReadbackResult(scoped_ptr<SkBitmap> bitmap);
+
bool PixelsMatchReference(const base::FilePath& ref_file,
const PixelComparator& comparator);
@@ -31,6 +33,7 @@ class PixelTest : public testing::Test {
class PixelTestRendererClient;
scoped_ptr<PixelTestRendererClient> fake_client_;
scoped_ptr<GLRenderer> renderer_;
+ scoped_ptr<SkBitmap> result_bitmap_;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698