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

Unified Diff: cc/test/layer_tree_pixel_test.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/layer_tree_pixel_resource_test.cc ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.h
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h
index e6f5cb7a47e7a5d9049423740a351cbe755a3cd5..c3c324af37fd9872fe8df04b843d096d7df20ca6 100644
--- a/cc/test/layer_tree_pixel_test.h
+++ b/cc/test/layer_tree_pixel_test.h
@@ -30,6 +30,12 @@ class TextureLayer;
class TextureMailbox;
class LayerTreePixelTest : public LayerTreeTest {
+ public:
+ enum PixelTestType {
+ PIXEL_TEST_GL,
+ PIXEL_TEST_SOFTWARE,
+ };
+
protected:
LayerTreePixelTest();
virtual ~LayerTreePixelTest();
@@ -58,15 +64,14 @@ class LayerTreePixelTest : public LayerTreeTest {
scoped_refptr<TextureLayer> CreateTextureLayer(const gfx::Rect& rect,
const SkBitmap& bitmap);
- enum PixelTestType {
- PIXEL_TEST_GL,
- PIXEL_TEST_SOFTWARE,
- };
-
void RunPixelTest(PixelTestType type,
scoped_refptr<Layer> content_root,
base::FilePath file_name);
+ void RunSingleThreadedPixelTest(PixelTestType test_type,
+ scoped_refptr<Layer> content_root,
+ base::FilePath file_name);
+
void RunPixelTestWithReadbackTarget(PixelTestType type,
scoped_refptr<Layer> content_root,
Layer* target,
« no previous file with comments | « cc/test/layer_tree_pixel_resource_test.cc ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698