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

Unified Diff: cc/test/pixel_test.cc

Issue 12665005: cc: Use highp precision for texture coords if available and needed (Closed) Base URL: http://git.chromium.org/chromium/src.git@highp2
Patch Set: rebase after all dependencies landed Created 7 years, 9 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/resources/scoped_resource_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index da96c16826bca3b981dfa942082d2303039ef731..abd5a2d17aeb925a82c8fa363a4d745b31992bef 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -62,12 +62,13 @@ void PixelTest::SetUp() {
WebKit::WebGraphicsContext3D::Attributes()));
output_surface_.reset(new OutputSurface(
context3d.PassAs<WebKit::WebGraphicsContext3D>()));
- resource_provider_ = ResourceProvider::Create(output_surface_.get());
+ resource_provider_ = ResourceProvider::Create(output_surface_.get(), 0);
fake_client_ =
make_scoped_ptr(new PixelTestRendererClient(device_viewport_size_));
renderer_ = GLRenderer::Create(fake_client_.get(),
output_surface_.get(),
- resource_provider_.get());
+ resource_provider_.get(),
+ 0);
scoped_refptr<webkit::gpu::ContextProviderInProcess> offscreen_contexts =
webkit::gpu::ContextProviderInProcess::Create();
« no previous file with comments | « cc/resources/scoped_resource_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698