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

Unified Diff: cc/test/layer_tree_pixel_test.h

Issue 15004009: cc: Fix readback from non-root layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/output/software_renderer.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 4700ebdf4d604bc2a6165e072eb05288e8b2a8ef..1e5ddae1b29198160cb47fbf983951a4fa7a3dd1 100644
--- a/cc/test/layer_tree_pixel_test.h
+++ b/cc/test/layer_tree_pixel_test.h
@@ -43,6 +43,10 @@ class LayerTreePixelTest : public LayerTreeTest {
void RunPixelTest(scoped_refptr<Layer> content_root,
base::FilePath file_name);
+ void RunPixelTestWithReadbackTarget(scoped_refptr<Layer> content_root,
+ Layer* target,
+ base::FilePath file_name);
+
// Common CSS colors defined for tests to use.
enum Colors {
kCSSOrange = 0xffffa500,
@@ -54,6 +58,7 @@ class LayerTreePixelTest : public LayerTreeTest {
private:
scoped_refptr<Layer> content_root_;
+ Layer* readback_target_;
base::FilePath ref_file_;
};
« no previous file with comments | « cc/output/software_renderer.cc ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698