summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test.cc
diff options
context:
space:
mode:
authorkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 09:34:21 +0000
committerkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 09:34:21 +0000
commit8e6d15826280b9f11a28060b5b2d2bbef17d15bc (patch)
tree4e9d72e8a47235583089c67bfdc16da572370812 /cc/test/pixel_test.cc
parent2ec5b56e62d38f6a1947868f90f63633c3579b54 (diff)
downloadchromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.zip
chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.gz
chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.bz2
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
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r--cc/test/pixel_test.cc6
1 files changed, 4 insertions, 2 deletions
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<SoftwareOutputDevice> 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(),