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

Unified Diff: cc/test/pixel_test.cc

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use kTopLeft 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
Index: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 7d4c8f8e42ef2b2b2b6e7d0ea404b662bde1d9cb..c3ab2f3a6f6620ab3d862e0e3ca2e18a16a19132 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -113,7 +113,7 @@ bool PixelTest::PixelsMatchReference(const base::FilePath& ref_file,
comparator);
}
-void PixelTest::SetUpGLRenderer() {
+void PixelTest::SetUpGLRenderer(bool use_ganesh) {
CHECK(fake_client_);
CHECK(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL));
@@ -127,7 +127,8 @@ void PixelTest::SetUpGLRenderer() {
renderer_ = GLRenderer::Create(fake_client_.get(),
output_surface_.get(),
resource_provider_.get(),
- 0).PassAs<DirectRenderer>();
+ 0,
+ use_ganesh).PassAs<DirectRenderer>();
scoped_refptr<webkit::gpu::ContextProviderInProcess> offscreen_contexts =
webkit::gpu::ContextProviderInProcess::Create();

Powered by Google App Engine
This is Rietveld 408576698