diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-14 19:17:41 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-14 19:17:41 +0000 |
commit | c410da80a6f24f4f81d489cf67ca79ef18ad72ae (patch) | |
tree | 6bd0160358540a08ea0a0e742a37dbf82f449754 /chrome | |
parent | 7a6237765bb6be1e1cd8342988eb7a68fa1625a2 (diff) | |
download | chromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.zip chromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.tar.gz chromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.tar.bz2 |
Connect up --disable-gl-multisampling to command buffer
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers.
BUG=75181
TEST=webgl antialias test
Review URL: http://codereview.chromium.org/6686024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gpu_process_host_ui_shim.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/gpu_process_host_ui_shim.cc b/chrome/browser/gpu_process_host_ui_shim.cc index c1f6d0c..b45eca6 100644 --- a/chrome/browser/gpu_process_host_ui_shim.cc +++ b/chrome/browser/gpu_process_host_ui_shim.cc @@ -124,10 +124,13 @@ GpuProcessHostUIShim* GpuProcessHostUIShim::GetForRenderer(int renderer_id) { // If Init succeeds, post a task to create the corresponding GpuProcessHost. // The GpuProcessHost will take ownership of the GpuProcessHostUIShim. - BrowserThread::PostTask(BrowserThread::IO, - FROM_HERE, - NewRunnableFunction(&GpuProcessHost::Create, - ui_shim->host_id_)); + BrowserThread::PostTask( + BrowserThread::IO, + FROM_HERE, + NewRunnableFunction( + &GpuProcessHost::Create, + ui_shim->host_id_, + GpuDataManager::GetInstance()->GetGpuFeatureFlags())); return ui_shim; } |