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

Unified Diff: cc/test/pixel_test.h

Issue 171363008: cc: Make cc_unittests opt into real GL NullDraw contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nulldraw-cc: reviewed Created 6 years, 10 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_test.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.h
diff --git a/cc/test/pixel_test.h b/cc/test/pixel_test.h
index f902613d20b21586698d5567a95c9356815029ef..07af71418707e98c7dc2cc01043a1431fe39bc2e 100644
--- a/cc/test/pixel_test.h
+++ b/cc/test/pixel_test.h
@@ -9,6 +9,7 @@
#include "cc/test/pixel_comparator.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/size.h"
+#include "ui/gl/gl_implementation.h"
#ifndef CC_TEST_PIXEL_TEST_H_
#define CC_TEST_PIXEL_TEST_H_
@@ -73,6 +74,8 @@ class PixelTest : public testing::Test, RendererClient {
bool PixelsMatchReference(const base::FilePath& ref_file,
const PixelComparator& comparator);
+
+ scoped_ptr<gfx::DisableNullDrawGLBindings> enable_pixel_output_;
};
template<typename RendererType>
« no previous file with comments | « cc/test/layer_tree_pixel_test.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698