diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-22 00:37:18 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-22 00:37:18 +0000 |
commit | 0e8cac7f9ce4db3ba6c78f077d7db2861cab56a1 (patch) | |
tree | 51bdef07482c072e887811088ea600be48c1c296 /content/browser/gpu/gpu_process_host.cc | |
parent | f9942c2b895b8abcc8aec8a70074732b8be29651 (diff) | |
download | chromium_src-0e8cac7f9ce4db3ba6c78f077d7db2861cab56a1.zip chromium_src-0e8cac7f9ce4db3ba6c78f077d7db2861cab56a1.tar.gz chromium_src-0e8cac7f9ce4db3ba6c78f077d7db2861cab56a1.tar.bz2 |
Blacklist GLX indirect rendering
Several part to this CL:
1- Implement gathering the direct rendering information. It needs a context, so
it is done through the CollectGraphicsInfoGL hook
2- Implement logic to hook the information to the blacklist
3- In some cases, indirect rendering causes creating surfaces/contexts, needed
to collect the info, to fail. So expose the failure mode (fatal vs non-fatal) to
the caller so that we can fully fail GPU things in that case.
BUG=72373,339244
Review URL: https://codereview.chromium.org/194303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r-- | content/browser/gpu/gpu_process_host.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc index 297f751..1b58ae8 100644 --- a/content/browser/gpu/gpu_process_host.cc +++ b/content/browser/gpu/gpu_process_host.cc @@ -770,6 +770,8 @@ void GpuProcessHost::OnInitialized(bool result, const gpu::GPUInfo& gpu_info) { if (!initialized_) GpuDataManagerImpl::GetInstance()->OnGpuProcessInitFailure(); + else if (!in_process_) + GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info); } void GpuProcessHost::OnChannelEstablished( |