diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 11:52:34 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 11:52:34 +0000 |
commit | b796c34f3ff3ff161acb7e36665225f6807ad4c1 (patch) | |
tree | 2230e49ef883b46ff50923610c335403b870af4a /cc/resources/raster_worker_pool_unittest.cc | |
parent | e6791fd4692027e86635adf84b918757eebade45 (diff) | |
download | chromium_src-b796c34f3ff3ff161acb7e36665225f6807ad4c1.zip chromium_src-b796c34f3ff3ff161acb7e36665225f6807ad4c1.tar.gz chromium_src-b796c34f3ff3ff161acb7e36665225f6807ad4c1.tar.bz2 |
cc: Reduce command buffer flushes related to creating texture ids.
This significantly reduces command buffer flushes by allocating
texture ids in chunks of 64.
BUG=309455
TEST=cc_unittests --gtest_filter=ResourceProviderTest.TextureAllocationChunk
Review URL: https://codereview.chromium.org/49163004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/raster_worker_pool_unittest.cc')
-rw-r--r-- | cc/resources/raster_worker_pool_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/raster_worker_pool_unittest.cc b/cc/resources/raster_worker_pool_unittest.cc index 2c8973b..f64419e 100644 --- a/cc/resources/raster_worker_pool_unittest.cc +++ b/cc/resources/raster_worker_pool_unittest.cc @@ -67,8 +67,8 @@ class RasterWorkerPoolTest : public testing::Test, output_surface_ = FakeOutputSurface::Create3d(context_provider_).Pass(); CHECK(output_surface_->BindToClient(&output_surface_client_)); - resource_provider_ = - ResourceProvider::Create(output_surface_.get(), NULL, 0, false).Pass(); + resource_provider_ = ResourceProvider::Create( + output_surface_.get(), NULL, 0, false, 1).Pass(); } virtual ~RasterWorkerPoolTest() { resource_provider_.reset(); |