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

Unified Diff: cc/test/layer_tree_pixel_test.h

Issue 668123003: cc: Support texture rect targets for masks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_for_texture_rect_changes
Patch Set: Rebase 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_test.h » ('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 3d2940e11bc22b37968684b91ac4db867da591ae..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,11 +64,6 @@ 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);
« no previous file with comments | « cc/test/layer_tree_pixel_resource_test.cc ('k') | cc/test/layer_tree_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698