From 8e6d15826280b9f11a28060b5b2d2bbef17d15bc Mon Sep 17 00:00:00 2001 From: "kaanb@chromium.org" Date: Wed, 18 Sep 2013 09:34:21 +0000 Subject: Adding support for RGBA_4444 tile textures BUG=245774,272539 Review URL: https://chromiumcodereview.appspot.com/21159007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223830 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/pixel_test.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cc/test/pixel_test.cc') diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc index 652edd1..5958c85 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -161,7 +161,8 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend) { ContextProviderInProcess::CreateOffscreen())); output_surface_->BindToClient(fake_client_.get()); - resource_provider_ = ResourceProvider::Create(output_surface_.get(), 0); + resource_provider_ = + ResourceProvider::Create(output_surface_.get(), 0, false); texture_mailbox_deleter_ = make_scoped_ptr(new TextureMailboxDeleter); @@ -203,7 +204,8 @@ void PixelTest::SetUpSoftwareRenderer() { scoped_ptr device(new PixelTestSoftwareOutputDevice()); output_surface_.reset(new PixelTestOutputSurface(device.Pass())); output_surface_->BindToClient(fake_client_.get()); - resource_provider_ = ResourceProvider::Create(output_surface_.get(), 0); + resource_provider_ = + ResourceProvider::Create(output_surface_.get(), 0, false); renderer_ = SoftwareRenderer::Create(fake_client_.get(), &settings_, output_surface_.get(), -- cgit v1.1