summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test.cc
diff options
context:
space:
mode:
authorjvanverth@google.com <jvanverth@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-07 14:48:49 +0000
committerjvanverth@google.com <jvanverth@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-07 14:48:49 +0000
commitb242b14666a75cc11c3e0512e575ebd29f4c7f47 (patch)
treee94ea8afcef16f173cad88f3dc2b3c8142844db0 /cc/test/pixel_test.cc
parent00681f080a462a62eb38f04faf0b73045e8878f6 (diff)
downloadchromium_src-b242b14666a75cc11c3e0512e575ebd29f4c7f47.zip
chromium_src-b242b14666a75cc11c3e0512e575ebd29f4c7f47.tar.gz
chromium_src-b242b14666a75cc11c3e0512e575ebd29f4c7f47.tar.bz2
Add flag to enable rendering of text using signed distance fields.
This change plumbs through a flag that turns on distance field text in Skia when doing GPU rasterization, as requested by vangelis@chromium.org. BUG=368468 Review URL: https://codereview.chromium.org/266743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r--cc/test/pixel_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index f716eea..ae2e998 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -110,7 +110,7 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend) {
shared_bitmap_manager_.reset(new TestSharedBitmapManager());
resource_provider_ = ResourceProvider::Create(
- output_surface_.get(), shared_bitmap_manager_.get(), 0, false, 1);
+ output_surface_.get(), shared_bitmap_manager_.get(), 0, false, 1, false);
texture_mailbox_deleter_ = make_scoped_ptr(
new TextureMailboxDeleter(base::MessageLoopProxy::current()));
@@ -152,7 +152,7 @@ void PixelTest::SetUpSoftwareRenderer() {
output_surface_->BindToClient(output_surface_client_.get());
shared_bitmap_manager_.reset(new TestSharedBitmapManager());
resource_provider_ = ResourceProvider::Create(
- output_surface_.get(), shared_bitmap_manager_.get(), 0, false, 1);
+ output_surface_.get(), shared_bitmap_manager_.get(), 0, false, 1, false);
renderer_ =
SoftwareRenderer::Create(
this, &settings_, output_surface_.get(), resource_provider_.get())